Displaying 2 results from an estimated 2 matches for "nprobability".
Did you mean:
probability
2015 Sep 29
1
Error possibly related with environments/namespace
Hello all,
I've got a problem with a function in a R package I've developed
(MetaLandSim).
One of the outputs of my function is the plotting of four images (combining
a graph and a map). This plotting is made in a graphical device, with the
graph in one side and the map in the other.
My function works perfectly fine until it has to plot the map. Then it
stops and I get an error.
2010 Jun 14
1
script development for Unconditional Density and Probability estimation
...p0 <- cattail.d0.f(AnnualDepth) * (1 - spbase.rate.d1)
p1/(cattail_0+cattail_1)
}
x <- 1:1292
y <- p.d.given.AnnualDepth(x, spbase.rate.d1)
plot (x, y, type='l', col='red', xlab='Mean Annual Depth',
main=c("Cattail"), ylab='estimated\nProbability(cattail|AnnualDepth)')
plot (cattail.d0.density, col ='red', lty= 1, main = "")
lines(cattail.d1.density, col = 'blue', lty=1)
lines(annualDepth.density , col='black', lty = 1)
legend(2000, 0.0023, c("No Cattail", "Cattail", "Mea...