powered by
Periodic function used to compute the variance-covariance matrix of the fields of the landscape.
periodic_cov(d, range, phi = 1)
a numeric object containing pairwise distances between the centroids of the fields
range (half-period of oscillations)
amplitude of the oscillations
An object of the same type as d.
The periodic covariance is defined by exp(-2 * sin(dpi/(2range))^2 / phi^2). It is used to generate highly fragmented or highly aggregated landscapes.
# NOT RUN { periodic_cov(10, range = 5) # }
Run the code above in your browser using DataLab