This command computes an estimate of the L-function
  for a spatial point pattern.
  The L-function is a transformation of Ripley's K-function,
  $$L(r) = \sqrt{\frac{K(r)}{\pi}}$$
  where $K(r)$ is the K-function.  See Kest for information
  about Ripley's K-function.
  The command Lest first calls
  Kest to compute the estimate of the K-function,
  and then applies the square root transformation.
  For a completely random (uniform Poisson) point pattern,
  the theoretical value of the L-function is $L(r) = r$.
  The square root also has the effect of stabilising
  the variance of the estimator, so that L is more appropriate
  for use in simulation envelopes and hypothesis tests.