Displaying 2 results from an estimated 2 matches for "lidnames".
Did you mean:
libnames
2004 Aug 19
7
A question about external time-dependent covariates in co x model
Dear Rui,
>From my understanding of time-dependent covariates (not an expert but have
been working on a similar problem), it would appear that the coding of the
status column is not correct. Unless you have observed an event at each
interval you should only have status=1 for the last interval. In your
example I see 3 in total. Also, I think that if "end" is proportional to
your
2004 Aug 19
0
How to convert a vector into a list
1. When you don't know (or are not sure) what an object is, str() is your
friend.
2. My guess is that `lidnames' is a character vector with names.
3. If genes.txt has only only column, you might as well use:
mygenes <- scan("genes.txt", what="")
which reads the data into mygenes as a character vector. Then your
command should work.
[read.table() returns a data frame....