R/linearModelFunctionExample.R

linearModelFunctionExample <- function(
    ### example model function: y=a+bx
    theta,	##<< parameter vector with names a and b
    xval	##<< additional argument aside parameter vector: numeric vector of a single covariate
){ 
    theta["a"] + theta["b"]*xval 
}

Try the blockDemac package in your browser

Any scripts or data that you put into this service are public.

blockDemac documentation built on May 2, 2019, 4:52 p.m.