Skip to content

[Feature Request]: tern: ANCOVA extensions and summaries #161

@munoztd0

Description

@munoztd0

Feature description

  • File: R\summarize_ancova.R
  • Functions:
    • h_ancova()
      • Origin: Forked from tern::h_ancova()
      • Purpose: Adds support for weights_emmeans and optional interaction_item
      • Exported: No (helper).
    • s_ancova_j()
      • Origin: Extension of tern:::s_ancova()
      • Purpose: Returns 3 extra statistics: lsmean_se, lsmean_ci, lsmean_diffci; allows specifying weights_emmeans; handles NULL .ref_group by returning NA diffs
      • Exported: Yes.
    • s_summarize_ancova_j() and a_summarize_ancova_j()
      • Origin: Combines tern::s_summary() with ANCOVA-based estimates using s_ancova_j()
      • Purpose: Provide unadjusted summary plus adjusted mean and difference via ANCOVA; a_... is the formatted afun that supports ref_path and .spl_context
      • Exported: Yes (both)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions