search for: pcare

Displaying 3 results from an estimated 3 matches for "pcare".

Did you mean: care
2011 Aug 09
2
S4 classes, some help with the basics
Hi All, I have tried to find an answer within documentation, but I cannot: o How can call a class "slot" without knowing the name a priori? E.g., let's say I use the "pcaMethods" library to create a "pcaRes" object. How can I call parts of that object without using the specific names of the object in the call? example code: library(pcaMethods) myMatrix <- matrix(runif(1e4), ncol=100) ## silly, but sufficient for example myPCA <- pca(myMatrix) ## creates a "pcaRes" S4 class...
2012 Apr 24
2
How do i read the source code of "biplot"?
> biplot standardGeneric for "biplot" defined from package "stats" function (x, ...) standardGeneric("biplot") <environment: 0x0d4444d8> Methods may be defined for arguments: x Use showMethods("biplot") for currently available ones. > > > showMethods("biplot") Function: biplot (package stats) x="ANY"
2005 Aug 26
1
Help in Compliling user -defined functions in Rpart
...ss rci<-2*rcss/rss devlci<-abs(lci)*(1-abs(lci)) devrci<-abs(rci)*(1-abs(rci)) goodness<-devci-0.5*(lw/sum(wt))*devlci-0.5*(rw/sum(wt))*devrci list(goodness=goodness, direction=sign(lci)) } } alist<-list(eval=temp.eval,split=temp.split,init=temp.init) tree<-rpart(u~pcares+antcare.skilled+riskintb+child.born+married+mage1+mage2, weights=popweight,method=alist)