Learn R Programming

BayesianTools (version 0.1.7)

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

See Also

generateTestDensityMultiNormal testDensityBanana

Examples

Run this code
# NOT RUN {
x = c(1,2)
y = testLinearModel(x)
plot(y)
# }

Run the code above in your browser using DataLab