[R] LDA on pre-assigned training and testing data sets

2008-06-25 Thread Peter Flom
Dear r-help I am trying to run LDA on a training data set, and test it on another data set with the same variables. I found examples using crossvalidation, and using training and testing data sets set up with sample, but not when they are preassigned. Here is what I tried # FIRST SET UP A

Re: [R] LDA on pre-assigned training and testing data sets

2008-06-25 Thread Michael Conklin
] On Behalf Of Peter Flom Sent: Wednesday, June 25, 2008 11:22 AM To: r-help@r-project.org Subject: [R] LDA on pre-assigned training and testing data sets Dear r-help I am trying to run LDA on a training data set, and test it on another data set with the same variables. I found examples using