Data2csv: Converts a Data object into a .csv data file

View source: R/Data2csv.R

Data2csvR Documentation

Converts a Data object into a .csv data file

Description

A function that writes a correctly formatted .csv file from a MSEtool Data object

Usage

Data2csv(Data, file = NULL, simno = 1, overwrite = F, keepNAs = T)

Arguments

Data

An object of class 'Data'.

file

Character string. The name of the location and file you wish to create (e.g. "C:/temp/mydata.csv")

simno

Integer. An optional argument to specify the simulation number if writing simulated data

overwrite

Boolean. Should existing data files be automatically overwritten.

keepNAs

Boolean. Should slots with NAs still be written to the data file.

Author(s)

T. Carruthers


MSEtool documentation built on July 26, 2023, 5:21 p.m.