search for: beana

Displaying 1 result from an estimated 1 matches for "beana".

Did you mean: beanz
2005 May 04
1
stratified bootstrap with boot
Hello, I am new to R, and am having trouble getting the output I want from a stratified bootstrap. I didn't recieve a reply the first time I posted this question so I have tried to make it more clear. My data frame (denboot) is set up as follows: SITE cswa parea treat 1 BeanA 3 1.20 m 2 BeanBC 3 1.05 m 3 BeanD 1 0.93 m 4 BlackB 1 1.01 m 5 Brooks 3 4.00 b 6 BullL 3 1.32 b 7 BullM 1 0.20 m 8 BullU 4 2.06 b ... #Here is my code: cswafun <- function(denboot, i) sum(cswa[i])/...