buildDesign: A function to build the design matrix

View source: R/F_buildDesign.R

buildDesignR Documentation

A function to build the design matrix

Description

A function to build the design matrix

Usage

buildDesign(sampleScore, responseFun)

Arguments

sampleScore

a vector of environmental scores

responseFun

A character string, indicating the shape of the response function

For dynamic response function estimation, the same desing matrix as for the quadratic one is returned. Will throw an error when an unknown repsonse function is provided

Value

A design matrix of dimension n-by-f


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