R/check_data_reliability.R
check_data_reliability.Rd
This function checks for inter-rater or test-retest reliability between all pairs of numeric columns in a data frame by computing the correlation between each pair and reporting if it is less than 0.8.
check_data_reliability(df)
A data frame
A message indicating whether the data is reliable or not between each pair of columns.
df <- data.frame(x = c("a", "b", "c"), y = c(4, 5, 6), z = c(7, 8, 180))
check_data_reliability(df)
#> Data is reliable between columns 2 and 3.