Learn R Programming

languageR (version 1.5.0)

degreesOrKnots.fnc: Extract degree of polynomial or knots for restricted cubic spline

Description

Extract degree of polynomial or knots for restricted cubic spline from the predictor name

Usage

degreesOrKnots.fnc(name)

Arguments

name

name of predictor, e.g. poly(X, 2, raw = TRUE)

Value

Returns an integer for degrees or knots

Details

attempts to find degrees or knots if present in input name

See Also

See Also as plotLMER.fnc

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
not intended for independent use
# }

Run the code above in your browser using DataLab