Modification of the 'render_proj' Function of 'tourr'
render_proj_inter.Rd
Modification of the render_proj() function of tourr so that the half_range is calculated with max(sqrt(rowSums(data^2))) or can be provided as argument.
Usage
render_proj_inter(
data,
prj,
half_range = NULL,
axis_labels = NULL,
obs_labels = NULL,
limits = 1,
position = "center"
)
Arguments
- data
matrix, or data frame containing numeric columns, should be standardized to have mean 0, sd 1
- prj
projection matrix
- half_range
for scaling in the display, by default calculated from the data
- axis_labels
of the axes to be displayed
- obs_labels
labels of the observations to be available for interactive mouseover
- limits
value setting the lower and upper limits of projected data, default 1
- position
position of the axes: center (default), bottomleft or off