| Title: | Interactive Tool for Statistics and Probability |
|---|---|
| Description: | A Shiny application designed to support the learning of basic concepts in statistics and probability. The tool provides an interactive interface that allows students to explore and visualize different statistical concepts intuitively, including descriptive statistics for continuous and qualitative variables, and probability distributions. |
| Authors: | Javier De La Hoz Maestre [cre, aut] (ORCID: <https://orcid.org/0000-0001-7779-0803>), Humberto Llinas Solano [aut] (ORCID: <https://orcid.org/0000-0002-5530-6416>) |
| Maintainer: | Javier De La Hoz Maestre <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.1 |
| Built: | 2026-05-31 08:09:11 UTC |
| Source: | https://github.com/cran/StatisticTeach1 |
Opens the interactive Shiny interface for exploring descriptive statistics and probability distributions.
runStatisticTeach1( host = getOption("shiny.host", "127.0.0.1"), port = NULL, launch.browser = interactive() )runStatisticTeach1( host = getOption("shiny.host", "127.0.0.1"), port = NULL, launch.browser = interactive() )
host |
The IPv4 address that the application should listen on.
Defaults to the |
port |
The TCP port that the application should listen on.
If |
launch.browser |
Logical. If |
No return value, called for its side effect of launching a Shiny application.
if (interactive()) { runStatisticTeach1() }if (interactive()) { runStatisticTeach1() }
Computes a frequency table for a categorical (factor) variable, including absolute frequency, cumulative frequency, relative frequency percentage, and cumulative relative frequency percentage.
ST_freq_factor(data, variable)ST_freq_factor(data, variable)
data |
A |
variable |
Unquoted name of the column (factor) in |
A data.frame with five columns: Levels,
Frequency, Cum.Frequency, Percent, and
Cum.Percent.
ST_freq_factor(iris, Species)ST_freq_factor(iris, Species)
Computes a frequency table for a continuous (numeric) variable by dividing the data range into equal-width intervals (bins).
ST_freq_numeric(data, variable, bins = 5)ST_freq_numeric(data, variable, bins = 5)
data |
A |
variable |
Unquoted name of the numeric column in |
bins |
A positive integer giving the number of intervals into
which the data range is divided. Defaults to |
A data.frame with seven columns: lower,
upper, midpoint, frequency, cumulative,
freq_percent, and cum_percent.
ST_freq_numeric(mtcars, mpg, bins = 5)ST_freq_numeric(mtcars, mpg, bins = 5)