gen_axes | R Documentation |
Generate Axes for Projection
gen_axes(
proj,
limits = 1,
axis_pos_x = NULL,
axis_pos_y = NULL,
axis_labels,
threshold = 0
)
proj |
A projection matrix or data frame. |
limits |
Numeric value specifying axis limits (default: 1). |
axis_pos_x |
Optional numeric value for x-axis position. |
axis_pos_y |
Optional numeric value for y-axis position. |
axis_labels |
A vector of axis labels. |
threshold |
A numeric threshold value (default: 0). |
A modified projection with added axis elements.
projection_df <- cbind(
c(-0.17353,-0.02906,0.19857,0.00037,0.00131,-0.05019,0.03371),
c(-0.10551,0.14829,-0.02063,0.02658,-0.03150,0.19698,0.00044))
gen_axes(proj = projection_df, axis_labels = paste0("x", 1:7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.