validateAndConvertVectorInputs {Gmisc} | R Documentation |
Checks the input of a vector
Description
It checks that a vector makes sense in its grid parameters. It also creates an origo at point 0 if none is provided.
Usage
validateAndConvertVectorInputs(x, y, x_origo, y_origo)
Arguments
x |
The x point of the vector |
y |
The y point of the vector |
x_origo |
The x origin if other than 0 |
y_origo |
The y origin if other than 0 |
Value
list with the input variables checked and converted if necessary.
[Package Gmisc version 3.0.3 Index]