Description Usage Arguments Value Examples
The function checks if a point (one row in the input argument) is inside the standard simplex \{\vec{x} \in R^n : x_i ≥q, \Vert x \Vert_1 ≤q 1 \} or not. If the input matrix contains entries that are not numeric, i.e., not representing real numbers, the function throws an error. The dimension n is automatically inferred from the input matrix and is equal to the number of columns.
1 |
x |
Matrix with numeric entries. Each row represents one point |
Vector where each element (TRUE or FALSE) indicates if a point is in the standard simplex
1 2 | x <- matrix(rnorm(30),10,3)
checkStandardSimplex(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.