Skip to content

Tutorial 4.2 - calculating the p-values - - visualise() #261

@fernando-pierucci-alves

Description

Contact Details

No response

Bug

It seems an update to Infer package makes the following code obsolete. If so, the tutorial is much worth an update.

gender_discrimination_perm |>
visualise(obs_stat = diff_orig, direction = "greater")

In Rstudio (linux), the following comes up:

"WARNING message: The arguments c("obs_stat", "direction") are deprecated in visualize() and will be ignored. They should now be passed to one of shade_p_value() or shade_confidence_interval(). "

Reproducible Example

gender_discrimination_perm |>
visualise(obs_stat = diff_orig, direction = "greater")

Expected Behavior

Not sure what output would be.

Session Info

No response

Additional context

No response

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