Skip to content

Error in freq #68

Description

@PaulaTierney

Hi there,

I get the following error running the freq command in tidytlg version 0.12.0, running R version 4.5.3 (2026-03-11 ucrt). Reproducible code below. Renaming the ID column to USUBJID in the data frame resolves the error.

Image
df <- data.frame(
  ID = c("20261", "20262", "20263"),
  Month = c("Jan", "Feb", "Mar"),
  Sex = c("F", "M", "F")
)

freq(df,
     colvar = "Month",
     rowvar = "Sex",
     statlist = statlist("n")

Kind regards,
Paula

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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