Learn R Programming

BayesianTools (version 0.1.0)

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
x = c(1,2)
y = testLinearModel(x)
plot(y)

Run the code above in your browser using DataLab