Skip to content

Create univariate graph function #14

@scheidec

Description

@scheidec

Proposed syntax:

univariate_plot(tbl, x, xlab)

where

  • tbl is the dataframe containing x
  • x is the variable of interest
  • xlab is the x-axis label which defaults to the label metadata but uses the variable name if empty

Outputs:

  • If x is categorical --> bar graph where y-axis is labeled Percent (%) and bars are labeled with counts
  • If x is continuous --> histogram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions