tbl2matrix: Convert a tibble to a matrix

View source: R/utils.R

tbl2matrixR Documentation

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

plot3logit:::versor(1, 3)
plot3logit:::versor(3, 6)
plot3logit:::versor(3, 6, FALSE)


plot3logit documentation built on July 19, 2022, 9:07 a.m.