ks_compare {LATERmodel}R Documentation

Apply two-sample KS test to all pairs of datasets contained within a dataframe

Description

Apply two-sample KS test to all pairs of datasets contained within a dataframe

Usage

ks_compare(df, correct_multiple_comparisons = TRUE)

Arguments

df

A dataframe of datasets with columns: name and time, one unique name per dataset

correct_multiple_comparisons

If TRUE, an adjustment will be made to the p-values based on Holm, 1979, A simple sequentially rejective multiple test procedure

Value

A dataframe with columns name1, name2, D, and p_value

Examples

data <- prepare_data(dplyr::filter(
  carpenter_williams_1995,
  participant == "b"
))
ks_compare(data)

[Package LATERmodel version 0.2.0 Index]