Skip to content

Cumulative distribution should be optional #685

@elinw

Description

@elinw

Thanks so much for making a useful frequency and cross tabs system!

Right now on the frequency tables the cumulative distribution is always included. However, in many/most
cases--meaning when variables are not ordinal--cumulative distribution is both irrelevant and confusing. I'm getting ready to teach this next week and I had to write in the documentation "ignore those columns for now."

It looks like it would be pretty easy to add a parameter to make the cumulative conditional or to only include those columns when is.ordered() or is.numeric return TRUE.

https://github.com/easystats/datawizard/blob/main/R/data_tabulate.R#L262

I'd be happy to take a swing at implementing if it is of interest.

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