Displaying 2 results from an estimated 2 matches for "mehault".
Did you mean:
default
2007 Dec 07
5
Grouping by interval
Hello,
I have a dataframe of say 20 lines with one line per individual. I want to group these 20 individuals
by length class (eg. of 5cm) and get the mean value of all the other variables (eg VarA and VarB) for each length class
My dataframe is as follow:
Length <- 10:30
VarA <- seq(1000,1200,10)
VarB <- seq(500,700,10)
Data <- cbind(Length,VarA,VarB)
And I want to get something
2007 Aug 30
1
t-test within tapply
Hello,
My data are as following:
Data <- data.frame(Ind=rep(1:3,c(10,10,10)),
Replicate=rep(c(rep("a",5),rep("b",5)),3),
EggSize=rep(rnorm(5,mean=10),6)
)
attach(Data)
Using a t-test, I want to check if the mean egg sizes are significantly
different between replicates a and b for each individuals