getModelMat {RCM}R Documentation

A function to construct a model matrix of a certain degree

Description

A function to construct a model matrix of a certain degree

Usage

getModelMat(y, degree)

Arguments

y

the variable

degree

the degree

Value

A model matrix with degree+1 columns and as many rows as lenght(y)


[Package RCM version 1.10.0 Index]