Hello R-list,

I am preforming an lda on the following data.

  Curvature Diameter   Quality
1      2.95     6.63    Passed
2      2.53     7.79    Passed
3      3.57     5.65    Passed
4      3.16     5.47    Passed
5      2.58     4.46 NotPassed
6      2.16     6.22 NotPassed
7      3.27     3.52 NotPassed

I use lda:

> ddd<-lda(Quality~ Curvature+Diameter, data=momo)
> ddd
Call:
lda(Quality ~ Curvature + Diameter, data = momo)

Prior probabilities of groups:
NotPassed    Passed
      0.5       0.5

Group means:
          Curvature Diameter
NotPassed  2.633333 5.383333
Passed     3.016667 6.690000

AND

lda$scaling: gives me

               LD1
Curvature 2.372923
Diameter  1.368995

My question is, I would like to calculate the % influence that 1 factor has
vs the other meaning does 1 factor have 0.6 influence and the other have
0.4?

TIA

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to