Usage Arguments Value Examples
1 | CheckRowSums(x, total = 100, cols = NULL)
|
x |
data.frame or matrix |
total |
The true total value. |
cols |
integer vector with the columns of |
a logical vector with TRUE
in the rows wich are equal to total
1 2 3 | CheckRowSums(iris[1:5,1:3], total = 10)
CheckRowSums(iris[1:5,1:3], total = 10, cols = c(1,2))
CheckRowSums(iris[1:5,1:3], total = rowSums(iris[1:5,1:3]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.