Description Usage Arguments Value Examples
View source: R/plotFluxnetStats.R
This function plots statistical metrics for the comparison against FLUXNET data.
1 2 3 | plotFluxnetStats(inputDir, outputDir = FALSE, mod.id = "CLASSIC",
variableNames = c("GPP", "RECO", "NEE", "RNS", "HFLS", "HFSS"),
plot.width = 12, plot.height = 8)
|
inputDir |
A string that gives the location of text files produced by scores.fluxnet.csv, e.g. '/home/project/study'. |
outputDir |
A string that gives the output directory, e.g. '/home/project/study'. The output will only be written if the user specifies an output directory. |
mod.id |
A string that identifies the source of the reference data set, e.g. 'CLASSIC' |
variableNames |
A string of six variables that should be plotted. Default is set to c('GPP', 'RECO', 'NEE', 'RNS', 'HFLS', 'HFSS'). |
plot.width |
Number that gives the plot width, e.g. 12 |
plot.height |
Number that gives the plot height, e.g. 8 |
Figures that show statistical metrics produced by the function scores.fluxnet.csv. The function expects six input variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(amber)
library(classInt)
library(doParallel)
library(foreach)
library(Hmisc)
library(latex2exp)
library(ncdf4)
library(parallel)
library(raster)
library(rgdal)
library(rgeos)
library(scico)
library(sp)
library(stats)
library(utils)
library(viridis)
library(xtable)
inputDir <- paste(system.file('extdata', package = 'amber'), 'scores', sep = '/')
plotFluxnetStats(inputDir, outputDir = FALSE, mod.id = 'CLASSIC.CRUJRAv2')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.