lpda.fit {lpda} | R Documentation |
lpda.fit computes the discriminating hyperplane for two groups
Description
lpda.fit
computes the discriminating hyperplane for two groups, giving as a result the coefficients of the hyperplane.
Usage
lpda.fit(data, group, f1 = NULL, f2 = NULL)
Arguments
data |
Matrix containing data. Individuals in rows and variables in columns |
group |
Vector with the variable group |
f1 |
Vector with weights for individuals of the first group |
f2 |
Vector with weights for individuals of the second group |
Value
coef |
Hyperplane coefficients |
Author(s)
Maria Jose Nueda, mj.nueda@ua.es
References
Nueda MJ, GandÃa C, Molina MD (2022) LPDA: A new classification method based on linear programming. PLoS ONE 17(7): e0270403. <https://doi.org/10.1371/journal.pone.0270403>
See Also
[Package lpda version 1.0.1 Index]