| substitute_component.dist_structure | R Documentation |
Return a new dist_structure with the j-th component replaced by
new_component. Topology is preserved; the returned object is a
coherent_dist with the same min_paths and the modified component
list.
## S3 method for class 'dist_structure'
substitute_component(x, j, new_component)
substitute_component(x, j, new_component)
x |
A dist_structure object. |
j |
Component index. |
new_component |
A dist-compatible object to install at position j. |
A new dist_structure object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.