Description Usage Arguments Author(s) See Also Examples
This function is the constructor for the v1_constraint
object for backwards compatibility.
1 2 |
assets |
number of assets, or optionally a named vector of assets specifying initial weights |
... |
any other passthru parameters |
min |
numeric or named vector specifying minimum weight box constraints |
max |
numeric or named vector specifying minimum weight box constraints |
min_mult |
numeric or named vector specifying minimum multiplier box constraint from initial weight in |
max_mult |
numeric or named vector specifying maximum multiplier box constraint from initial weight in |
min_sum |
minimum sum of all asset weights, default .99 |
max_sum |
maximum sum of all asset weights, default 1.01 |
weight_seq |
seed sequence of weights, see |
Peter Carl, Brian G. Peterson
1 2 | exconstr <- constraint(assets=10, min_sum=1, max_sum=1, min=.01, max=.35,
weight_seq=generatesequence())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.