Hello list,
I was trying to investigate the possible use of a mixed effect multinomial
logit model in R. Does anyone have suggestions on where to find information
on these models and the associated functions in R.
Thanks in advance,
jm
--
James A. Martin
850-445-9773
[[alternative HT
Hello List,
I am modeling a binomial response (nest survival) and I want to incorporate
a random effect, in this case site. I had previously been using glm with a
custom link function, but my understanding is that lmer does not currently
allow a custom link. Therefore, I was investigating if oth
ddply(df, c("date", "id"), function(df) df[sample(nrow(df), 1), ])
Thanks to Hadley and Sunil. The above code solves my problem.
jm
On Mon, Jun 29, 2009 at 9:11 AM, James Martin wrote:
> All,
>
> I have data that looks like below. For each id there may be more than
Hadley, Sunil, and list,
This is not quite doing what I wanted it to do (as far as I can tell). I
perhaps did not explain it thoroughly. It seems to be sampling one value
for each day leaving ~200 observations. I need for it randomly chose one hab
value for each bird if there is more than one val
All,
I have data that looks like below. For each id there may be more than one
value per day. I want to select a random value for that day for that id.
The end result would hopefully be a matrix with the id as rows, date as
columns and populated by the random hab value. Thanks to someone on her
All,
I have three columns of data: id, date, hab. I am trying to set up a matrix
that has the id as the rows, date as columns, and the hab value as the data
values. Each id/date combination can only have one hab value. I would like
for it to look something like this"
date 1, date 2, dat
6 matches
Mail list logo