Displaying 2 results from an estimated 2 matches for "squamous".
Did you mean:
squalus
2009 Mar 25
2
Competing risks Kalbfleisch & Prentice method
Dear R users
I would like to calculate the Cumulative incidence for an event
adjusting for competing risks and adjusting for covariates. One way to
do this in R is to use the cmprsk package, function crr. This uses the
Fine & Gray regression model. However, a simpler and more classical
approach would be to implement the Kalbfleisch & Prentice method (1980,
p 169), where one fits cause
2011 Feb 17
1
calling pairs of variables into a function
Hi,
I have imported three text files into R using read.table. Their variables
are called d, e and f.
I want to run a function on all the possible combinations of these three
files. The only way I know how to do that is like this:
bigfunction(d,e)
bigfunction(d,f)
bigfunction(e,d)
bigfunction(e,f)
bigfunction(f,e)
bigfunction(f,d)
Is there an easier way? I will have five files later on, so