Skip to contents

This function performs the estimations of interest and also visualizes the resulting association

Usage

getEstimatesOfInterest(data, design, model, print_plots = TRUE)

Arguments

data

Input data frame with columns having all the necessary information regarding the dependent and independent variables of interest

design

an object of class RMeDesign with the necessary design information about the data

model

an object of class ProbabilityModel giving the error distribution of the data

print_plots

Whether or not to print the plots, irrespective of this argument ggplot versions of evaluated association between the response_column and the condition_column. TRUE - print the plot, FALSE - do not print the plot

Value

a list with two elements - 1. an object of class summary.merMod and 2. the output from the get_residuals functions. This output consists of a list with 3 elements. 1. The updated input data with an additional column with the model residuals of the individual observations. 2. A plot representing the purported association between the response column and the condition column. 3. The corresponding caption for this figure.

Examples

result=diagnoseDataModel(data=data, design=design, model=model)
#> Error: object 'design' not found