Skip to contents

An S7 class produced by CORTEST using rel() and <formula> as the variable mapper <var_id>. Not constructed manually, use the "grammar interface" instead.

Inherits from class_stat_infer, so auto_tidy() dispatches on it automatically. Downstream packages can use it as a parent in S7::new_class().

Details

Slots (populated automatically by CORTEST):

  • ind_vars: name of the independent variables.

  • resp_vars: name of the response / dependent variables.

  • estimate: the estimated correlation coefficient.

  • statistic: t-statistic.

  • df: degrees of freedom.

  • p_val: p-value.

  • lower_ci: lower confidence bound.

  • upper_ci: upper confidence bound.

  • ci_level: confidence level, e.g. 0.95.

Shared by variants

Both rel() and <formula>'s default (base) return a class_corr_two, so different models shares both auto_tidy() and print() for free.