trim_rows_after_tmax: Removing not needed rows from observed data (and weights...

Description Usage Arguments

View source: R/DataStorageClass.R

Description

Removing not needed rows from observed data (and weights data). Clean up the DataStorage object by removing all extra rows after certain time-point specified by tmax. This will also have the effect of removing all the extra weights. Can be useful when running TMLE with very large data, trimming the extra rows will free up some RAM.

Usage

1
trim_rows_after_tmax(OData, tmax = OData$max.t)

Arguments

OData

Data storage object containing the observed data.

tmax

Time-point value (max tvals in TMLE) after which all rows are removed.


osofr/stremr documentation built on Jan. 25, 2022, 8:07 a.m.