Displaying 1 result from an estimated 1 matches for "matplot2".
Did you mean:
matplot
2012 Mar 20
1
Problem in loop
...oop
I tried the following using package POPBIO,
total <-matrix(0, nrow=5, ncol=60)
for(i in 1:10){
A1<-A
A1[1,2] <- A2[1,2]
A1[1,3]<-A2[1,3]
A1[2,1]<-A2[2,1]
A1[3,2]<-A2[3,2]
n <-runif(3)
n <- n/sum(n)
p1<-pop.projection(A1,n,60)
total[i,] <- p1$pop.sizes}
matplot2(total, legend=NA,xlab=c(years))
but i not view change in population
Thanks in advance
Fidel M.
[[alternative HTML version deleted]]