Learn R Programming

lmtp (version 1.5.0)

tidy.lmtp: Tidy a(n) lmtp object

Description

Tidy a(n) lmtp object

Usage

# S3 method for lmtp
tidy(x, ...)

Arguments

x

A lmtp object produced by a call to lmtp_tmle(), lmtp_sdr(), lmtp_survival().

...

Unused, included for generic consistency only.

Examples

Run this code
# \donttest{
a <- c("A1", "A2")
nodes <- list(c("L1"), c("L2"))
cens <- c("C1", "C2")
y <- "Y"
fit <- lmtp_tmle(sim_cens, a, y, time_vary = nodes, cens = cens, shift = NULL, folds = 2)
tidy(fit)
# }

Run the code above in your browser using DataLab