This function produces dispersal scenarios, considering different habitat networks properties, evaluating the variation in dispersal speed and dispersal maximum distance (of range expansion).
manage_expansion_sim(mapsize, dist_m, areaM, areaSD, Npatch,percI,
param, b=1, tsteps, iter, variable,var_min,var_max,by)
Landscape mosaic side length, in meters. To be internally passed to rland.graph
Minimum distance between patches (centroid).To be internally passed to rland.graph
Mean area (in hectares). To be internally passed to rland.graph
SD of the area of patches, in order to give variability to the patches area. To be internally passed to rland.graph
Number of patches. To be internally passed to rland.graph
Percentage of patch occupancy in the starting landscape. To be internally passed to range_expansion
Parameter data frame delivered by parameter.estimate
. To be internally passed to range_expansion
It includes:
alpha - Parameter relating extinction with distance.
y - Parameter y in the colonization probability.
e - Parameter defining the extinction probability in a patch of unit area.
x - Parameter scaling extinction risk with patch area.
Parameter scaling emigration with patch area (if conn='op1' or 'op2') in spom
. By default, equal to 1.To be internally passed to range_expansion
Number of time steps to simulate (e.g. years).
Number of iterations of the simulation procedure.
Landscape graph characteristic to be varied. One of the following:
area - Mean patch area (in hectares).
dist - Minimum distance between patches (centroid).
npatch - Number of patches.
sizevar - SD of the area of patches.
Minimum value the changing variable can assume (beware of units used in each case).
Maximum value the changing variable can assume (beware of units used in each case).
Rate of variation of the changing variable.
Returns a list of eight data frames. For the first four data frames (NORTH, SOUTH, EAST and WEST) each data frame's first column is the name of the variable to be changed. The other two columns are:
Expansion speed in each simulated scenario. Speed given in km/time step
Maximum distance of the expanded range, from an occupied site. Given in km.
This function might be time consuming, and the code is experimental and should be improved in future versions of MetaLandSim.
For details regarding the arguments that are to be internally passed to other functions, see the respective functions. Any of the arguments dist_m, areaM, areaSD, Npatch would be unnecessary if the respective variable is the one to be evaluated (it depends on the parameter variable).
# NOT RUN {
# }
# NOT RUN {
data(param1)
sim_range <- manage_expansion_sim(mapsize=1000, dist_m=0, areaM, areaSD=0.001,
patch=300,percI=50, param=param1, b=1,
tsteps=100, iter=100,variable="area",var_min=0.01,
var_max=0.6,by=0.1)
# }
Run the code above in your browser using DataLab