Skip to content

ssd_hc_bcanz errors if single bootstrap sample #445

@joethorley

Description

@joethorley

fix for 1 and ensure also possible with 0

library(ssdtools)

fits <- ssd_fit_bcanz(ssddata::ccme_boron)
ssd_hc_bcanz(fits, nboot = 1)
#> Error in `dplyr::group_by()` at ssdtools/R/hcp.R:150:5:
#> ! Must group by variables found in `.data`.
#> ✖ Column `value` is not found.

Created on 2025-06-05 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions