Skip to content
Prev 68174 / 398502 Next

window closed

scan() read 384132 items from the file.  Is that the correct number that
should be read in?  If so, you have a problem:  You've got 13245.93 rows of
data in 29 columns...
At this point "gam" is suppose to be a _matrix_, and I don't think you want
to subset a matrix like that.  Do you really mean to use "gam" as a data
frame?  If so, either read it in as a data frame, or convert to one
afterward.
There's no survfit() in base R.  If you are using a contributed package,
please state it.
Please do.

Andy