R/psrdata.R

Defines functions psrdata

Documented in psrdata

#'Get PSR data.
#'
#'@description Extract Plant Summary Report from a YplantQMC simulation.
#'
#'Simple wrapper: \code{x$psrdata} is the same as \code{psrdata(x).}
#'
#'@param x Object returned by \code{\link{YplantDay}}
#'@param \dots Further arguments ignored
#'@author Remko Duursma
#'@keywords misc
#'@export
psrdata <- function(x,...){
	if(!inherits(x,"yplantsim"))stop("Need object of class 'yplantsim'.")
	
	x$psrdata

}

Try the YplantQMC package in your browser

Any scripts or data that you put into this service are public.

YplantQMC documentation built on May 29, 2017, 7:02 p.m.