search for: leaid

Displaying 2 results from an estimated 2 matches for "leaid".

Did you mean: laid
2009 Dec 30
1
NA or work around ??
...(na.action. and other things), but I can't see to figure this out. I'm guessing this is so simple I'll feel foolish for asking, but here goes. Thanks, L.A. Dataset$Rcil=with(Dataset, ifelse(Rpr >= .95, Dataset[,"percentchgn"], NA)) Dataset$LLCI<-with(Dataset, ave(Rcil, LEAID, Property, FUN=function(x)max(x))) LEAID percentchgn Property Rpr Rcil LLCI 12 2036 12.190220 UNSOLD 0.9999237 12.190220 16.09097 13 2036 14.741559 UNSOLD 0.9992714 14.741559 16.09097 14 2036 15.882518 UNSOLD 0.9955750 15.882518 16.09097 15 2036...
2009 Dec 09
1
by function ??
I'm just learning and this is probably very simple, but I'm stuck. I'm trying to understand the by(). This works. by(TestData, LEAID, summary) But, This doesn't. by(TestData, LEAID, median(RATIO)) ERROR: could not find function "FUN" HELP! Thanks, LA -- View this message in context: http://n4.nabble.com/by-function-tp955789p955789.html Sent from the R help mailing list archive at Nabble.com.