Description Usage Arguments Value Examples

Removes all the rows where variables have value `.total`

.

1 | ```
only_joint(.cube, .total = "Totale", .variables = NULL)
``` |

`.cube` |
a datacube with 'Totale' modalities |

`.total` |
modality to eliminate (filter out) (default: "Totale") |

`.variables` |
a character vector with the names of the categorical variables |

a subset of the data cube with only the combinations of all variables modalities, without the "margins".

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
data(invented_wages)
str(invented_wages)
vars <- c("gender", "education")
tmp <- dcc2(.data = invented_wages,
.variables = vars,
.fun = jointfun_,
order_type = extract_unique2)
tmp
str(tmp)
only_joint(tmp, .variables = vars)
# Compare dimensions (number of groups)
dim(tmp)
dim(only_joint(tmp, .variables = vars))
``` |

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.