ChB8-lookup: Lookup values for a piecewise constant function

Description Usage Arguments Value Author(s) Examples

Description

Given the values and lefthand endpoints for intervals of constancy, lookup values of the function at arbitrary values of the independent variable.

Usage

1
  lookup(xgrid, ygrid, x, y0 = 0)

Arguments

xgrid

Lefthand endpoints of intervals of constancy

ygrid

Values on these intervals, of same length as xgrid

x

Input vector of arbitrary independent variables.

y0

Value to be returned for values of x that are smaller than min(xgrid).

Value

~Describe the value returned If it is a LIST, use

comp1

Description of 'comp1'

comp2

Description of 'comp2'

Author(s)

Grant Izmirlian <izmirlian@nih.gov>

Examples

1
  ## none as yet

PwrGSD documentation built on May 31, 2017, 2:32 a.m.