s.hist | R Documentation |
performs a scatterplot and the two marginal histograms of each axis.
s.hist(dfxy, xax = 1, yax = 2, cgrid = 1, cbreaks = 2, adjust = 1, ...)
dfxy |
a data frame with two coordinates |
xax |
column for the x axis |
yax |
column for the y axis |
cgrid |
a character size, parameter used with |
cbreaks |
a parameter used to define the numbers of cells for the histograms. By default,
two cells are defined for each interval of the grid displayed in |
adjust |
a parameter passed to |
... |
further arguments passed from the |
The matched call.
Daniel Chessel
data(rpjdl) coa1 <- dudi.coa(rpjdl$fau, scannf = FALSE, nf = 4) s.hist(coa1$li) s.hist(coa1$li, cgrid = 2, cbr = 3, adj = 0.5, clab = 0) s.hist(coa1$co, cgrid = 2, cbr = 3, adj = 0.5, clab = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.