Description Usage Arguments Details Examples
This function generates decisions at each node about management
1 2 3 4 5 6 7 8 9 | makedec(
comvec,
geocoords4n,
probadoptmean4,
probadoptsd4,
readprobadoptvec4,
probadoptvec4,
plotmp = F
)
|
comvec |
vector of 1=info is present, 0=info is not present |
geocoords4n |
matrix of x,y coordinates for the nodes, for mapping if |
probadoptmean4 |
mean probability of adopting management if informed |
probadoptsd4 |
sd for drawing probability of adoption, in truncated normal distribution |
readprobadoptvec4 |
if T, then a VECTOR of probadoptvec4 values is read in - if F, |
probadoptvec4 |
vector of probabilities of adoption if informed for nodes in the network ( |
plotmp |
if T, then map of decision is plotted |
Updated 2020-09-05
1 2 3 | x5 <- makedec(comvec=c(1,1,1,0,0,0), geocoords4n=matrix(c(1,1, 1,2, 1,3, 2,1, 2,2, 2,3), byrow=T,ncol=2), readprobadoptvec4=F, probadoptmean4=0.1, probadoptsd4 =0.1, plotmp=T)
x6 <- makedec(comvec=c(1,1,1,0,0,0), geocoords4n=matrix(c(1,1, 1,2, 1,3, 2,1, 2,2, 2,3), byrow=T,ncol=2), readprobadoptvec4=F, probadoptmean4=0.5, probadoptsd4 =0.1, plotmp=T)
x7 <- makedec(comvec=c(1,1,1,0,0,0), geocoords4n=matrix(c(1,1, 1,2, 1,3, 2,1, 2,2, 2,3), byrow=T,ncol=2), readprobadoptvec4=T, probadoptvec4=c(0.1,0.1,0.9,0.1,0.2,0.3), plotmp=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.