get_every_nth: Get every nth value of a time series

Description Usage Arguments Value See Also

View source: R/MICE_results.R

Description

A utility function that returns every nth intra-annual step from a time series that includes intra-annual steps.

Usage

1
get_every_nth(nSteps, pdata, xname, yname)

Arguments

nSteps

The number of timesteps per year

pdata

A small data frame with the by-timestep series in it

xname

The name of the x series

yname

The name of the y series

Value

A data frame (x,y) of every nth value of a time series

See Also

Other results: calc_predicted, compile_results, makeplot, plot_fitted_multipanel, plot_fitted, plot_function_only, plot_summed_by_year


jcpayne/mice-models documentation built on May 18, 2019, 10:25 p.m.