getModelMat: A function to construct a model matrix of a certain degree

View source: R/F_getModelMat.R

getModelMatR 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)


CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.