Displaying 1 result from an estimated 1 matches for "var46".
Did you mean:
var4
2007 Jul 16
0
Basic missing values question...
...E, fill=TRUE)
n.df<-data.frame(cbind(var.df[,1:2],rep(-1,228),rep(-1,228),rep(-1,228),rep(-1,228)))
names(n.df)<-c("Strata","Transect","n35","n45","n36","n46")
#var.df[1:2,]
# Strata Transect ID Var35 Var45 Var36 Var46
# Herb 3-1 Herb 3-1 2.024264 NA 7.182 NA
# Herb 4-1 Herb 4-1 2.232552 2.26 2.360 2.393387
for i in 1:6 {
for j in 1:228 {
if ( var.df[i,j]=="") {n.df[i,j]=="" } else {
power.t.test(delta = 2.5, sd = var.df[i,j], sig.level = 0.1, power =...