Zoom in or out
zoom.Rd
This function performs a zoom on a ADEg.S1
or ADEg.S2
displayed object.
Arguments
- object
a
ADEg.S1
orADEg.S2
object- zoom
a numeric value to zoom in (if
zoom
> 1) or out (ifzoom
< 1)- center
a numeric value (if
object
is aADEg.S1
object) or a two-length vector (ifobject
is aADEg.S2
object) as a reference point to zoom (in or out). If it ismissing
, the displayed center point is used.
Author
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
Examples
data(olympic, package = "ade4")
dudi1 <- ade4::dudi.pca(olympic$tab, scan = FALSE)
g <- s.corcircle(dudi1$co, lab = names(olympic$tab), fullcircle = TRUE, psub.text = "data:olympic")
zoom(g, 0.5)
zoom(g, 2, center = c(-0.4, 0.8))