summary.tsriadditive {tsriadditive} | R Documentation |
summary method for class "tsriadditive".
## S3 method for class 'tsriadditive'
summary(object, ...)
## S3 method for class 'summary.tsriadditive'
print(x, ...)
object |
an object of class "tsriadditive", usually, a result of a call to tsriadditive. |
... |
further arguments passed to or from other methods. |
x |
an object of class "summary.tsriadditive", usually, a result of a call to summary.tsriadditive. |
print.summary.lm tries to be smart about formatting coefficients, an estimated variance covariance matrix of the coeffieients, Z-values and the corresponding P-values
survtime <- rexp(100)
cause <- rbinom(100, 1, 0.7)
treatment <- rbinom(100, 1, 0.5)
IV <- rnorm(100)
covariates <- rnorm(100)
fit <- tsriadditive(survtime, cause, treatment, IV, covariates)
summary(fit)