beta_gen: Function to generate beta surfaces

Description Usage Arguments Value Examples

Description

This function generates one of 3 beta surfaces examined in the simulations of Meyer, et. al. (2015): 1) ridge, 2) lagged, and 3) immediate. The bivariate function is evaluated over grids t and v, assumed to be of equal length and with equal spacing. The length of the grid must be specified. A 3D perspective plot of the generated surface may also be output.

Usage

1
beta_gen(surface = "ridge", len, surfplot = F)

Arguments

surface

Choose either "ridge", "lagged", or "immediate".

len

The length of the grids over which the surface is evaluated.

surfplot

An indicator of whether or not to output a 3D-perspective plot of the surface. The default is False.

Value

Output is a matrix of values corresponding to the bivariate function evaluated over the gridpoints of t and v.

Examples

1
beta_gen("ridge",len = 225,F)

jpetrovich02/BFOFR documentation built on May 19, 2019, 10:44 p.m.