Description Usage Arguments Details Author(s) Examples
write.leafopt
writes the leafopt object as text files
1 | write.leafopt(leafopt, path, digits = 5)
|
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) |
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:
leafoptrefl.txt
leafopttran.txt
leafoptkChlrel.txt
leafoptMbI.txt
leafoptMbII.txt
leafoptMfI.txt
leafoptMbII.txt
Alberto Hornero
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'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.