Re: [R] discriminant analysis lda under MASS

2016-03-03 Thread Jens Koch
rlson" An: "Jens Koch" , "r-help@r-project.org" Betreff: RE: [R] discriminant analysis lda under MASS If the textbook provides the equations, you can work through them directly. But without knowing more, it is hard to say. You could also conta

[R] discriminant analysis lda under MASS

2016-03-02 Thread Jens Koch
Hello all, I'd like to run a simple discriminant analysis to jump into the topic with the following dataset provided by a textbook: Gruppe Einwohner Kosten 1 1642 478,2 1 2418 247,3 1 1417 223,6 1 2761 505,6 1 3991 399,3 1 2500 276 1 6261 542,5 1 3260 308,9 1 2516 453,6 1 4451 430,2 1 3504 413,8