Hi all,
I have some errors with my dispersal matrices I cannot fix.
My number of patch of my matrix is 1628, and I have built my full dispersal matrices and reduced connectivity and rate matrices with this number of rows. Howver, as in some patches there are no trees, I have empty rows like this
{{}
{}
{}
{}
{5,4 etc.
is this correct? I have the following errors when I try to run the simulation
# DISPERSAL
dispersal_matrix &NEMO_seed_dispersal_matrix.txt
***ERROR*** the size of the female dispersal matrix is not equal to patch_number X patch_number (2650384[1628,1628] != 40335201)!
# OR
dispersal_model 1
dispersal_connectivity_matrix &NEMO_seed_connectivity_matrix.txt
dispersal_reduced_matrix &NEMO_seed_rate_matrix.txt
***ERROR*** The female connectivity dispersal matrix must have as many rows as the number of patches in the population
But when I check the dimensions of my matrices,
dim(connectivity and dispersal matrix) = 1628 x 1628 !!!
Is it a problem of handling empty rows perhaps? or else?
Attached my script and my matrices!!
thanks for any input!
Camilla