Description Usage Arguments Value Examples
Wrapper function for partition
for fixed threshold partitioning
1 | fixed.partition(x, t = 3)
|
x |
A numeric matrix |
t |
Threshold value for use in partitioning. Values in x >= t will become 1 in the return matrix, values in x <= -t will become -1, and values in x between -t and t will become 0 |
A matrix comprising values of 1, 0, and -1 to indicate column-wise partitioning of the input matrix into positive, neither, and negative sets, respectively.
1 2 | x = matrix(rnorm(9), 3, 3)
fixed.partition(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.