Description Usage Arguments Value Examples
View source: R/Base_Functions.R
Generate basic statistics for numerical data, as well as random values to be used in the agent-based simulation
1 | basic_stats(data_in, key, samplesize, width, histo = TRUE, plot = FALSE)
|
data_in |
Table of data to be analyzed |
key |
Name of the variable to be analzyed |
samplesize |
Number of random values from the data to be taken |
histo |
TRUE if you want to plot a histogram, FALSE if you want to plot a bar graph |
plot |
Decides whether data will be plotted or not |
A vector of random values taken from the data
1 | random_values <- basic_stats(data_in, key, samplesize, width, histo = TRUE, plot = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.