Description Usage Arguments Value Author(s) Examples
Checks whether all elements of vector lie between 0 and 1.
1 | .is_weight(x)
|
x |
A vector. |
A logical vector of length one.
J. Gross, A. Moeller.
1 2 3 4 5 | ## Not run:
a <- c(0.3, 0.4, 0.9)
.is_weight(a)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.