

   LLaagg SSccaatttteerr PPlloott

        lagplot(point.obj, pairs.obj, v1, v2=v1, lag=1, std=F, query.a, xlim, ylim)

   AArrgguummeennttss::

   point.obj: a point object generated by `point()'

   pairs.obj: a pairs object generated by `pairs()'

         v1: a variable to plot

         v2: an optional variable name, if entered the plot
             will be created between `v1' and `v2'

        lag: the lag to plot

        std: a logical variable indicating whether the data
             should be standardized to their means and standard
             deviations before plotting

    query.a: an optional variable name, if entered, the value
             of the variable will be displayed on the graphics
             device for points identified by the user.

       xlim: a vector of length 2 indicating the x limits of
             the graphics page

       ylim: a vector of length 2 indicating the y limits of
             the graphics page

   DDeessccrriippttiioonn::

        Create a spatially lagged scatter plot, e.g. plot z(s)
        versus z(s+h), where h is a lag in a pairs object.

   VVaalluuee::

        NULL

   NNoottee::

        When `query.a' is entered, the user will be prompted to
        identify points on the display device. Because each
        point in the plot represents a pair of locations, the
        user must identify each point twice, once for the
        "from" point and once for the "to" point. Querying is
        ended by pressing the middle mouse button on the mouse
        while the cursor is in the display window.

   RReeffeerreenncceess::

        http://www.gis.iastate.edu/SGeoStat/homepage.html

   SSeeee AAllssoo::

        `point', `pairs'

   EExxaammpplleess::

        lagplot(maas.pts,maas.pairs,'zinc')
        lagplot(maas.pts,maas.pairs,'zinc',lag=2,query.a='zinc')

