Learn R Programming

plot3logit (version 2.2.0)

versor: Computes the versor

Description

Given an n-dimensional space, the k-th versor is returned.

Usage

versor(k, n, simplify = TRUE)

Arguments

k

order of the versor.

n

dimension of the space.

simplify

if TRUE, a numeric is returned, otherwise versor returns a column matrix.

Examples

Run this code
# NOT RUN {
plot3logit:::versor(1, 3)
plot3logit:::versor(3, 6)
plot3logit:::versor(3, 6, FALSE)

# }

Run the code above in your browser using DataLab