Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotFluxnetStats

Plots that show statistical metrics for FLUXNET sites


Description

This function plots statistical metrics for the comparison against FLUXNET data.

Usage

plotFluxnetStats(inputDir, outputDir = FALSE, mod.id = "CLASSIC",
  variableNames = c("GPP", "RECO", "NEE", "RNS", "HFLS", "HFSS"),
  plot.width = 12, plot.height = 8)

Arguments

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

Value

Figures that show statistical metrics produced by the function scores.fluxnet.csv. The function expects six input variables.

Examples

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')

amber

Automated Model Benchmarking R Package

v1.0.3
GPL-3
Authors
Christian Seiler [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.