print.cphGM | R Documentation |
S3 print method for class 'cphGM'
## S3 method for class 'cphGM'
print(x, ...)
x |
object |
... |
others |
prints table containing various parameter estimates, SE, P-value.
##
n1<-1000
p1<-2
X1<-matrix(rnorm(n1*p1),n1,p1)
simulated_data<-simfdata(n=1000,beta=c(0.5,0.5),fvar=0.5,X=X1)
model1<-cphGM(formula=Surv(time,status)~X1+X2,
fterm=c('gamma','id'),Time="time",status="status",
id="id",data=simulated_data,bhdist='weibull')
print(model1)
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.