On Wed, Jul 10, 2019, at 04:39, Eric Berger wrote:
> 1. The ifelse() command is a bit tricky in R. Avoiding it is often a good
> policy.
You piqued my curiosity, can you elaborate a bit more on this?
--
José María (Chema) Mateos || https://rinzewind.org
_
On Sun, Aug 19, 2018 at 05:20:29PM -0400, phili...@cpanel1.stormweb.net wrote:
> Why the heck am I getting three NAs instead of three Dates?I have
> studied the R documentation for as.Date() and it has not turned on
> the light bulb for me.
I haven't encountered this problem before, but in my mind
On Sun, Mar 11, 2018 at 09:12:56AM -0500, KENNETH ROY CABRERA TORRES wrote:
> Hi dear R users:
>
> I'm trying the following code to download an information from the web.
>
> url1 <-
> "http://obieebr.banrep.gov.co/analytics/saw.dll?Go&Path=%2fshared%2fSeries%20Estad%C3%ADsticas_T%2f1.%20Tasa%2
On Sat, Mar 10, 2018 at 09:30:42PM +, Ding, Yuan Chun wrote:
> chr10 <- sqldf("select * from manifest where CHR==10")
>
> UCN3cpg <- sqldf("select * from chr10 where MAPINFO between 5405573 and
> 5407594),
> overwrite = TRUE")
> Error: Table chr10 exists in database, and both overwrite and a
ome different categories and it doesn't know
what to do with them.
As that variable is most probably numeric, it should be read as such.
You can try converting it on both your train and test datasets.
Cheers,
JMM.
-- José María Mateos
https://rinzewind.org/blog-es || https://ri
On Fri, Jan 19, 2018 at 10:47:56AM -0800, Mark Dwyer via R-help wrote:
> 4. I cannot get anything useful from
> http://dir.gmane.org/gmane.comp.lang.r.general.
If I understood correctly a recent discussion on another mailing list,
gmane.org web interface is broken, but will work if you use
On Sat, Oct 28, 2017 at 08:11:51PM +, CHIRIBOGA Xavier wrote:
treatment<-relevel(treatment,ref="Db")
Never used relevel myself, but shouldn't this line be instead this one?
T1$treatment <- relevel(T1$treatment, ref = "Db")
Cheers,
JMM.
__
R-he
On Sat, Oct 28, 2017 at 03:25:18PM +, CHIRIBOGA Xavier wrote:
Dear Forum,
Which functions and packages should be installed to make work the function
"relevel"?
treatment<-revel(treatment,ref="Db")
Error: no se pudo encontrar la funci?n "revel"
You have a typo there, it should be "rele
2013/7/30 Dimitri Liakhovitski :
> How can I grab only those rows that don't contain any -1s (no matter in
> what columns? Without writing a loop.
> In other words, I want my output to contain only rows 3 and 5 of x.
index <- apply(x, 1, function (x) { !(c(-1) %in% x)})
x[index, ]
a b c d e
3 2
9 matches
Mail list logo