A function to compute the theoretical K function for the LGCP.
K.u(u, phi, sig2, model, ...)
Spatial lag at which we wish to find the theoretical K function
Spatial scale parameter value
Spatial variance parameter value
A character string specifying the form of the theoretical spatial correlation function (matches 'model' argument for CovarianceFct in the RandomFields packages)
Additional arguments if required for definition of the correlation function as per 'model'. See ?CovarianceFct (RandomFields)
A single numeric value representing the theoretical K function evaluated at u.