rr_agg_all: Round-robin whole data frame aggregate correlation distance...

View source: R/rr_agg_all.R

rr_agg_allR Documentation

Round-robin whole data frame aggregate correlation distance analysis

Description

Calculates the correlation distance between subject variables and target variables after aggregated across raters for an entire subject list in a data frame. Outputs a data frame with aggregated correlation information and congruent/incongruent information. Self-to-self ratings are not included in the aggregated calculations. This function relies on the output from rr_df_maker().

Usage

rr_agg_all(subs_df, cor_meth = "spearman")

Arguments

subs_df

The 'subs' data frame from rr_df_maker() output.

cor_meth

Correlation method from cor() used in calculation. Default = 'spearman'.

Note

This function relies on the output from rr_df_maker().

Author(s)

Robert S. Chavez

Examples

rr_agg_all(subs, cor_meth = spearman)

chavezlab/csnl documentation built on June 12, 2022, 10:09 a.m.