Learn R Programming

plot3logit (version 2.2.0)

tbl2matrix: Convert a tibble to a matrix

Description

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

Usage

tbl2matrix(x, .rownames = NULL)

Arguments

n

dimension of the space.

k

order of the versor.

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