tidy.lmtp: Tidy a(n) lmtp object

View source: R/tidy.R

tidy.lmtpR Documentation

Tidy a(n) lmtp object

Description

Tidy a(n) lmtp object

Usage

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

Arguments

x

A lmtp object produced by a call to lmtp_tmle(), lmtp_sdr(), lmtp_sub(), or lmtp_ipw().

...

Unused, included for generic consistency only.

Examples


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)



nt-williams/lmtp documentation built on July 4, 2024, 4:01 a.m.