create.rs: Create a response style

create.rsR Documentation

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(s)

Pieter C. Schoonees


cds documentation built on April 16, 2025, 1:10 a.m.