testLinearModel: Fake model, returns a ax + b linear response to 2-param...

View source: R/testFunctions.R

testLinearModelR Documentation

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

Description

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

Usage

testLinearModel(x, env = NULL)

Arguments

x

2-dim parameter vector

env

optional, environmental covariate

Author(s)

Florian Hartig

See Also

generateTestDensityMultiNormal
testDensityBanana

Examples

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

BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.