mmirestriktor | R Documentation |
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.
mmirestriktor()
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.
This function does not return a value; it launches a Shiny app in the user's default web browser.
if (interactive()){
mmirestriktor()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.