staRdom (version 1.0.3)

eempf_fit_sample: Fitting amounts of components of any samples to a certain model

Description

Fitting amounts of components of any samples to a certain model

Usage

eempf_fit_sample(cp_out, eem, control = list(maxit = 10^3),
  method = "L-BFGS-B", lower = rep(0, comps), ...)

Arguments

cp_out

parafac model

eem

eem to be fitted

control

control parameters passed to optim

method

method used in optim

lower

lower boundaries in optim, amount of a component should not be negative

...

other parmeters passed on to optim

Value

vector containing amounts of components

Details

For parameters concerning optim please see according help.

Examples

Run this code
# 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