Chi.2.eks with custom chi2 function that generates a chi2 statistic as well as a craemer's v for a given input. The output is displayed in terms of outputs and exposures in the form of the data frame p.df and list spdf
1 2 3 4 5 6 7 | chi.2.eksp(data = des, out.idx = grep("piqola", names(data)),
min.length = 4 * 16, max.levels = 12, ver.idx = NULL, out.raw = FALSE,
out.raw.name = "out.raw", out.df = TRUE, out.df.name = "p.df",
out.list = TRUE, out.list.name = "spdf", p.cutoff = 0.05, dig = 3,
suiwer = TRUE, verbose = TRUE, debug = TRUE, xlsx = TRUE,
outdir = datadir, xlsx.name = "PIQOLA_chi2_uitkomste.xlsx", plot = TRUE,
net.name = paste(naam, "chinet"))
|
data |
an R object (data set) |
out.idx |
Integer referring to the index of the name that matches "piqola" |
min.length |
Numeric referring to the minimum length |
max.levels |
Numeric referring to the maximum amount of levels |
ver.idx |
Integer used in forecasting |
out.raw |
Logical to display raw list |
out.raw.name |
Character vector containing the name of the raw list |
out.df |
Logical to display data frame |
out.df.name |
Character vector containing the name of the data frame |
out.list |
Logical to display list |
out.list.name |
Character vector containing the name of the list |
p.cutoff |
Numeric that refers to the probability coƫfficient |
dig |
Numeric that refers to the number of digits |
suiwer |
Logical to leave those that give warnings |
verbose |
Logical to display messages |
debug |
Logical for debugging process |
xlsx |
Logical to write xlsx file |
outdir |
Character vector that contains the output directory |
xlsx.name |
Character vector containing the name of the written xlsx file |
plot |
Logical whether to plot the data |
net.name |
Character vector containing the name of the gml network diagram |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.