Displaying 3 results from an estimated 3 matches for "pharmacoepidemiological".
2011 Jan 22
2
pharmacoepidemiology
Hi to all R community
Does anybody know good R packages/books dedicated to efficient usage of
R in pharmacoepidemiological research?
Thank you in advance
--
Denis Kazakiewicz <d.kazakiewicz at gmail.com>
2011 Apr 21
1
passing a vector of variable names to the ... pairlist function argument
Hi,
I have a character vector that contains the names of several objects
that I would like to pass to a function (specifically, the ridge
function in the survival package, but cbind is a similar example).
I've been struggling with how to do this so that the object values get
interpreted by the function, rather than the object names.
For example,
x1 <- 1:4
x2 <- 2:5
x3 <-
2011 Apr 27
0
treatment of factors and errors in ridge() function with coxph
I am trying to fit a large Cox model with many predictors. Because
there are many predictors, I would like to use the ridge() function to
get penalized ml estimates for all coefficients. The problems are that:
1. When I include a factor (like race) in the ridge() function, dummy
variables are not created. The resulting model has a single
coefficient for the race variable, and I have