Re: [R] Labelling interaction axes of a nomogram using rms

2016-08-26 Thread David Winsemius
> On Aug 26, 2016, at 11:53 AM, Leonardo Guizzetti > wrote: > > Good afternoon, > > I have tried searching and have hit a wall with my own trial and error. I > have been able to use "nice" labels for non-interacted variables by setting > them using Newlabels(), but I am unable to do so for the

Re: [R] Exponential population model

2016-08-26 Thread David Winsemius
> On Aug 26, 2016, at 5:49 AM, Msindai, Nadejda wrote: > > Dear admin > > I am writing to ask for help with writing an R script to model the current > population size using life history data (I do not know the intrinsic rate of > increase (r)). > > My study population are a group of introduc

[R] Labelling interaction axes of a nomogram using rms

2016-08-26 Thread Leonardo Guizzetti
Good afternoon, I have tried searching and have hit a wall with my own trial and error. I have been able to use "nice" labels for non-interacted variables by setting them using Newlabels(), but I am unable to do so for the interaction terms following a fit. Can you please offer a suggestion? Kin

Re: [R] Importint stata file and using value labels

2016-08-26 Thread Juan Ceccarelli Arias
Yep. Im a bit stalled. I can't find the option to import only the values and drop the value labels from the dta file. Im quite sure R can do that. Then i'd only used the values and i'd rely on my memory. It isn't a bad alternative. On Fri, Aug 26, 2016 at 4:11 AM, PIKAL Petr wrote: > Hi > > You

[R] Exponential population model

2016-08-26 Thread Msindai, Nadejda
Dear admin I am writing to ask for help with writing an R script to model the current population size using life history data (I do not know the intrinsic rate of increase (r)). My study population are a group of introduced chimpanzees, that were released by the Frankfurt Zoological Society in

[R] Improving function that estimates regressions for all variables specified

2016-08-26 Thread Jorge Cimentada
Hi, I'd like some feedback on how to make this function more "quicker and parsimonious". I normally run several regressions like this: y ~ x1 y ~ x1 + x2 y ~ x1 + x2 +xn Instead, I created a function in which I specify y, x1 and x2 and the function automatically generates: y ~ x1 y ~ x1 + x2 y ~

Re: [R] Hickman models with two binary dependent variables in R

2016-08-26 Thread PIKAL Petr
Hi See in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Faradj > Koliev > Sent: Thursday, August 25, 2016 12:32 PM > To: r-help@r-project.org > Subject: [R] Hickman models with two binary dependent variables in R > > Hi everyone, > > How do I

Re: [R] nlme: fewer observations than random effects in all level 1 groups

2016-08-26 Thread Thierry Onkelinx
Dear John, Please send questions on mixed models to r-sig-mixedmodels. Your model is too complex for the data. You're fitted time*CorT as random slopes. These random effects require 10 parameters. But you have only 4 data points per level of SS. Furthermore within each level of SS only one level

Re: [R] Scale and shape parameters of Gamma mixture distributions

2016-08-26 Thread Rolf Turner
On 25/08/16 23:28, Marine Regis wrote: Hello, I used the function "mix" (package "mixdist'') to fit Gamma mixture distributions. The function gives mu and sigma parameters (output below). How can I find the scale and shape parameters of the Gamma distributions ? Parameters: pimu s

Re: [R] Importint stata file and using value labels

2016-08-26 Thread PIKAL Petr
Hi You can use as.numeric(sex) to get numeric values for factor variable. This is sometimes handy for plotting. However if you throw away labels how do you know what naumber belongs to which factor level? Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-projec