cStep1 | R Documentation |
Derives the first set of observation numbers for forsearch in Cox Proportional Hazards models
cStep1(df1, df1.ls, inner.rank, initial.sample, f.e, cphties, ycol, b.d)
df1 |
Data frame being analyzed by forward search. |
df1.ls |
List, each element of which is a factor subset of df1 |
inner.rank |
Rank of X matrix of lm analysis on entire database |
initial.sample |
Number of random samples from which to take set of initial observations |
f.e |
Right-hand side of formula for Surv function |
cphties |
Character value of method of handling ties |
ycol |
Response column number |
b.d |
Index of point to begin diagnostic listings |
Support function, usually not called independently
Produces set of observation numbers for Step 1. Accounts for presence of factors in the dataset
William R. Fairweather
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.