corr: corr p Simplified digital display.

get_corrR Documentation

corr p Simplified digital display.

Description

corr p Simplified digital display.

Usage

get_corr(df, cut = 0.3)

get_corr_sig(
  df,
  p_value,
  p_adj_method = "none",
  sep = "\n",
  rm_no_sig = TRUE,
  rm_1 = TRUE,
  level = 3
)

Arguments

df

your data

cut

Numbers less than this value are omitted.

p_value

p_value table

p_adj_method

?stats::p.adjust.methods

sep

Separator of r and *.

rm_no_sig

Logical value, whether to remove non-significant values.

rm_1

Logical value, whether to remove self-correlation values.

level

significance level

Value

short cor R.

paste r and *.

Examples

get_corr(c(0.1, 0.5, 0.6), cut = 0.2)
get_corr_sig(c(0.1, 0.5, 0.6), c(0.1, 0.04, 0.001))

yanpd01/yyeasy documentation built on Dec. 1, 2022, 10:58 p.m.