projection: Project a temperature-energy dependence onto archival weather...

View source: R/models.R

projectionR Documentation

Project a temperature-energy dependence onto archival weather data

Description

Returns a projection object that can be printed or plotted to deliver a long- term average prediction of energy use. This function currently only works with the NOAA API for Daily GHCN data. See vignette("weather-helper") for details on setting up this functionality

Usage

projection(term, nYears = 20)

Arguments

nYears

optional number of years to project onto.

mod

An individual model object that has been extracted with extractModel

Value

a projection object that can be printed or plotted

Examples

# Assuming a term has been fit called 'mod' with a NOAA webservices weather
p <- projection(mod, nYears = 20)
p
plot(p)

EcotopeResearch/rterm documentation built on Oct. 17, 2022, 4:02 p.m.