Re: [R] nlme formula from model specification

2010-09-02 Thread Mikkel Meyer Andersen
> The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of > data. > ~ John Tukey > > >> -Oorspronkelijk bericht- >> Van: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-p

[R] nlme formula from model specification

2010-09-02 Thread Mikkel Meyer Andersen
Dear R-community, I'm analysing some noise using the nlme-package. I'm writing in order to get my usage of lme verified. In practise, a number of samples have been processed by a machine measuring the same signal at four different channels. I want to model the noise. I have taken the noise (the s

Re: [R] library(ipred)

2010-02-23 Thread Mikkel Meyer Andersen
Hi. Looking at http://cran.r-project.org/web/packages/mlbench/index.html I get the feeling that R (≥ 2.10.0) is a requirement. What does a > version give you? Cheers, Mikkel. 2010/2/23 Amy Hessen : > > > Hi, > > I’m trying to install ipred package but I receive the following error message: > > l

Re: [R] e1071: Cannot predict probabilities

2010-02-23 Thread Mikkel Meyer Andersen
.e. Y <- factor(Y), then everything went fine. Thanks! Cheers, Mikkel. 2010/2/23 Steve Lianoglou : > Hi, > > On Tue, Feb 23, 2010 at 2:43 PM, Mikkel Meyer Andersen wrote: >> Dear list. >> >> I using the SVM-methods from the e1071, but I can't get the >> p

[R] e1071: Cannot predict probabilities

2010-02-23 Thread Mikkel Meyer Andersen
Dear list. I using the SVM-methods from the e1071, but I can't get the probabilities when predicting. Code: x <- matrix(rbinom(100, 10, 0.3), ncol=2) y <- apply(x, 1, sum) fit <- svm(y ~ x, method = "C-classification", kernel = "radial", probability = TRUE) predict(fit, x, probability=TRUE) Here