Displaying 3 results from an estimated 3 matches for "plotn".
Did you mean:
plot
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 AbundanceN AbundanceN... AbundanceN
This is a basic operation used in t...
2013 Jan 04
1
group variables in classes
...If I use this script I have a
problem.
classes <- function(x, n){
s <- seq(0, ceiling(max(x)), by = n)
factor(n*findInterval(x, s), levels = s)
}
z<-sapply(tapply(t$d,t$plot,function(x) classes(t$d, 4)),table)
z<-cbind(z)
Thank you!
Initial data:
nr x y d plot plotn xplot yplot
121 162 50.26989 46.230 55.00 1 NA NA NA
120 160 43.05703 41.096 12.50 2 NA NA NA
1211 162 50.26989 46.230 55.00 2 NA NA NA
143 130 48.29959 59.406 42.00 2 NA NA NA
144 131 49.56329 55.866 79.50 2 NA NA NA
145 161 55.20783...
2013 Sep 19
3
lattice: double y - problem changing axis color after doubleYScale
...sd = sd(Ppercentcell))
library(lattice)
library(latticeExtra)
library(HH)
font.settings <- list( font = 1, cex = 1.2, fontfamily = "serif")
my.theme <- list(
par.xlab.text = font.settings,
par.ylab.text = font.settings,
axis.text = font.settings,
par.sub=font.settings)
plotN <- xyplot(mean ~ Week | Station*fyear,
col="black",
pch=1,
cex=1.1,
lty=1,
strip = strip.custom(bg = 'white', style=1), # why can I not use fontfamily="serif" here ???
key=...