validateAndConvertVectorInputs: Checks the input of a vector

Description Usage Arguments Value

View source: R/bezier_private_functions.R

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

1
validateAndConvertVectorInputs(x, y, x_origo = NA, y_origo = NA)

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.


raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.