Learn R Programming

soc.ca (version 0.8.1)

add.category.relations: Add category relations to a soc.ca plot

Description

Add category relations to a soc.ca plot

Usage

add.category.relations(
  r,
  cat.rel = filter(get.category.relations(r, dim = dim), valid.correlation),
  dim = c(1, 2),
  mapping = aes(alpha = pem),
  ...
)

Arguments

r

a soc.mca result object

cat.rel

a tibble with category relations like the one produced by get.category.relations

dim

plotting dimensions

mapping

aesthetics passed on to geom_segment

...

further arguments are passed on to geom_segment