Displaying 1 result from an estimated 1 matches for "birdmatrixclean".
2013 Jan 18
1
Object created within a function disappears after the function is run
...us, but I'd
appreciate your help if you can see what I'm doing wrong.
Many thanks,
Mark Na
rm(list=ls())
#LOAD package, data, and keep clean copies of data
library(reshape2); library(MuMIn);library(AICcmodavg)
birdmatrix<-read.csv("birdmatrix.csv",stringsAsFactors=FALSE);
birdmatrixclean<-birdmatrix
habitatmatrix<-read.csv("habitatmatrix.csv",stringsAsFactors=FALSE);
habitatmatrixclean<-habitatmatrix
traits<-read.csv("traits.csv",stringsAsFactors=FALSE); traitsclean<-traits
birdhabitat<-merge(birdmatrix,habitatmatrix,by="SARBASINYEAR"...