mmirestriktor: Mighty Metrika Interface to Restriktor Shiny App

View source: R/app.R

mmirestriktorR Documentation

Mighty Metrika Interface to Restriktor Shiny App

Description

This function launches a Shiny app which allows users to fit and analyze models with restrictions using the mmir_model(), restriktor::iht(), and restriktor::restriktor() functions. The app provides a user interface to upload a CSV file, specify a model formula, and define constraints for informative hypothesis testing.

Usage

mmirestriktor()

Details

The app has the following functionalities:

  • Upload a CSV file to be used as the dataset for modeling.

  • View the variables available in the uploaded dataset.

  • Input a formula to define the model to be fit.

  • Choose a model fitting engine from "lm", "glm", and "rlm".

  • Specify extra arguments for the model fitting function.

  • View the terms available for defining constraints after fitting the model.

  • Define constraints for hypothesis testing.

  • Set a significance level (alpha) for hypothesis testing.

  • Choose the type of analysis to perform: Informative Hypothesis Test and/or Restricted Means.

  • View the results and interpretation of the hypothesis tests after running the analysis.

Value

This function does not return a value; it launches a Shiny app in the user's default web browser.

Examples

if (interactive()){
  mmirestriktor()
}

mmirestriktor documentation built on June 24, 2024, 1:07 a.m.