write.leafopt: write.leafopt

Description Usage Arguments Details Author(s) Examples

Description

write.leafopt writes the leafopt object as text files

Usage

1
write.leafopt(leafopt, path, digits = 5)

Arguments

leafopt

List. Spectral object generated with fluspect

path

String. Output path. If the directory does not exist, a new one will be created.

digits

Integer. (Optional) Number of digits (by default 5)

Details

It always writes the text files in UNIX format, under the specified output path. It will override if files already exists. The output filenames are:

Author(s)

Alberto Hornero

Examples

1
2
3
leafbio <- data.frame(Cab = 70, Cca = 30, Cw = 0.013, Cdm = 0.024, Cs = 0.0, N = 4.09, fqe = 0.02)
leafopt <- fluspect(leafbio)
write.leafopt(leafopt, path = file.path(tempdir(), 'output'))

fluspect documentation built on May 2, 2019, 8:57 a.m.