Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Details

attempts to find degrees or knots if present in input name

Value

Returns an integer for degrees or knots

Note

not intended for independent use

Author(s)

R. H. Baayen

See Also

See Also as plotLMER.fnc

Examples

## Not run: not intended for independent use

languageR

Analyzing Linguistic Data: A Practical Introduction to Statistics

v1.5.0
GPL (>= 2)
Authors
R. H. Baayen <harald.baayen@uni-tuebingen.de>, Elnaz Shafaei-Bajestan <elnaz.shafaei-bajestan@uni-tuebingen.de>
Initial release
2019-01-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.