Re: [R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-27 Thread ONKELINX, Thierry
Dear Craig, It is better to ask questions about lme4 at r-sig-mixed-models (in cc). Are you using a recent version of lme4? Try upgrading lme4 and see if you still get the error. Best regards, Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature

[R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-27 Thread Craig O'Connell
I am using a mixed model to assess the effects of various variables (i.e. treatment, density, visibility) on bee behavior (e.g., avoidance frequency - total avoidances per total visits; feeding frequency, and mating frequency). Bee individuals is my random factor (n=63 different bees), whereas

Re: [R] lattice plot formatting: pch, abbreviation and labels

2014-04-27 Thread Duncan Mackay
Hi Luigi Here are 2 ways of doing it. The first is a "cheats" way ie easy. The second is a substitute for the proper way who's code eludes me at the moment. I changed the lty on the ablines as it appears confusing and as you are bolding it seems more appropriate. A better way may be to change

Re: [R] time when packages installed

2014-04-27 Thread amarjit chandhial
Many thanks Guys! Amarjit From: Prof Brian Ripley To: amarjit chandhial ; "r-help@r-project.org" Sent: Sunday, 27 April 2014, 11:29 Subject: Re: [R] time when packages installed On 27/04/2014 10:50, Duncan Murdoch wrote: > On 27/04/2014, 4:14 AM,

Re: [R] Problem with new(er) R version's matrix package

2014-04-27 Thread Werner W.
Dear Martin, Arne, David, Thanks for considering my problem. However, I have a bit of a problem in making a small reproducible example. So far, I tried to drill down into the code and to quick fix this by setting the particular tolerance to zero which switches off the check in ".solve.sparse.dg

[R] help me

2014-04-27 Thread kafi dano
please help me and correct why this program give me error  bcos I want to apply the condition follow the attached below  # program (R) used estimate beta of robust ridge (weighted stacklose)   rm(list=ls())   library(MASS)   library(mvoutlier)   library(robustbase)   library(car)   library(quan

Re: [R] average and median values for each of the class

2014-04-27 Thread Berend Hasselman
On 27-04-2014, at 11:01, Berend Hasselman wrote: > > On 27-04-2014, at 02:37, Nico Met wrote: > >> Dear all, >> >> I have a matrix (dimension, 16 x 12) where 2nd column represents class >> (1,1,1,1,1,2,2,2, etc) information. I want to estimate average and median >> values for each of the c

Re: [R] average and median values for each of the class

2014-04-27 Thread arun
Hi, You could also try: library(plyr) fun1 <- function(data, .group) {     f1 <- function(x) c(x, mean(x, na.rm = TRUE), median(x, na.rm = TRUE))     res <- ddply(data, .group, sapply, FUN = f1)     vec1 <- as.vector(table(res[, .group]))     indx <- sort(c(cumsum(vec1) - 1, cumsum(vec1)))     Un

Re: [R] time when packages installed

2014-04-27 Thread Prof Brian Ripley
On 27/04/2014 10:50, Duncan Murdoch wrote: On 27/04/2014, 4:14 AM, amarjit chandhial wrote: Is there a way in R to list the packages I installed by date ? Or to list the packages I installed in the last n days ? R doesn't record that itself, but your OS probably does. It must do. So see

Re: [R] time when packages installed

2014-04-27 Thread Duncan Murdoch
On 27/04/2014, 4:14 AM, amarjit chandhial wrote: Is there a way in R to list the packages I installed by date ? Or to list the packages I installed in the last n days ? R doesn't record that itself, but your OS probably does. Duncan Murdoch __ R

Re: [R] average and median values for each of the class

2014-04-27 Thread Berend Hasselman
On 27-04-2014, at 02:37, Nico Met wrote: > Dear all, > > > > I have a matrix (dimension, 16 x 12) where 2nd column represents class > (1,1,1,1,1,2,2,2, etc) information. I want to estimate average and median > values for each of the class and add this information as a row at end of > the ea

[R] time when packages installed

2014-04-27 Thread amarjit chandhial
Is there a way in R to list the packages I installed by date ?  Or to list the packages I installed in the last n days ? Amarjit [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo