Package 'appRiori'

Title: Code and Obtain Customized Planned Comparisons with 'appRiori'
Description: With 'appRiori', users upload the research variables and the app guides them to the best set of comparisons fitting the hypotheses, for both main and interaction effects. Through a graphical explanation and empirical examples on reproducible data, it is shown that it is possible to understand both the logic behind the planned comparisons and the way to interpret them when a model is tested.
Authors: Umberto Granziol [aut, cre], Maximilian Rabe [aut] , Andrea Spoto [aut], Giulio Vidotto [aut], Marcello Gallucci [aut]
Maintainer: Umberto Granziol <[email protected]>
License: GPL (>= 3)
Version: 0.0.5
Built: 2024-11-09 04:07:47 UTC
Source: https://github.com/ugranziol/appriori

Help Index


Running appRiori

Description

This function runs the appRiori Shiny app.

Usage

appRiori(...)

Arguments

...

Arguments passed on to shiny::runApp()

Value

No return value, called for side effects

See Also

runApp()

Examples

## Not run: 
# Run the app with default settings
library(appRiori)
appRiori()

## End(Not run)

Summary for hypr contrasts

Description

Extract the estimates and the inferential tests for a contrasts defined by hypr

Usage

contrasts_summary(model, ...)

## Default S3 method:
contrasts_summary(model, ...)

## S3 method for class 'merMod'
contrasts_summary(model, ...)

## S3 method for class 'glmerMod'
contrasts_summary(model, ...)

Arguments

model

a model of class lm, glm or lmer.

...

additional options (not used at the moment)

Value

A results table of class hypr_contrasts_results.

Examples

library(MASS)
 df<-MASS::anorexia
 df$Treat = factor(df$Treat)
 library ( hypr )
 h <- hypr ( ~ 1/2 * CBT + 1/2 * FT - Cont , ~ CBT - FT , levels = c( "CBT" , "Cont" , "FT" ))
 contrasts(df$Treat,how.many=2)<-cmat(h)
 model = lm ( Prewt ~ Treat , data = df )
 contrasts_summary ( model )

Print for hypr contrasts

Description

Pretty print the estimates and the inferential tests for a contrasts defined by hypr

Usage

## S3 method for class 'hypr_contrasts_results'
print(x, ...)

Arguments

x

an object of class hypr_contrasts_results

...

additional options (not used at the moment)

Value

A results table