View source: R/mse_calculations.R
get_user_inputs | R Documentation |
Interactively prompts user for population and sample sizes and calculates theta values (1/n - 1/N) used in MSE calculations.
get_user_inputs()
A list containing:
theta_L - Lower theta value
theta_U - Upper theta value
Neha Purwar, Kaustav Aditya, Pankaj Das and Bharti
if(interactive()){
# Interactive example (run in console)
inputs <- get_user_inputs()
# The function will prompt:
# Enter value for population size_L: 1000
# Enter value for population size_U: 2000
# Enter value for sample_size_L: 100
# Enter value for sample_size_U: 200
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.