Plots contributions histogram and \(cos^2\) scatterplot.

## Usage

```
plot_contributions(object, ...)
plot_cos2(object, ...)
# S4 method for MultivariateAnalysis
plot_contributions(
object,
margin = 2,
axes = 1,
sort = TRUE,
decreasing = TRUE,
limit = 10,
fill = "grey30",
border = "grey10"
)
# S4 method for MultivariateAnalysis
plot_cos2(
object,
margin = 2,
axes = c(1, 2),
active = TRUE,
sup = TRUE,
sort = TRUE,
decreasing = TRUE,
limit = 10,
fill = "grey30",
border = "grey10"
)
```

## Arguments

- object
- ...
Currently not used.

- margin
A length-one

`numeric`

vector giving the subscript which the data will be returned:`1`

indicates individuals/rows (the default),`2`

indicates variables/columns.- axes
A length-one

`numeric`

vector giving the dimensions to be plotted.- sort
A

`logical`

scalar: should the data be sorted?- decreasing
A

`logical`

scalar: should the sort order be decreasing? Only used if`sort`

is`TRUE`

.- limit
An

`integer`

specifying the number of top elements to be displayed.- fill, border
A

`character`

string specifying the bars infilling and border colors.- active
A

`logical`

scalar: should the active observations be plotted?- sup
A

`logical`

scalar: should the supplementary observations be plotted?

## See also

Other plot:
`plot_coordinates`

,
`plot_eigenvalues`

## Examples

```
## Load data
data("zuni", package = "folio")
## Compute correspondence analysis
X <- ca(zuni)
## Plot observations
plot(X)
## Screeplot
plot_variance(X)
```