search for: pprod

Displaying 4 results from an estimated 4 matches for "pprod".

Did you mean: prod
2012 Oct 30
4
There is pmin and pmax each taking na.rm, how about psum?
Hi, Please consider the following : x = c(1,3,NA,5) y = c(2,NA,4,1) min(x,y,na.rm=TRUE) # ok [1] 1 max(x,y,na.rm=TRUE) # ok [1] 5 sum(x,y,na.rm=TRUE) # ok [1] 16 pmin(x,y,na.rm=TRUE) # ok [1] 1 3 4 1 pmax(x,y,na.rm=TRUE) # ok [1] 2 3 4 5 psum(x,y,na.rm=TRUE) [1] 3 3 4 6 # expected result Error: could not find function "psum" # actual result
2008 Mar 13
0
Need help with plm, cannot load pdata.frame
...essages: * > library(plm) Loading required package: kinship Loading required package: survival Loading required package: splines Loading required package: nlme Loading required package: lattice > library(Ecdat) > data(Produc) > pdata.frame(Produc,"state","year","pprod") Error: could not find function "pdata.frame"* I've tried the same codes on both PC and MAC with R 2.6.2. Neither of the systems worked. Please help. Thanks. Edward [[alternative HTML version deleted]]
1998 Oct 16
3
mean and sd of each serial position
I want to do something like this in R. If I have three vectors > a1 [1] 1 2 3 > a2 [1] 4 5 6 > a3 [1] 9 10 7 I want to compute 1. A vector that is the mean at each serial position of a1, a2, and a3. so in this example it would have the contents 4.667, 5.667, 5.333333 2. A vector that is the SD at each serial position of a1, a2, and a3. so in this example it would have the contents
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...; preds = %mnzer2, %for.end67, %for.end, %eisneg.exit, %if.then13, %if.then3, %if.then ret void } define internal fastcc i32 @emulm(i16* nocapture %a, i16* nocapture %b, %struct.LDPARMS* nocapture %ldp) nounwind { entry: %p.i = alloca [13 x i16], align 2 %pprod = alloca [13 x i16], align 2 %arraydecay = getelementptr inbounds %struct.LDPARMS* %ldp, i32 0, i32 9, i32 0 %0 = load i16* %b, align 2, !tbaa !5 store i16 %0, i16* %arraydecay, align 2, !tbaa !5 %arrayidx3 = getelementptr inbounds i16* %b, i32 1 %1 = load i16* %arrayidx3, align 2, !tbaa...