Hello everybody,
I'm using the kernlab package, but I'm yet to find how to map existing
variables onto a kha representation.
here is an example:
> names(dttest)
[1] "rapCADuree" "CA" "DifferenceCommande"
> kha(~.,data=dttest[1:1000,],features=4,na.action=na.exclude)->khatest
> eig(khatest)
Comp.1 Comp.2 Comp.3 Comp.4
1647.91346 20.08602 82.15760 15.09415
> plot(predict(khatest,dttest[1:1000,]),col=model[1:1000])
Then, as it looks like a PCA, I would like to draw arrows of source
variables onto the new representation, but I can't find how I could
proceede.
Any ideas ?
Many thanks & best regards,
Laurent
--
We are drowning in information, but starved for knowledge.
«Germain» @<http://www.le-valdo.com>
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.