Compute p-value for homogeneity nullhypothesis

compute_pvalue(p, df, varname, groupname, ...)

Arguments

p

p-value object

df

data frame

varname

character string giving name of variable to test for homogeneity with respect to group.

groupname

character string giving name of grouping-variable (a factor) in df.

Value

a single numeric p-value.