Skip to content

Commit e2bf2d8

Browse files
committed
change the opened plot to FI and update demo
1 parent 16c4bc1 commit e2bf2d8

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* the deprecated alias `modelStudioOptions()` is removed from this version of the package; after being deprecated for over a year since **v1.1.0**. Use the recommended `ms_options()` instead.
55
* added new parameter to `modelStudio()`: `N_sv = 3*N`, which by default decreases the number of observations used for the calculation of `Shapley Values` (rows in `data`)
66
* `margin_left = NULL` by default and it is adjusted based on the length of variable names
7+
* the first plot opened in the dashboard is now `FI` instead of `BD` by default
78
* add the `verbose` parameter to `modelStudio()` as an alias to `show_info` [(#101)](https://github.com/ModelOriented/modelStudio/issues/101)
89

910

R/data.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' while \code{happiness_test} is the data from the year 2019, which imitates the
77
#' out-of-time validation.
88
#'
9-
#' Source: \href{https://www.kaggle.com/unsdsn/world-happiness}
9+
#' Source: \href{https://www.kaggle.com/unsdsn/world-happiness}{World Happiness Report at Kaggle.com}
1010
#'
1111
#' The following columns: GDP per Capita, Social Support, Life Expectancy,
1212
#' Freedom, Generosity, Corruption describe the extent to which these factors
@@ -22,10 +22,9 @@
2222
#' \item perceptions_of_corruption
2323
#' }
2424
#'
25-
#' @aliases happiness_test
25+
#' @aliases happiness_train happiness_test
2626
#' @docType data
2727
#' @name happiness_train
2828
#' @usage data(happiness_train); data(happiness_test)
29-
#' @format \code{happiness_train}: a data frame with 625 rows and 7 columns,
30-
#' \code{happiness_test}: a data frame with 156 rows and 7 columns
29+
#' @format \code{happiness_train}: a data frame with 625 rows and 7 columns, \code{happiness_test}: a data frame with 156 rows and 7 columns
3130
NULL

inst/d3js/modelStudio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ function initializeStudio() {
495495

496496
if (facetData.length >= 1) {
497497
svg.selectAll('.enterChoiceButton').filter('#enterChoiceButton0').dispatch('click');
498-
svg.select("#chosePlotButton0").select("#BD").dispatch('click');
498+
svg.select("#chosePlotButton0").select("#FI").dispatch('click');
499499
}
500500

501501
if (facetData.length >= 2) {

man/happiness_train.Rd

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgdown/favicon/demo.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)