Tweak summary table
This function allows the user to tweak the summary table computed by scores.tables. Contrary to scores.tables, this function can be used to create a single summary table that includes the most important metrics only. The user can specify what variables to include and in what order they should appear.
scores.tables.tweak(myVariables, myCaption = "Globally averaged statistical metrics", inputDir = getwd(), outputDir = FALSE)
myVariables |
An R object with variable names of variables that should be included in table, e.g. c('GPP', 'RECO', 'NEE') |
myCaption |
A string that is used as table caption, e.g. 'Globally averaged statistical metrics'. |
inputDir |
A string that gives the input directory, 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. |
One table in LaTeX format that shows a subset of statistical metrics
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) myInputDir <- paste(system.file('extdata', package = 'amber'), 'scores', sep = '/') myVariables <- c('GPP', 'LAI', 'ALBS') scores.tables.tweak(myVariables = myVariables, inputDir = myInputDir)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.