score_means: Get Score Means

Description Usage Arguments Value

View source: R/plot.R

Description

This groups the main scores matrix by sample index, and average posterior samples.

Usage

1
score_means(scores, grouping_vars)

Arguments

scores

[data.frame] The data.frame giving the scores for true and simulated data.

grouping_vars

[character vector] The names of columns on which to group. Everything else will be averaged over.

Value

scores [data.frame] The original data.frame with the value_1 and value_2 columns averaged depending on grouping variables.


krisrs1128/nmfSim documentation built on May 20, 2019, 1:30 p.m.