rvine_structure_sim {rvinecopulib} | R Documentation |
Simulate R-vine structures
Description
Simulates from a uniform distribution over all R-vine structures on d
variables. rvine_structure_sim()
returns an rvine_structure()
object,
rvine_matrix_sim()
an rvine_matrix()
.
Usage
rvine_structure_sim(d, natural_order = FALSE)
rvine_matrix_sim(d, natural_order = FALSE)
Arguments
d |
the number of variables |
natural_order |
boolean; whether the structures should be in natural
order (counter-diagonal is |
See Also
rvine_structure()
, rvine_matrix()
,
plot.rvine_structure()
, plot.rvine_matrix()
Examples
rvine_structure_sim(10)
rvine_structure_sim(10, natural_order = TRUE) # counter-diagonal is 1:d
rvine_matrix_sim(10)
[Package rvinecopulib version 0.6.3.1.1 Index]