Displaying 1 result from an estimated 1 matches for "dcurve".
Did you mean:
curve
2004 Nov 17
1
How to plot this
Hi there,
I produced a plot using the following codes:
y<-rnorm(1000, 2, 0)
x0<-c(0, 0)
y0<-c(0, 0)
y1<-c(0, 1)
x1<-c(0, 4)
plot(density(y), ylab="Abundance of species", xlab="Environmental
gradient", main=" ",
xlim=c(0, 4), ylim=c(0, 1), lty=2, col=4, xaxt="n", yaxt="n",
frame.plot=F)
lines(x0, y1) # add an axis