Description Usage Arguments Details Value Author(s) References See Also Examples
IsVector()
returns TRUE
if v
is a vector,
and FALSE
otherwise.
1 2 3 4 5 6 7 |
v |
Input. |
A vector is an array of numbers, symbols, or expressions, typically denoted by lowercase roman letters such as \mathbf{v} and \mathbf{u}.
v
is considered to be a vector
if is.vector(v)
returns TRUE
or
v
is a matrix
and dim(v)[1] == 1 | dim(v)[2] == 1
returns TRUE
.
Logical.
Ivan Jacob Agaloos Pesigan
Wikipedia: Row and column vectors
Other predicate functions:
IsDiagonal()
,
IsIdempotent()
,
IsInvertible()
,
IsMatrix()
,
IsNilpotent()
,
IsOrthogonal()
,
IsPositiveDefinite()
,
IsScalar()
,
IsSingular()
,
IsSquareMatrix()
,
IsSymmetric()
,
MatrixCheck()
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.