Skip to content

Error when using the Settle matrix in the latest R #40

Discussion options

You must be logged in to vote

Dear Josh,

the error message is saying that column 3 of the settlement matrix, which contains the values the maximum settlement probability S0 (see the help ?Settlement if you don't know what this is referring to), can only contain values in the half-open interval (0,1], that is: 0 < S0 ≤ 1. Specifically, zero is not allowed. This is the case because individuals would never settle and eternally disperse once they have emigrated. Therefore, you will have to set these values to strictly positive ones. (Note that if the stages concerned (i.e. 1 and 2) have zero emigration probabilities, the values in these rows will have no effect on the simulation result, anyways.)

Not sure why it didn't co…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by annekathleenmalchow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants