View source: R/functions_description.r

breakdown.variance | R Documentation |

Defining a partition of the cloud of individuals into groups, one can calculate the midpoints of the various groups. The total variance of the cloud of individuals can then be broken down to betweenâ€“within variances, i.e. variance between the groups partitioning the cloud, and variance within the groups The ratio of the between-variance to the total variance is denoted by n2 (eta-square), and accounts for the percentage of variance 'explained' by the group-variable. (see Le Roux & Rouanet 2010, p. 20ff, 69, 114)

```
breakdown.variance(object, dim = 1:3, variable)
```

`object` |
is a soc.ca class object |

`dim` |
the dimensions |

`variable` |
a factor in the same length and order as the active variables |

a matrix

Le Roux, Brigitte, and Henry Rouanet. 2010. Multiple Correspondence Analysis. Thousand Oaks, Calif.: Sage Publications.

```
example(soc.ca)
breakdown.variance(result, dim = 1:3, variable = sup$Gender)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.