[R] using asList with lme4 object

2014-05-21 Thread John.Morrongiello
Hi list This doesn't particularly concern the interpretation of a mixed model, so I thought it best to post here. I assume it has something to do with using the asList call for an S4 object or some form of grouping done by lme, but I might be way off. I'd like to extract the residuals of a lmer

Re: [R] fitting weibull curve to data using nls

2012-11-01 Thread John.Morrongiello
Thanks very much for identifying this error Michael- of course I don't want to exponentiate an exponential! I had copied the provided formula a little too literally and hadn't done my QA/QCs John -Original Message- From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] Sent: Thu

[R] fitting weibull curve to data using nls

2012-10-31 Thread John.Morrongiello
Hi I'd like to fit an asymmetrical curve function to some physiological data. I've been told a weibull curve is a good place to start, but I'm having trouble specifying and fitting the function with nls and was wondering if someone could help. After some reading, I think the function specificat

[R] sampling matrix 1 conditional on values in matrix 2

2012-03-26 Thread John.Morrongiello
Hi I am trying to estimate bottom temperatures over a particular depth range, based on one dataset containing synthetic temperature profiles (for set depths) and another that contains information on bathymetry. I need to do this for multiple regions and thus would ideally like an automated solut

Re: [R] new standardised variable based on group membership

2011-10-03 Thread John.Morrongiello
I like that one too Baptiste, thanks -Original Message- From: baptiste auguie [mailto:baptiste.aug...@googlemail.com] Sent: Tuesday, 4 October 2011 9:56 AM To: Morrongiello, John (CMAR, Hobart) Cc: thierry.onkel...@inbo.be; r-help@r-project.org Subject: Re: [R] new standardised variable b

Re: [R] new standardised variable based on group membership

2011-10-03 Thread John.Morrongiello
That works a treat Thierry, thanks! I wasn't aware of the plyr package but I like what it does- I'll put it to use work in the future. Regards John -Original Message- From: ONKELINX, Thierry [mailto:thierry.onkel...@inbo.be] Sent: Monday, 3 October 2011 6:36 PM To: Morrongiello, John

[R] new standardised variable based on group membership

2011-10-03 Thread John.Morrongiello
Hi I have a data comprised of repeated measures of growth (5-15 records per individual) for 580 fish (similar to Orange dataset from nlme library). I would like to standardise these growth measures (yi – ŷ/sd) using mean and standard deviation unique to each fish. Can someone suggest a functi