Re: [R] grnn issue

2013-11-06 Thread Cyril Auburtin
Could you please approve this question and let it be sent in R_help? addendum on the question: it also fails when using a data.frame in guess, so I have no clue > guess(grnn, data.frame(x1=c(2), x2=c(4))) Error in (X - Xa) %*% t(X - Xa) : requires numeric/complex matrix/vector arguments 2013

[R] grnn issue

2013-11-05 Thread Cyril Auburtin
I'm trying grnn package, and reproduced the example ( http://cran.r-project.org/web/packages/grnn/grnn.pdf), I tried the example with another x input column in the dataset: but I'm getting the following error "Error in Ya * patterns1 : non-conformable arrays", though I took care to pass an input