Skip to contents

recommend_test() applies the package's simple branching logic and returns a structured decision object.

Usage

recommend_test(
  data,
  outcome,
  group = NULL,
  id = NULL,
  goal = c("difference", "association", "adjusted_effect", "time_to_event", "agreement",
    "equivalence"),
  outcome_type = c("auto", "continuous", "binary", "nominal", "ordinal", "count"),
  paired = c("no", "yes"),
  repeated = c("no", "yes"),
  adjust = c("no", "yes"),
  normality = c("auto", "yes", "no", "unknown")
)

Arguments

data

A data.frame.

outcome

Name of the outcome column.

group

Optional name of the group column.

id

Optional name of the subject identifier column.

goal

One of "difference", "association", "adjusted_effect", "time_to_event", "agreement", or "equivalence".

outcome_type

One of "auto", "continuous", "binary", "nominal", "ordinal", or "count".

paired

"yes" or "no".

repeated

"yes" or "no".

adjust

"yes" or "no".

normality

One of "auto", "yes", "no", or "unknown".

Value

An object of class statsguider_decision.