Learn R Programming

MC2toPath (version 0.0.16)

SaveVegFracs: Save the yearly series of veg type fractions

Description

Save the yearly series of veg type fractions in a text file.

Usage

SaveVegFracs(vegChanges, outFile)

Arguments

vegChanges
A five-item list returned by VegTypeChanges()
outFile
the file name and path of the output file

Value

Examples

Run this code
## The function is currently defined as
function (vegChanges, outFile) 
{
    startYear = vegChanges[[2]][1]
    SaveMatrix(startYear, vegChanges[[4]], outFile)
    return(TRUE)
  }

Run the code above in your browser using DataLab