Learn R Programming

BayesianTools (version 0.1.8)

testLinearModel: 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

Florian Hartig

See Also

generateTestDensityMultiNormal
testDensityBanana

Examples

Run this code
x = c(1,2)
y = testLinearModel(x)
plot(y)

Run the code above in your browser using DataLab