Fitting amounts of components of any samples to a certain model
eempf_fit_sample(cp_out, eem, control = list(maxit = 10^3), method = "L-BFGS-B", lower = rep(0, comps), ...)
parafac model
eem to be fitted
control parameters passed to optim
optim
method used in optim
lower boundaries in optim, amount of a component should not be negative
other parmeters passed on to optim
vector containing amounts of components
For parameters concerning optim please see according help.
# NOT RUN { data(eem_list) data(pfres_comps1) eem_fit <- eempf_fit_sample(pfres_comps2[[3]],eem_list[[1]]) # }
Run the code above in your browser using DataLab