search for: transect_vari

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

2007 Jul 16
0
Basic missing values question...
...ng values, which crashes the function. I have tried na. options in the function, but the function doesn't recognize them. I have also tried an if-else loop to skip over fields with missing values. How can I deal with these missing values? Here's the code: 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 Trans...