write_csv {rBiasCorrection}R Documentation

write_csv helper function

Description

Internal function to store the created tables in csv files.

Usage

write_csv(table, filename)

Arguments

table

A data.table object to store on the local file system

filename

The file name (including the path) to store table.

Value

This function silently writes a 'data.table' object to a CSV file.

See Also

fwrite

Examples

table <- data.table::data.table(
  a = stats::runif(1000),
  b = stats::runif(1000)
)

write_csv(table, paste0(tempdir(), "/example.csv"))


[Package rBiasCorrection version 0.3.4 Index]