Re: [R] Fwd: NaN-result from fuzzy_inference (package "sets") with certain input

2013-05-16 Thread David Meyer
56,0.47,0.70,0.42,1.90),velocity=c(0.70,1.40,0.95,0.65,0.58,0.47,1.24),suitability=NA) # do inference on test_df fuzzy_result <- function(df){ gset_defuzzify(fuzzy_inference(system, list(depth = df["depth"], velocity = df["velocity"])),"centroid") } apply(test_

Re: [R] color query in mosaic in package vcd

2013-02-08 Thread David Meyer
2) platform i386-w64-mingw32 arch i386 os mingw32 system i386, mingw32 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting g

Re: [R] standardized residuals / adjusted residuals

2012-11-13 Thread David Meyer
If I call chisq.test(x)$residuals ; I get the *standardized* residuals (even though it's called residuals) chisq.test(x)$stdres ; I get the *adjusted* standardized residuals (even though it's called stdres) Is this correct? I think, yes - as documented on the man page. Best David __

Re: [R] write.matrix.csr data conversion

2012-11-06 Thread David Meyer
/library/e1071/html/read.matrix.csr.html says David Meyer (based on C/C++-code by Chih-Chung Chang and Chih-Jen Lin) is there any chance that you might consider replacing the R code with the original C/C++? Thanks a lot! * David Meyer [2012-08-27 22:57:17 +0200]: done, thanks for the suggestion

Re: [R] boxplot - bclust

2012-09-04 Thread David Meyer
These are warnings and I think that you can safely ignore them. It looks like the code should replace the line if (x$datamean) with something like if (!is.null(x$datamean)) Yes, I think so too - thanks for reporting this. David __ R-help@r-pr

Re: [R] write.matrix.csr data conversion

2012-08-29 Thread David Meyer
Yes, it seems that Prof Meyer hasn't pushed the changes to R forge yet. I now did. (There are no other repositories). David __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www

Re: [R] write.matrix.csr data conversion

2012-08-27 Thread David Meyer
sorry, library(e1071) '0' and '1' are converted to factors which probably show up as 1 and 2 in the file. sounds reasonable, thanks. David, could you please add an option `fac' to `write.matrix.csr', similar to `read.matrix.csr' which already accepts `fac&#x

Re: [R] SparseM buglet

2012-08-26 Thread David Meyer
Thanks to all for routing this to me - fixed upstream. David Original Message Subject: forwarded message from Roger Koenker Date: Sat, 25 Aug 2012 17:12:04 +0200 From: Kurt Hornik Reply-To: kurt.hor...@wu.ac.at To: David Meyer --- Begin Message --- Sam, Thanks for

Re: [R] predict.naiveBayes() bug in e1071 package

2012-02-08 Thread David Meyer
/ (x + y + z) = 1 / (1 + exp(log(y) - log(x)) + exp(log(z) - log(x))) Best wishes, /Ali Tofigh -- Priv.-Doz. Dr. David Meyer Department of Information Systems and Operations WU Wirtschaftsuniversität Wien Vienna University of Economics and Business Augasse 2-6, 1090 Vienna, Austria Tel: +43-1-

Re: [R] The "Sets" package and element equality test

2011-10-08 Thread David Meyer
on this. Best David Error in as.vector(x, "character") : cannot coerce type 'environment' to vector of type 'character' So far, I don't know how to work around this latter issue. Thanks again for the package and your help. Regards Johnny On Sat, Oct 8,

[R] The "Sets" package and element equality test

2011-10-08 Thread David Meyer
ng wrong; I checked with the doc, but I don't understand. -- Priv.-Doz. Dr. David Meyer Institut für Wirtschaftsinformatik Fachhochschule Technikum Wien Höchstädtplatz 5, 1200 Wien T: +43 1 333 40 77-394 F: +43 1 333 40 77-99 394 E: david.me...@technikum

Re: [R] probabilities in svm output in e1071 package

2010-05-05 Thread David Meyer
hh. WHy the probabilities are both 0 in 1 and 0 class? -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 -- Priv.-Doz. Dr. David Meyer Department of Information Systems and Operations WU Wirtschaf

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-11 Thread David Meyer
eliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, March 31, 2010 2:03 PM To: Czerminski, Ryszard Cc: R-help@r-project.org; David Meyer Subject: R

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread David Meyer
that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Wednesday, April 07, 2010 8:25 AM To:

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-07 Thread David Meyer
of this message is not permitted and may be unlawful. -Original Message- From: David Meyer [mailto:david.me...@wu.ac.at] Sent: Tuesday, April 06, 2010 6:03 PM To: Czerminski, Ryszard Cc: Peter Ehlers; R-help@R-project.org; David Meyer Subject: Re: [R] library sets: A & EMPTY does not w

Re: [R] library sets: A & EMPTY does not work; gset_intersection(A,EMPTY) works

2010-04-06 Thread David Meyer
or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, March 31, 2010 2:03 PM To: Czerminski, Ryszard Cc: R-help@r

Re: [R] nu-SVM crashes in e1071

2010-03-04 Thread David Meyer
bug further. If you like you send an *.rda file of your soil_unit data offline and I can try, but otherwise I guess you're on your own? What if you remove some of the columns of your matrix? Will this eventually work? -steve -- Priv.-Doz. Dr. David Meyer Department of Information Systems and O

[R] multiclass SVM (e1071 package): number of estimated models

2009-09-28 Thread David Meyer
Dear John, there *are* indeed 3 classifiers trained, as you can see from predict(model, iris, decision.values = TRUE) However, the coefficients are stored in a compressed format -- see svminternals.txt in the /doc subdirectory. Best David - I run multiclass SVM for iris dat

[R] how to get the signed distance in SVM?

2009-01-15 Thread David Meyer
Dear Qing, look at the file "svminternals.txt" in the /doc subdirectory of the installed e1071 package (or inst/doc in the source package), that should help. David > > In the svm() function in the package e1071, is there anyway to get the > signed distance of a sample point to the separating

Re: [R] write.matrix.csr(e1071) bug

2008-10-24 Thread David Meyer
Peter: Yes, this is a bug. The line if ([EMAIL PROTECTED] <= nrow(x)) should actually read if (([EMAIL PROTECTED] <= length([EMAIL PROTECTED])) && ([EMAIL PROTECTED] < [EMAIL PROTECTED] + 1])) --> fixed upstream. Thanks David Hello, The write.matrix.csr() function of the e1071 p

[R] adjusting textsize and spacing in mosaic (vcd package)

2008-09-28 Thread David Meyer
Richard, > How do I change the size of the text on the legend scale? This should work with `fontsize', but doesn't which is a bug (fixed in the next release). > Also, is there a way to change all the font sizes at once? Not yet, but this is a good suggestion. Thanks David _

