Hi,

I am analyzing a set of variables in order to create a survival model for a
set of patients. I have checked the reference manual for glm path and
coxpath in order to achieve it. However I have a doubt about the class of
the covariates I can use with the last mentioned package.

In the example, the package loads a list called "lung.data". This object has
a matrix with the covariate information "x" and two vectors about the
censoring and the time to the event. The information in the x matrix seems
to be numeric, but some of the covariates could be categorical (1st and 2nd
columns) because they only have 2 or 4 different values. If we check their
"class" they are numeric.

Thus, the question is: can I use categorical and continuous covariates in
this matrix (x)?

Thanks a lot,
Antoni.

	[[alternative HTML version deleted]]

