Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom rule not correctly reported as such #458

Assignees
copilot-swe-agent
Labels
bug 🐛Something isn't working
@fkohrt

Description

@fkohrt

Describe the bug

Custom rules are not reported as such.

To Reproduce

Apply#457 or run the following to get around#456:

f<-report:::.report_effectsize_ttestbody(f)[[6]]<- quote(dot_args$rules<-if(is.null(dot_args$rules))ruleselsedot_args$rules)assignInNamespace(x=".report_effectsize_ttest",value=f,ns="report")

Now one can see that a custom rule...

t.test(formula=extra~group,data=sleep)|>report::report(rules=effectsize::rules(1, c("tiny","yeah okay"),name="Unknown"))

...is not correctly reported:

Effect sizes were labelled following  recommendations.The Welch Two Sample t-test testing the difference of extra by group (mean in group 1 = 0.75, mean in group 2= 2.33) suggests that the effect is negative, statistically not significant, and tiny (difference = -1.58,95% CI [-3.37, 0.21], t(17.78) = -1.86, p = 0.079; Cohen's d = -0.88, 95% CI [-1.84, 0.10])

Expected behaviour

text<- paste0("Effect sizes were labelled following a custom set of rules.")

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp