rmst2.sample.data: Generate a sample data from the pbc data

Description Usage Details See Also Examples


This is a function to retrieve 312 randomized patients from the pbc data in survival package.




The function creates a sample dataset to illustrate the usage of the function rmst2() in this package. The original pbc data in survival package consists of 418 patients data. This function loads the pbc data, select the 312 patients who were randomized. The status variable is edited, so that 1 indicates death and 0 indicates alive.

See Also

pbc in survival package



Search within the survRM2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.