Open DarioS opened 6 years ago
It is documented as
prior vector with prior probabilities for each class. If NULL (default), then equal probabilities are used.
prior
However, the code uses probabilities proportional to class size in diag_estimates if not user-specified which dlda depends on to do calculations.
diag_estimates
dlda
if (is.null(prior)) { prior <- as.vector(table(y) / length(y)) }
Also, dlda has ... which is not passed to diag_estimates which means it's not possible to change est_mean to "tong", for example.
...
est_mean
"tong"
It is documented as
However, the code uses probabilities proportional to class size in
diag_estimates
if not user-specified whichdlda
depends on to do calculations.Also,
dlda
has...
which is not passed todiag_estimates
which means it's not possible to changeest_mean
to"tong"
, for example.