Learn R Programming

Gmisc (version 3.0.3)

validateAndConvertVectorInputs: 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)

Value

list with the input variables checked and converted if necessary.

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