CategoryVector: Coordinate of simplex vertices

Description Usage Arguments Value Examples

View source: R/SphereKaji20140527.R

Description

Coordinate of simplex vertices

Usage

1

Arguments

d

Number of vertices of a simplex

Value

d times (d-1) matrix, each row of which is a coordinate of a vertex of (d-1)-simplex, whose center is the origin and distance of whose vertices from the origin is 1

Examples

1
2
3
4
5
d <- 3
cv <- CategoryVector(d)
print(cv)
apply(cv^2,1,sum)
cv %*% t(cv) 

ryamada22/mwaytable documentation built on May 28, 2019, 10:44 a.m.