View source: R/testFunctions.R
testLinearModel | R Documentation |
Fake model, returns a ax + b linear response to 2-param vector
testLinearModel(x, env = NULL)
x |
2-dim parameter vector |
env |
optional, environmental covariate |
Florian Hartig
generateTestDensityMultiNormal
testDensityBanana
x = c(1,2) y = testLinearModel(x) plot(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.