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

Description Usage Arguments Author(s)

View source: R/Data2csv.R

Description

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

Usage

1
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


DLMtool documentation built on March 13, 2020, 2:52 a.m.