buildDesign: A function to build the design matrix

Description Usage Arguments Value

View source: R/F_buildDesign.R

Description

A function to build the design matrix

Usage

1
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


RCM documentation built on Nov. 8, 2020, 5:22 p.m.

Related to buildDesign in RCM...