Learn R Programming

languageR (version 1.5.0)

parsePredName.fnc: parse character string specifying restricted cubic spline

Description

parse character string specifying restricted cubic spline into simple predictor name and number of knots

Usage

parsePredName.fnc(name)

Arguments

name

character string for predictor, e.g. rcs(X, 3)

Value

a list with components

baseName

character string denoting simple predictor name (X)

knots

integer specifying number of knots

Details

not intended for independent use

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