Description Usage Arguments Value
find values of lambdas in maxent method
1 2 | findlambdaC(n, m, nu, u, s, l = rep(0, m), tol = 0.001, tole = -1,
tolz = -1, maxiter = 1000, initlambda = TRUE, check = TRUE)
|
n |
number of values |
m |
number of constraints |
nu |
number of constraints per value, vector of length n |
u |
vector of constraints |
s |
vector of expectations (e.g., row/column sums) |
l |
initial values of lambdas (not used) |
tol |
accuracy of lambdas in root finding |
tole |
accuracy of expectations |
tolz |
z-normalized accuracy of expectations |
maxiter |
maximum number of iterations |
check |
boolean, whether to do sanity checks for inputs |
list containing new lambdas, tolerance values (tol, tole, tolz) as well as numer of iterations done.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.