Displaying 2 results from an estimated 2 matches for "noutlier".
Did you mean:
outlier
2009 May 14
2
assign unique size of point in xyplot
Hello,I am using xyplot to try and create a conditional plot. Below is a
toy example of the type of data I am working with
slevel <- rep(rep(c(0.5,0.9), each=2, times=2), times=2)
tlevel <- rep(rep(c(0.5,0.9), each=4), times=2)
noutliers <- rep(rep(c(2,4), times=4), times=2)
analysis <- as.factor(rep(c('uv', 'mv'), each=8))
cp <- c(0.9450,0.9525,0.9425,1.0000,0.9425,0.9410,0.900,0.800,0.9050,0.9020,
0.9040,0.9140,0.9400,0.9430,1.000,0.800 )
area <- c(2.896485,4.952239,2.899030, 7.522729,2.827712, 4...
2005 Aug 29
1
Question about SET_LENGTH
...was going to do
until I saw the SET_LENGTH macro. Does this macro effectively take care
of the memory? Is this an acceptable use of the macro? The code works,
but I dont want any lurking memory problems.
PROTECT(outliers = NEW_INTEGER(cel.GetNumOutliers()));
if (i_readOutliers != 0) {
if (noutlier == 0) {
outliers = R_NilValue;
}
else if (noutlier < cel.GetNumOutliers()) {
SET_LENGTH(outliers, noutlier);
}
}
Thanks as always!
jim