save_to_datatable function

Save expanded data as a data.table

Save expanded data as a data.table

Description

save_to_datatable()

Examples

trial_to_expand <- trial_sequence("ITT") |> set_data(data = data_censored) |> set_expansion_options(output = save_to_datatable(), chunk_size = 500)

See Also

Other save_to: save_to_csv(), save_to_duckdb(), set_expansion_options()