Description Usage Arguments Details Value Examples
Morphing Projections
1 2 3 4 5 | morph_center(proj, half_range)
morph_identity(proj, half_range)
morph_radial(proj, half_range, p_eff)
|
proj |
a projection matrix |
half_range |
scale factor for projection |
p_eff |
Effective dimensionality of reference data set, see |
These functions are designed to alter the resulting
projection after basis generation with the tourr and will change how
the projections are animated with limn_tour()
and limn_tour_link()
.
For morph_center()
the projection is centered and then scaled by
the half range, while morph_identity()
only scales by half range.
morph_radial()
is an implemenation of the burning sage algorithm
available in tourr::display_sage()
.
A matrix with dimensions the same as proj
.
1 2 3 4 5 | proj <- matrix(rnorm(20), ncol = 2)
half_range <- compute_half_range(proj)
morph_center(proj, half_range)
morph_identity(proj, half_range)
morph_radial(proj, half_range, p_eff = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.