climateSummary: Summarize climate variables by Year

View source: R/climateSummary.R

climateSummaryR Documentation

Summarize climate variables by Year

Description

Climate data is summarized based on the variable's mean and standard deviation values for each year and is outputted to a summarized table.

Usage

climateSummary(file, startYear, endYear, outdir = dirname(file))

Arguments

file

The climate output from ClimateNA as CSV file format

startYear

numeric. The first year of the time frame

endYear

numeric. The last year of the time frame

outdir

character. The output directory for the summary file

Value

A CSV file consisting of the summary data

Author(s)

Michael Burnett - UBC Faculty of Forestry

Examples

## Input a data file consisting of monthly climate data projections from 2000 to 2050
#file <- read.csv('data.csv')
#climateSummary(file,2000,2050)

Silva21-irss/silvR21 documentation built on Sept. 14, 2022, 7:55 a.m.