search for: csprin

Displaying 14 results from an estimated 14 matches for "csprin".

2002 Jan 22
1
documentation and plotting with lqs
...ta(stackloss) > set.seed(123) > examplelqs <- lqs(stack.loss ~ ., data = stackloss) > plot (examplelqs) Error in as.double.default(x) : (list) object cannot be coerced to vector type 14 thanks, --Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2001 Nov 08
2
programming question
...trouble translating a name into a number. If this where perl the answer would be a hash. Or can I directly index a table with an alphanumeric string. (ie. a hash). Any help would be greatly appreciated, --Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2000 Mar 08
3
Reading data for discriminant analysis
Dear R users, I want to do discriminant analysis on my data. I have successfully followed the discriminant analysis in V & R on the iris data: > ir <- rbind (iris3[,,1],iris3[,,2],iris3[,,3]) > ir.species <- c(rep("s",50),rep("c",50),rep("v",50)) > a <- lda(log(ir),ir.species) > a$svd^2/sum(a$svd^2) [1] 0.996498601 0.003501399 > a.x <-
2001 May 22
1
Surrogate splits for decision trees
...ibed in Breiman et al "CART" 1984. Curiously, they don't seem to appear anywhere else in the literature. Can anyone comment on how extenible Ripley's tree package is? Thanks in advance, --Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2001 Sep 04
1
searching the r-help list
Do those who have had trouble finding stuff in the R-archive used the search engine? http://www.scirus.com/ And as far as threading goes. My mailler "mutt" threads the mailing list quite nicely. --Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2001 Nov 12
0
Additional Documentation for rpart?
...lculate what the "improve" for the node would have been if surrogate split were used instead. So if anybody knows how to do (or extract) that would be very helpful too. Thanks in advance, Clayton Springer -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2002 Feb 26
1
Logistic Regression woes
...(is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y, The dataset in question has 2 classes and 80 features, and there are a few features which are collinear. What could my source of trouble here? Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuw...
2000 Mar 08
1
Trouble with data dim
Dear R users, I am a novice user working through V & R. My first question stems from p20 of the second edition.: I perform the following actions: > mydata <- c(2.9,3.4,3.4,3.7,3.7,2.8,2.8,2.5,2.4,2.4) > names(mydata) <- c('c','j','b','e','i','h','g','d','f','a') > mydata c j b e i h
2002 Apr 25
1
understanding and resolving seg faults
...= catmat, dnode = matrix(double(1), nodes, 3+numresp), deltaI = matrix(double(1), nodes, nsplit), inode = matrix(integer(1), nodes, 6)) -- Clayton Springer, Ph. D. Sandia National Laboratories csprin@ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box 969, MS 9951 fax: (925) 294-3020 Livermore, CA, 94551-0969 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwie...
1999 Oct 25
1
trouble reading in datasets
Dear All, I was trying to follow some of the examples in Venables and Ripley "Modern applied ... with S-plus" I have downloaded a copy of the iris data set and loaded into R. : however I cannot use the apply command (from p47): > apply (iris, 2 ,mean) Error in sum(..., na.rm = na.rm) : invalid "mode" of argument > apply (iris, c(2) ,mean) Error in sum(..., na.rm =
1999 Dec 06
1
k-NN routines
Hello All, I would like to use R for k-NN (nearest neighbor) clustering for pattern recognition. However, I don't see it. I don't think 'hclust' or 'kmeans' are what I am looking for. Thanks for your help, Clayton Springer -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Jan 11
0
help with debugging hardware dependent problems
Dear r-help, I am having an intermittant error using R on a linux beowulf cluster. I am using my homebrew script to test the performance of various feature subsets with "lda". ------------- The general procedure is as follows: I load the data from an .Rdata file (which has generated by R-1.3.0) run my script "Iterate()" ... At a different iteration each time I get the
2002 May 28
1
masking
Dear R developers, I am newbie to R-development. I have written mutated the rpart to obtain myown package that performs some additional calculations on trees. I have altered the names of rpart's functions so there is no namespace conflict, but there is redunant functionality. However there some remaining functions that I am not sure what to do with. When I run R and load both libraries I
2000 Apr 28
1
obtaining the discriminant line from lda
Dear R folks, Thanks to all your help before I have loaded a 1-D toy data set into R and did LDA on it. The toy data has Class=0 if value>0. > XY <-- read.table ("test.xy",header=T ) > XY X.Class value 1 0 60.4897262 2 0 32.9554489 3 -1 -53.6459189 4 0 44.4450579 . . . 998 -1 -43.4183157 999 0