Re: [R] NA rows appeared in data.frame

2019-01-15 Thread PIKAL Petr
Hi You put NA to some variable in 150 rows. So you do not have "mysterious" NA rows in your file. If you want to select anything based on column with NA values you have to perform your selection using which (as Rui suggested). It is documented in help page, although it is probably rather less

[R-es] optimizacion costos

2019-01-15 Thread Javier Marcuzzi
Estimados. Hace un tiempo que tengo una duda, estaba pensando en los problemas como optimización de costos, donde hay varias alternativas y librerías, pasando por soluciones inspiradas en energía, genética o algo matemático como matrices y álgebra. Luego aparecen tensorflow, cntk, y otros

Re: [R] Error with install.packages using R v 3.5.1 and 3.5.2

2019-01-15 Thread Jeff Newmiller
Please ask questions about Bioconductor on the Bioconductor forum [1]. Chances are that you need to re-install Bioconductor because packages are installed in two-digit version-specific libraries... e.g. R 3.4 and R 3.5 do not share packages. [1] https://support.bioconductor.org On January 15,

[R] Rserve - Request assistance with installation, confirmation thereof and starting (R 3.5.1 on 64-bit Win7 Pro)

2019-01-15 Thread Rick Van Camp
Hello, I am attempting to install two R packages with specific version numbers. These are Rserve_1.8-0.zip and MASS_7.3-45.zip. As the file extension suggests, I am installing packages from local zipfiles in the GUI Packages menu. R Console displays positive feedback when MASS is loaded in this

[R] Error with install.packages using R v 3.5.1 and 3.5.2

2019-01-15 Thread Emily Wan
Hi - I am working with R on a Window Server 2012 R2 - I had originally installed R (v3.5.1) in September/October 2018 and have used multiple packages without incident. However, last week, when attempting to install additional packages (using install.packages() or Bioconductor's

Re: [R] Banner using R

2019-01-15 Thread David L Carlson
You need to read the data without converting to factors: > Data <- data.frame(v1 = c('A', 'B' ,'B' ,'A', 'B'), v2 =c('A', 'B', 'A', 'A', > 'B'), + v3 = c('A', 'A', 'A', 'A', 'A'), stringsAsFactors=FALSE) Then you need to stack it: > Data.stack <- stack(Data) > str(Data.stack)

[R] Nested mixed effectts question

2019-01-15 Thread Caroline
Hi, I am helping a friend with an analysis for a study where she sampled wrack biomass in 15 different sites across three years. At each site, she sampled from three different transects. She is trying to estimate the effect of year*site on biomass while accounting for the nested nature

Re: [R] [R-sig-ME] Calculating F values for lme function

2019-01-15 Thread peter dalgaard
Or at least don't do it with lme() because it basically gets them wrong (I believe even its author agrees). The situation is rather better with lme4 and the pbkrtest package, although one should always be wary of low denominator DF cases because, even at the best of times, results rely heavily

[R] Banner using R

2019-01-15 Thread Luca Meyer
Hi, I am a bit rusty with R programming and I would appreciate some assistance with the following. I have a dataset like: Data <- data.frame(v1 = c('A', 'B' ,'B' ,'A', 'B'), v2 =c('A', 'B', 'A', 'A', 'B'), v3 = c('A', 'A', 'A', 'A', 'A’)) How can I get a banner of the sort? Count v1

Re: [R] [R-sig-ME] Calculating F values for lme function

2019-01-15 Thread Bert Gunter
Ricardo: You may do better posting on the r-sig-mixed-models list, which is specifically devoted to such topics. FWIW, re calculating F-values for mixed effects models, I think many say: don't. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking

Re: [R] [R-sig-ME] Calculating F values for lme function

2019-01-15 Thread Jeff Newmiller
You should use Reply-All to make sure the discussion continues to include the mailing list. Have you looked at the help for lme? lme is non-trivial, so it may take some reading. I only have a few of the references listed in the help file, and none with me at the moment. On January 15, 2019

Re: [R] CRAN package NlcOptim query

2019-01-15 Thread Hans W Borchers
To be corrected: `Constr_new` with a capital letter; `aeq2` is a list, should be a matrix. As I said last month, you can yourself combine inequality constraints with bounds constraints as follows: myA <- rbind(-Constr_new, diag(-1,numel), diag(1,numel)) myB <- c(-x_than0, rep(0,numel),

Re: [R] do.call, browser and traceback

2019-01-15 Thread Sigbert Klinke
Hi, I run in the same problem, as discussed in 2006. Is there any solution by now? Sigbert Am 23.02.06 um 20:39 schrieb hadley wickham: Did you mean that? Both are errors. Perhaps f <- function(...) browser() do.call(f, mtcars) Sorry, yes, that is what I meant. What is being used is