View source: R/correspondence.h.R
correspondence | R Documentation |
Correspondence Analysis
correspondence(
data,
labels,
vars,
nd = 2,
chi = TRUE,
eigen = FALSE,
rowvar = "coordinates",
loadingind = FALSE,
colvar = "coordinates",
loadingvar = FALSE,
plot1 = TRUE,
plot2 = FALSE,
plot3 = FALSE,
plot4 = FALSE,
width4 = 500,
height4 = 500,
width3 = 500,
height3 = 500,
width2 = 500,
height2 = 500,
width1 = 500,
height1 = 500
)
data |
The data as a data frame. |
labels |
. |
vars |
. |
nd |
. |
chi |
. |
eigen |
. |
rowvar |
. |
loadingind |
. |
colvar |
. |
loadingvar |
. |
plot1 |
. |
plot2 |
. |
plot3 |
. |
plot4 |
. |
width4 |
. |
height4 |
. |
width3 |
. |
height3 |
. |
width2 |
. |
height2 |
. |
width1 |
. |
height1 |
. |
A results object containing:
results$instructions | a html | ||||
results$chi | a table | ||||
results$eigen | a table | ||||
results$loadingvar | a table | ||||
results$loadingind | a table | ||||
results$plot4 | an image | ||||
results$plot1 | an image | ||||
results$plot2 | an image | ||||
results$plot3 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$chi$asDF
as.data.frame(results$chi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.