Displaying 2 results from an estimated 2 matches for "visn2".
2010 Mar 25
3
Returning Data Frame from Function for use Outside Function
...fferent
## reference levels
vcohort$GENDER <- Relevel(factor(vcohort$SEX), list("M", "F"), first=TRUE)
vcohort$AGE <- Relevel(factor(vcohort$AGE_CAT), list("4", "2", "3", "1"),
first=TRUE)
vcohort$VISN <- Relevel(factor(vcohort$VISN2), list("8", "1", "2", "3",
"4", "5", "6",
"7", "9", "10",
"11", "12", "13",...
2010 Mar 25
0
Counting a number of "elements" in an object
...b*rural + hispanic*rural + other*rural +
nhb*hrural + hispanic*hrural + other*hrural +
nhb*factor(age) + hispanic*factor(age) +
other*factor(age) +
rural*factor(age) + hrural*factor(age) +
(1|id) + (1|visn2)
that I pass to a function I wrote for bootstrapping (there are data-based
reasons I can't use existent bootstrapping functions). I create an empty
matrix and put the resulting coefficients for each model into the matrix and
thus need a matrix of size "repetitions" by "number of...