saveRData: Save a Binary RData file

Description Usage Arguments Value Examples

View source: R/write_fxns.R

Description

Saves a binary RData file with all the input parameters and the data for this run. Each MCMC chain saves its own RData file and the file name includes the MCMC chain number as the last digit before the .RData extension of the file name.

Usage

1
2
saveRData(mydata = NULL, all_years_epi = NULL, run.input = NULL,
  ireal = 1)

Arguments

mydata

- dataframe with all the data for this DICE run

all_years_epi

- a dataframe with the entire incidence and climate history

run.input

a list of all other input needed for the run

ireal

Integer indicating the MCMC chain number

Value

err err =0 if successful.

Examples

1
saveRData(mydata = mydata, run.input= run.input,ireal = 1)

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.