residual_histogram_data: Prepare data for constructing histograms of residuals

residual_histogram_dataR Documentation

Prepare data for constructing histograms of residuals

Description

Prepare data for constructing histograms of residuals

Usage

residual_histogram_data(
  data,
  exclude_fitted = TRUE,
  remove_NA = TRUE,
  method = c("FDR", "SNRR", "SF", "RR", "DF")
)

Arguments

data

A data table or data frame that is an output form residuals_vs_fitted()

exclude_fitted

Should the fitted values be discarded? Default is TRUE

remove_NA

Should NA-values be removed from data. Default is TRUE

method

Which method should be used to obtain the optimal number of bins, that is, the width of the bins. Valid inputs are FDR, SNRR, SF, RR and DF. See details for more information regarding the different approaches

Value

A data table that have new columns relevant for plot_residual_histograms()

Examples

print(1)

pernille267/commutability.selectivity documentation built on July 20, 2022, 9:11 a.m.