Description Usage Arguments Value Author(s)
The function loops through each group and tests if cLO or cUP have been violated
for the given group. This is a helper function for rp_transform
.
1 | group_fail(weights, groups, cLO, cUP, group_pos = NULL)
|
weights |
weights vector to test |
groups |
list of vectors specifying the groups of the assets |
cLO |
numeric or vector specifying minimum weight group constraints |
cUP |
numeric or vector specifying minimum weight group constraints |
group_pos |
vector specifying the number of non-zero weights per group |
logical vector: TRUE if group constraints are violated for a given group
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.