association_study_long: Perform association study

View source: R/association_studies.R

association_study_longR Documentation

Perform association study

Description

This function, in combination with test_association, can basically replace the function 'association_study'. I think test_association is more intuitive, and this function is just a small wrapper that you can use when data is in long format, mimicking behavior of association_study.

Usage

association_study_long(data, expl.var.names, ...)

Arguments

data

data frame to use

expl.var.names

character value of column that contains all the names of the response values that need to be investigated separately

...

other values will be parsed to test_association

Details

Note: Response variables should be of the same type (e.g. all numerical, all categorical). Note 2: all blocks should contain enough observations.

Value

data frame with results as output


LDSamson/associationstudies documentation built on April 14, 2025, 11:52 a.m.