Displaying 2 results from an estimated 2 matches for "abundance2".
Did you mean:
abundance
2008 Jan 25
4
Function for translation of a list into a matrix as used by ordination?
Hello.
Does anyone know of an existing function that takes a list in the form of:
Plot1 Species1 Abundance1
Plot1 Species2 Abundance2
Plot2 Species1 Abundance1
Plot2 Species3 Abundance3
.
.
.
PlotN SpeciesN AbundanceN
and translates into a matrix in the form of
Species1 Species2.... SpeciesN
Plot1 Abundance1 Abundance2... AbundanceN
Plot2 Abundance1 Abundance2... AbundanceN
.
.
.
PlotN Abundanc...
2011 Feb 27
3
accessing variables inside a function, inside a loop
...nce of fish, the data is called water. however, my data covers 9
parameters, and since I am lazy as hell, I decided to write a for loop
to pass all the variables to the function. as usual, the variables and
the data frame cannot be found inside the function.
water<-read.csv("Henni/water-abundance2.csv",sep="\t",header=T)
source("functions.R")
attach(water)
names(water):
[1] "site" "sample" "temp" "pH" "DO" "BOD"
[7] "COD" "no3" "no2" &qu...