composition | R Documentation |
egor
objectcomposition()
calculates the proportional or absolute composition of
alters for a given attribute/variable.
composition(object, alt.attr, absolute = FALSE)
object |
An |
alt.attr |
A |
absolute |
|
A tibble
with the ego ID and values per category of alt.attr
as numeric
columns.
data("egor32")
composition(egor32, "sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.