Skip to contents

Facets from a table with one row per cell and one column per demographic family

Usage

facets_from_frame(
  frame,
  cell = "cell_id",
  families = NULL,
  orders = NULL,
  missing = MISSING_TOKENS
)

Arguments

frame

A data frame with a cell column and one column per family.

cell

Cell label column.

families

Family columns, or NULL for every other column.

orders

Named list of level orders by family; unlisted levels follow, sorted.

missing

Values read as a missing level.

Value

A popfidelity_facets object.