Displaying 1 result from an estimated 1 matches for "rc_a_vpue".
Did you mean:
ns_a_vpue
2011 Oct 24
1
using lme and 'by' function to extract the co-efficients by individuals
...om variable being 'ns_a_vpue'.
The problem I am having is that the co-efficients for all my individuals are
returning as the same! So I'm not getting the individuals co-efficients, I'm
not even sure what it is returning. Here is a sample of my code:
mod_1 <- lme(pots_hauled ~ rc_a_vpue ,(random = ~1 | a_vpue), data = data1)
by(data1, id, summary)
by(data1, list(pots_hauled=pots_hauled,id=id ), summary)
by(data1, id, function(x) lme(pots_hauled ~ a_vpue ,(random = ~1 |
ns_a_vpue), data = data1)))
lmid <- by(data1, id, function(x) lme(pots_hauled ~ a_vpue ,(random = ~1 |...