tamet: tamet

Description Usage Arguments Value Author(s) Examples

Description

This is the main function to run the TAMET tests.

Usage

1
2
3
  tamet(filename, MaxT_column = NA, MaxT_lower = 4.0, MaxT_upper = 50.0, 
      MinT_column = NA) 
  

Arguments

filename

either a path or file in current directory (log will be written to a CSV with same name alongside this file).

MaxT_column

text string with name of relevant column

Value

The log will be written alongside the original file. Invisibly returns a list with number of rows in logfile and path to that file.

Author(s)

ivanhanigan ported original by apsim

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  require(rtamet)
  fpath <- system.file("extdata", "Kaleen.csv", package="rtamet")
  df  <- read_file(fpath)
  log <- tamet(filename = fpath,MaxT_column = "maxave",
               MinT_column = "minave",
               Vprph09_column = "vprph09",
               Vprph15_column = "vprph15"
               )
  head(read_file(log[[2]]))
  
  

swish-climate-impact-assessment/rtamet documentation built on May 30, 2019, 10:39 p.m.