I've made an LDA model on some data from one source.  I have some new data
that I want to see if I can "place" to the sources in the LDA model.

I used the predict function as follows:


predict(wak.insitu.ld, wak.alr.alluvial)


where wak.insitu.ld is an LDA model generated from some data and
wak.alr.alluvial is new data of similar origin.  When I look at the results,
there is 86 observations which is the number in the original model, NOT in
the new data (nrow=53).  Am I doing this correctly.  When I plot the
predicted values, the plot is exactly the same as the original model plot.
Now I am certain it's not doing whata I thought it was.

thanks.


-- 
Gareth Campbell
PhD Candidate
The University of Auckland

P +649 815 3670
M +6421 256 3511
E [EMAIL PROTECTED]
[EMAIL PROTECTED]

        [[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