Re: [R] Extract naiveBayes details

2008-06-27 Thread David Meyer
Stephan: the Naive Bayes model consists of several tables, one for each (categorical) predictor. Using m = naiveBayes( ... ) m$tables you will get (as the help page says): tables: A list of tables, one for each predictor variable. For each categorical variable a table giving, for e

[R] Plot error

2008-01-06 Thread David Meyer
Pedros: if you have more than two explanatory variables, the plot.svm() function plots a slice out of the input space, i.e., you have to specify the two variables that are plot on the x and y axis. The example on the help page tells you how: plot(model, data= dados[,-1], formula=dados[,2]~dado

[R] problems in cross validation of SVM in pakage "e1071"

2007-10-28 Thread David Meyer
Dear Nan Qiao, the accuracies are in percent (so times 100). Best David Hi: I am a newer in using R for data mining, and find the "e1071" pakage an excellent tool in doing data mining work! what frustrated me recently is that when I using the function "svm" and usin

[R] [R-pkgs] upgrade: relations

2007-10-18 Thread David Meyer
Dear useRs, a new version of the 'relations' package has appeared on CRAN. New features include: o support for fuzzy relations added o support for sets moved to separate 'sets' package o new SD fitters for the S ("symmetric") and M ("matches") families o fitters for Cook-Seiford

[R] [R-pkgs] New package: sets

2007-10-16 Thread David Meyer
Dear useRs, The new 'sets' package made it to CRAN, supporting: o data structures for sets, fuzzy sets, multisets, and fuzzy multisets o the use of (most) R objects as elements o standard set operations (union, intersection, complement, Cartesian product, power set, ...) o support for several fu

[R] fontsize in mosaic plot lables

2007-09-24 Thread David Meyer
s labeling_cells(text = tab, margin = 0,gp_text=gpar(fontsize=20))(Titanic) What am I doing wrong? Thanx Herry -- Dr. David Meyer Department of Information Systems and Operations Vienna University of Economics and Business Administration Augasse 2-6, A-1090 Wien, Austria, Europe Tel: +43-1-3