Skip to content

Shiny BPTO Conjoint Siumlator for HB models

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

mczyzj/BPTOSimulator

Repository files navigation

BPTOSimulator

Lifecycle: maturing

The BPTOSimulator is a Shiny package build with golem framework. It’s purpose it to allow easy setup of BPTO Conjoint Simulator based on Hierarchical Bayes Models. The simulator part of dashboard is build automatically from the data provided. Quick adjustments to Interface Layout might be provided with custom.css file.

Installation

  • You can install the boilerplate directly form GitHub and play with the example.
# install.packages("remotes")
remotes::install_github("mczyzj/BPTOSimulator")
  • The Simulator works as a package. It means that to make it fully operational you need to download (clone) the repository, and tailor it to your needs.

Adjustments

There are few things you will need or like to adjust:

  • The data set shouls be saved as package data. You will also need to put correct names of your data sets in app_ui and app_server
### ADJUST THIS LINES WITH YOUR DATA SET NAMES
### app_server.R
respid_filter <- BPTOSimulator::cj_key_filters_example1 %>%
  stats::setNames(snakecase::to_snake_case(colnames(.)))
filter_names <- unique(BPTOSimulator::cj_filters_example1$filter_name)
specs_df <- BPTOSimulator::cj_specs_example1
utils_df <- BPTOSimulator::cj_utils_example1
### app_ui.R
products_change <- BPTOSimulator::cj_specs_example1 %>%
    filter(.data$Min != .data$Max)

filters_change <- split(
  BPTOSimulator::cj_filters_example1,
  BPTOSimulator::cj_filters_example1$filter_name
)
  • The overall layout. Most of the elements can be quickly adjusted in inst/app/www/custom.css file. Also in the inst/app/www folder you will find logo and favicon you will like to change.

About

Shiny BPTO Conjoint Siumlator for HB models

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published