Displaying 1 result from an estimated 1 matches for "n46".
Did you mean:
46
2007 Jul 16
0
Basic missing values question...
...var.df<-read.table("Transect_variance.csv",sep=",",header=TRUE, 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]=="&q...