Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Because it uses regexp: use split='\\.' to split on "." char and read help(strsplit) :) Ryszard -------------------------------------------------------------------------- Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and...
> Does xs contain a variable called xr? No - it does not. I was expecting that if I use model built using (yr,xr) data with 164 cases and 118 variables to predict on a test data (xs) with 35 cases...
Great idea ! I am sure it would be very useful - in particular to the newcomers to the R-land. The question is where to put it and how to organize it to make it useful ? Some database approach with web...
Thank you for looking into it! There is still something I do not understand (despite different numerics on different machines, etc.) On my system plain "p == p" (where p's are from runif()) gives all TRUE values, but with q...
> This is rather by chance due to numeric instabilities, I think: It looks like something else is going on in addition to potential problem with numerical instabilities: p <- runif(length(letters)) q <- gset(letters, p) all.equal(p,p) all...
This time I use the same file for train.data and test.data throwing in "names(test) <- names(train)" before predict() for double protection (:-) and it still fails... Is it some weird problem with this particular data set ? or a...
# Yes. You are *still* using a matrix in a data frame. Please do read more # carefully. I have read some more R documentation trying to understand difference between matrices and data frames etc... and I repeat my example this time...
Hi, It is most probably just my R-ignorance, but I have following problem with predict(). I train the model using 164 cases and then I try to use it on the data set with 35 cases, but I am...
Hi, It is most probably just my R-ignorance, but I have following problem with using predict(). I train the model using 164 cases and then I try to use it on the data set with 35 cases, but I...
Hi David, Thanks! I just tried it with new sets version (1.0-6) and it works great! Thanks again for a very nice package. Best regards, Ryszard -------------------------------------------------------------------------- Confidentiality Notice: This message is private and may contain confidential and proprietary...
> The equality method for gsets performs some computations which might yield these results in case of numeric problems... I see... The other differences are probably due to older R version (2.7.1) I am using I guess it is...
Basically I want to create a string vector where first element is a date. >> Note that if you supply c() with objects of different types (as you have), >> the results will probably not be what you wanted. This is the...
Thank you for great support so far ! I think I am getting closer, but I still not quite get it... Two questions: (1) what is the difference between lm(y~., and lm(y~x, ??? with second form failing ? > train <- data...
I will try. I tried to use lm() to have basic linear "reference". If this is the reason (i.e. train data set is rank-deficient) and lm cannot handle such situation, what are the other packages in R you...
--- first problem If I store 'simulated' data in data frames: # train.data <- data.frame(matrix(rnorm(164*119), nrow = 164)) # test.data <- data.frame(matrix(rnorm(35*119), nrow = 35)) it still works the same way i.e. the code...
>From Liaw, Andy: > It's probably easier to do the following: > ## Put training data in a data frame. > train <- data.frame(y=yr, x=xr) > ## Put test data in a data frame. > test <- data.frame(y=ys, x=xs) > > myfit...
It seems that "A & B" works the same way as "gset_intersection(A,B)" as long as A and B are not empty... see below: fuzzy_logic("Yager", p=2) support <- universe <- c('a','b','c','d') A <- gset(support...
Hi Peter, This looks like another one: "gset_is_equal(X,X)" and "X == X" evaluate to FALSE ? > uv <- c('a', 'b', 'c'); s <- gset(uv, runif(length(uv))) > s {"a" [0.0811552], "b" [0.3552998], "c" [0.996772]} > gset...
It works for me for data frame very nicely, but I am not quite sure how to get it to work for a matrix ? R > df V1 V2 V3 1 1 NA 7 2 2 NA 8 3 3 NA...
Can't find what you're looking for? Try searching with Google .