Learn R Programming

rockchalk (version 1.8.0)

getFocal: Select focal values from an observed variable.

Description

This is a generic function with 2 methods, getFocal.default handles numeric variables, while getFocal.factor handles factors. No other methods have been planned for preparation.

Usage

getFocal(x, ...)

Arguments

x
Required. A variable
...
Other arguments that will be passed to the user-specified xvals function.

Value

  • A vector.

Details

This is used in functions like plotSlopes or plotCurves.