Learn R Programming

cds (version 1.0.4)

create.rs: Create a response style

Description

Creates a response style by cutting up a quadratic monotone spline.

Usage

create.rs(
  alpha = matrix(c(1, 2, 1), nrow = 1),
  nr.scale = 7,
  tvec = c(0, 0.5, 1),
  xvec = 0:nr.scale/nr.scale,
  scale = TRUE
)

Arguments

alpha

vector of spline coefficients

nr.scale

number of rating categories; numeric

tvec

knots for spline functions

xvec

evaluation points for basis functions

scale

logical; scale or not

Author

Pieter C. Schoonees