Description Usage Arguments See Also
Fit PAM to train data and calculate PEC on test data
1 2 3 |
data |
The data in standard time-to-event data format which can be tansformed
in PED (see |
idx_train |
Index of rows that indicate training set. |
idx_test |
Index of rows that indicate test set. |
formula_ped |
The formula used to transform data to PED (see
|
formula_pam |
The formula used to fit the PAM (see |
formula_ipcw |
The formula used to calculate inverse probability censoring
weights (IPCW). See |
times |
The time points at which prediction error will be evaluated |
cut |
the vector of timepoints to cut at |
n |
If |
... |
further arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.