| chi.gof1 | R Documentation | 
Goodness of fit test from a table, when the probability is given.
chi.gof1(x, p, alp = 0.05, dig = 2, dig2 = 4)
x | 
 Table of frequency  | 
p | 
 Probability vector  | 
alp | 
 Level of significance, Default: 0.05  | 
dig | 
 Number of digits below the decimal point for the table, Default: 2  | 
dig2 | 
 Number of digits below the decimal point for the results, Default: 4  | 
list(stat=test stat, df=degree of freedom, crv=critical value, pv=p-value, tab=table)
# Goodness-of-fit Test x = c(31,26,22,18,13,10) ans = chi.gof1(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.