buildDesign {RCM} | R 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

[Package RCM version 1.3.0 Index]