This is a work in progress function.

correlation.association.test(
  data1,
  data1.type,
  data1.name,
  data2,
  data2.type,
  data2.name
)

Arguments

data1

Numerical data vector.

data1.type

A string to specify what type of data is data1. Options are "continuous", "ordinal", "categorical".

data1.name

String that specifies name to associate with data1.

data2

Numerical data vector.

data2.type

A string to specify what type of data is data1. Options are "continuous", "ordinal", "categorical".

data2.name

String that specifies name to associate with data1.

Value

A vector of strings with two elements:

  1. Description of test performed

  2. P-value

See also