Open ashokkrish opened 4 months ago
Thank you for working on this @mwals360 . I have couple of minor changes on this one
Change rth to r^th (italicize r and take the th as a superscript) for both radioButton items.
@mwals360 Here is an example with solutions, you can use these as defaults instead of 12345.
@mwals360
Under Probability Distributions we currently have
To this list add Negative Binomial and make inline = FALSE so the radio buttons are listed vertically.
Have the following numericInputs()
Number of successes (r) (Validation: Non-empty, Positive integers only, must be greater than 0) Probability of Success (p) (Validation: Non-empty, between 0 and 1 only, inclusive)
Followed by
Followed by a radio button toggle
Selecting either one of the radio buttons would reveal a numericInput labelled
Number of Successes (x) (Validation: Non-empty, Positive integers only)
If the user selects
reveal two numericInputs labelled
Number of Successes (x1) (Validation: Non-empty, Positive integers only) Number of Successes (x2) (Validation: Non-empty, Positive integers only)
Further validate that x1 is less than or equal to x2.
Finally we will have