regEquationFormat: Utility function to format the regression equation

Description Usage Arguments Details Value Examples

Description

The regEquationFormat function formats the regression equation for WREG-R.

Usage

1
2
regEquationFormat(X, C1 = NULL, C2 = NULL, C3 = NULL, C4 = NULL, mode,
  var, xEq = NULL)

Arguments

X

The X/Y variable

C1

(optional) Constant 1 for transform

C2

(optional) Constant 2 for transform

C3

(optional) Constant 3 for transform

C4

(optional) Constant 4 for transform

mode

Type of transform on X/Y variable

var

Whether or not method applies to the X or Y variable

xEq

The vector containing the elements making up the regression equation.

Details

This functions formats the regression equation based on input for WREG output.

Value

Nothing, strings are added to list xEq

Examples

1
regEquationFormat("P", mode="none", var="X")

USGS-R/WREG documentation built on May 9, 2019, 6:48 p.m.