[R] ipred: possible to use svm in errorest?

2011-06-21 Thread Daniel Stahl
Dear all, is it possible to run the support vector machine command "svm" from the package e1071 within the errorest function from the library ipred? It works fine for lda and rda but I get an error message (see below) Thank you for your help. Best wsihes, Daneil # Classification data(iris) #

[R] regularized discriminant function analysis using klaR: problems with predictions

2011-02-28 Thread Daniel Stahl
Sorry, I forgot to mention that I used the package "klaR". > > Dear all, I am trying to do a n-fold cross-validation for a > regularized discrimant function analysis using rda from the package > klaR. However, I have problems to predict the groups from the > test/validation sample. The exm

[R] regularized dfa rda (Klar): problems with predictions

2011-02-27 Thread Daniel Stahl
Dear all, I am trying to do a n-fold cross-validation for a regularized discrimant function analysis using rda from the package klaR. However, I have problems to predict the groups from the test/validation sample. The exmaples of the R documantation and some online webpage also do not work. Does

[R] Problem solved: extracting values from a "by" function

2008-07-05 Thread Daniel Stahl
Hi I just discovered the answer thanks to a previous thread from Peter Daalgart The command is: sapply(test, "[[", "statistic") Cheers, Daniel - Original Message - To: r-help@r-project.org Subject: extracting values from a "by" function Date: Sun, 6 Jul 2008 05:59:04 +0800 Hello, I

[R] extracting values from a "by" function

2008-07-05 Thread Daniel Stahl
Hello, I am trying to extract t and pvalues from a 1000 ttests using the by-function but everythinhg I tried did not work. Unfortunately googling "by" is not very helpful. Any help will be very appreciated. Cheers, Danile Stall *creating a data set library(MASS) dataset <- mvrnorm(160, mu, Sig