validateAndConvertVectorInputs: Checks the input of a vector

View source: R/bezier_private_functions.R

validateAndConvertVectorInputsR 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.


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.