[R] A stopifnot() nastiness, even if not a bug

2020-04-12 Thread Bert Gunter
Don't know if this has come up before, but ... > x <- c(0,0) > length(x) [1] 2 ## but > stopifnot(length(x)) Error: length(x) is not TRUE Called from: top level ## but > stopifnot(length(x) > 0) ## not an error; nor is > stopifnot(as.logical(length(x))) ## Ouch! Maybe the man page should say so

[R] About bootstrap validation method

2020-04-12 Thread Neha gupta
If we have to perform 100 iterations of the out-of-sample bootstrap, do we need to just enter the number 100 as: trainControl (method="boot", number = 100) Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

Re: [R] Learning Shinny

2020-04-12 Thread Jeff Newmiller
Your best bet is to become proficient in R. The dplyr contributed package is _not_ a requirement, though you may also find it useful. Shiny is a way to run R interactively, so if you have nothing you know how to _do_ with R then Shiny won't be very useful. But you should also read the Posting G

Re: [R] Learning Shinny

2020-04-12 Thread Juan Telleria Ruiz de Aguirre
You could use the following rmarkdown book, with last chapter debited to shiny :) https://bookdown.org/yihui/rmarkdown/ El jueves, 9 de abril de 2020, Kumar t escribió: > Hello all , > > Very sorry to ask you question that might have been answered earlier . I > could not able to find right answ