Nothing
Code
res$output
Output
[1] "probability: 0.1718 "
Code
res_lower$output
Output
[1] "Probability 2 and below = 0.7038184 "
Code
res_upper$output
Output
[1] "Probability 3 and above = 0.2961816 "
Code
res_lower$output
Output
[1] " hypergeometric: 0.7038 "
[2] " normal approx: 0.5 "
[3] " normal approx with continuity: 0.6963 "
Code
res_upper$output
Output
[1] " hypergeometric: 0.2962 "
[2] " normal approx: 0.1521 "
[3] " normal approx with continuity: 0.3037 "
Code
collapse_output(help_lines)
Output
[1] "Arguments:\n xval: the value of the chi-square statistic.\n df: the degrees of freedom.\n verbose: Logical, defaults to 'TRUE'. Set to 'FALSE' to suppress\n messages"
Code
collapse_output(help_lines)
Output
[1] "Arguments:\n k: Number of successes of interest or difference in conditional\n proportions\n total: Total number of observations in the study\n succ: Overall number of successes\n n: Number of observations in group A\n lower.tail: Boolean for finding the probability above (FALSE) or below\n (TRUE) the inputted value (inclusive)\n verbose: Logical, defaults to 'TRUE'. Set to 'FALSE' to suppress\n messages"
Code
collapse_output(help_lines)
Output
[1] "Arguments:\n k: Number of successes of interest or difference in conditional\n proportions\n total: Total number of observations in the study\n succ: Overall number of successes\n n: Number of observations in group A\n lower.tail: Boolean for finding the probability above (FALSE) or below\n (TRUE) the inputted value (inclusive)\n verbose: Logical, defaults to 'TRUE'. Set to 'FALSE' to suppress\n messages"
Code
res$output
Output
[1] " hypergeometric: 0.9973 "
[2] " normal approx: 0.9901 "
[3] " normal approx with continuity: 0.9967 "
Code
res_lower$output
Output
[1] "Probability 6 and below = 0.9758352 "
Code
res_upper$output
Output
[1] "Probability 6 and above = 0.1182716 "
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.