Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.data.table.ate

Turn ate Object Into a data.table


Description

Turn ate object into a data.table.

Usage

## S3 method for class 'ate'
as.data.table(
  x,
  estimator = x$estimator,
  type = c("meanRisk", "diffRisk", "ratioRisk"),
  keep.rownames = FALSE,
  ...
)

Arguments

x

object obtained with function ate

estimator

[character] The type of estimator relative to which the estimates should be output.

type

[character vector] The type of risk to export. Can be "meanRisk" to export the risks specific to each treatment group, "diffRisk" to export the difference in risks between treatment groups, or "ratioRisk" to export the ratio of risks between treatment groups.

keep.rownames

Not used.

...

Not used.


riskRegression

Risk Regression Models and Prediction Scores for Survival Analysis with Competing Risks

v2020.12.08
GPL (>= 2)
Authors
Thomas Alexander Gerds [aut, cre], Paul Blanche [ctb], Rikke Mortensen [ctb], Marvin Wright [ctb], Nikolaj Tollenaar [ctb], John Muschelli [ctb], Ulla Brasch Mogensen [ctb], Brice Ozenne [aut] (<https://orcid.org/0000-0001-9694-2956>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.