powered by
constraintL2(p, mu, sigma = 1, fixed = NULL)
obj
p <- c(A = 1, B = 2, C = 3) mu <- c(A = 0, B = 0) sigma <- c(A = 0.1, B = 1) constraintL2(p, mu, sigma)
Run the code above in your browser using DataLab