Displaying 2 results from an estimated 2 matches for "cp12".
Did you mean:
cp1
2013 Feb 01
29
cumulative sum by group and under some criteria
...ote:
> Hi,
> Try this:
> colnames(d)<-c("m1","n1","x1","y1","p11","p12")
> library(zoo)
> res1<- do.call(rbind,lapply(lapply(split(d,list(d$m1,d$n1)),function(x)
> {x$cp11[x$x1>1]<- cumsum(x$p11[x$x1>1]);x$cp12[x$y1>1]<-
> cumsum(x$p12[x$y1>1]);x}),function(x)
> {x$cp11<-na.locf(x$cp11,na.rm=F);x$cp12<- na.locf(x$cp12,na.rm=F);x}))
> #there would be a warning here as one of the list element is NULL. The,
> warning is okay
> row.names(res1)<- 1:nrow(res1)
> res1[,7:8][i...
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...59-9
+ ISO-8859-10
+ ISO-8859-11
+ ISO-8859-12
+ ISO-8859-13
+ ISO-8859-14
+ ISO-8859-15
+ ISO-8859-MAX
+
+ KOI8
+ KOI8-U
+ ALTERNATIVE
+ BULGARIAN
+
+ CP437
+ CP850
+ CP852
+ CP855
+ CP866
+
+ CP874
+ CP932
+ CP936
+ CP949
+ CP950
+ CP1250
+ CP1251
+ CP1252
+ CP1253
+ CP1254
+ CP1255
+ CP1256
+ CP1257
+ CP12-MAX
+
+ UTF7
+ UTF8
+ EUC-JP
+ UTF16BE
+ UTF16LE
+ UTF32BE
+ UTF32LE
+
+ MACROMAN
+ MACJAPANESE
+ MACCHINESETRAD
+ MACKOREAN
+ MACARABIC
+ MACHEBREW
+ MACGREEK
+...