Fake model, returns a ax + b linear response to 2-param vector

testLinearModel(x, env = NULL)

Arguments

x

2-dim parameter vector

env

optional, environmental covariate

See also

generateTestDensityMultiNormal testDensityBanana

Examples

x = c(1,2) y = testLinearModel(x) plot(y)