PO.sim | R Documentation |
generate data for the example
PO.sim( n, beta, Z.gen = function(n, p) matrix(rnorm(n * p), n, p), inv.m = exp, C.gen = function(n) runif(n, 0, 5) )
n |
Sample size |
beta |
True parameter, p-dimensional vector |
Z.gen |
Function to generate n by p covariate matrix |
inv.m |
Inverse of baseline hazard function |
C.gen |
Function to generate n-dimensional censoring time |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.