Description Usage Arguments Details Value See Also Examples
Soft L2 constraint on parameters
1  constraintL2(mu, sigma = 1, attr.name = "prior", condition = NULL)

mu 
named numeric, the prior values 
sigma 
named numeric of length of mu or numeric of length one. 
attr.name 
character. The constraint value is additionally returned in an attributed with this name 
condition 
character, the condition for which the constraint should apply. If

Computes the constraint value
(pmu)^2/sigma^2
and its derivatives with respect to p.
object of class objfn
wrss
1 2 3 4 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.