Description Usage Arguments Value

View source: R/LG_select_points.R

The purpose of this function is to create the "points to inspect"-argument needed for the local Gaussian investigation.

1 | ```
LG_select_points(.P1, .P2, .shape)
``` |

`.P1` |
A bivariate vector, with values in the range (0,1), that
gives the first endpoint. A single number will be accepted, in
which case it will be registered as a diagonal point. The
values will be converted by |

`.P2` |
A bivariate vector, with values in the range (0,1), that
gives the second endpoint. A single number will be accepted,
in which case it will be registered as a diagonal point. The
values will be converted by |

`.shape` |
A bivariate vector of integers, that describes the
shape of the resulting "grid". Note that it is required that
the first component of |

An array containing points computed according to the rules
specified under the description of the shape-argument. The
three arguments `.P1`

, `.P2`

and `.shape`

will
be stored as attributes, together with three additional
attributes `Shape`

, `Horizontal`

and `Vertical`

,
of which the last two will specify the points at the corner of
the grid, whereas `Shape`

will contain the value "point"
if `.P1`

and `.P2`

are equal, the value "rectangle"
if `.shape`

contains two positive integers, or else it
will contain the value "line.". The result will in addition
have the class-attribute "LG_points"

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.