powered by
constraintL2(mu, sigma = 1, attr.name = "prior", condition = NULL)
NULL
objfn
mu <- c(A = 0, B = 0) sigma <- c(A = 0.1, B = 1) myfn <- constraintL2(mu, sigma) myfn(pars = c(A = 1, B = -1))
Run the code above in your browser using DataLab