# search for: beaver1

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

Did you mean: beaver
2017 Dec 28
1
Why aov() with Error() gives three strata?
...g only the two first strata. Is it possible to have two or three strata depending on the data? If there is always three strata, how this would fit the interpretation of between vs within effects? Below a reproducible example that gives three strata: data(beavers) data=data.frame(id = rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))),rbind(beaver1,beaver2)) data\$activ=factor(data\$activ) #balance dataset to have 6 samples for every combination of beaver and activity. balanced = split(data,interaction(data\$id,data\$activ)) sizes = sapply(balanced,nrow) selected = lapply(si...
2017 Dec 28
1
Why aov() with Error() gives three strata?
...ssible to have two or three strata depending on the data? > If there is always three strata, how this would fit the interpretation of > between vs within effects? > > Below a reproducible example that gives three strata: > > data(beavers) > data=data.frame(id = > rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))),rbind(beaver1,beaver2)) > data\$activ=factor(data\$activ) > #balance dataset to have 6 samples for every combination of beaver and > activity. > balanced = split(data,interaction(data\$id,data\$activ)) > sizes = sapply(balanced,n...
2017 Dec 28
1
Why aov() with Error() gives three strata?
...ding on the data? > > If there is always three strata, how this would fit the interpretation of > > between vs within effects? > > > > Below a reproducible example that gives three strata: > > > > data(beavers) > > data=data.frame(id = > > rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))), > rbind(beaver1,beaver2)) > > data\$activ=factor(data\$activ) > > #balance dataset to have 6 samples for every combination of beaver and > > activity. > > balanced = split(data,interaction(data\$id,data\$activ)) >...
2017 Dec 29
1
Why aov() with Error() gives three strata?
...> If there is always three strata, how this would fit the interpretation of >>> between vs within effects? >>> >>> Below a reproducible example that gives three strata: >>> >>> data(beavers) >>> data=data.frame(id = >>> rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))), >> rbind(beaver1,beaver2)) >>> data\$activ=factor(data\$activ) >>> #balance dataset to have 6 samples for every combination of beaver and >>> activity. >>> balanced = split(data,interaction(data\$id,d...