generate_report_ceuclide | R Documentation |
This function takes a dataframe, a factor and returns a Microsoft Word document about the Euclidean distance matrix and the p-values matrix with relative plots.
generate_report_ceuclide(
dataset,
formula,
pvalue.method = "chisq",
num.permutations = 10,
num.bootstraps = 10
)
dataset |
A dataframe. |
formula |
A factor which you want to calculate the Euclidean distance matrix and the p_values matrix. |
pvalue.method |
A p_value method used to calculate the matrix, the default value is "chisq".Other methods are "permutation" and "bootstrap". |
num.permutations |
Number of permutation to specify if you select "permutation" in "pvalue.method". The default value is 100. |
num.bootstraps |
Number of bootstrap to specify if you select "bootstrap" in "p_value method". The default value is 10. |
A Microsoft Word document about the Euclidean distance matrix and the p_values matrix.
# Generate a report about "Species" factor in iris dataset
generate_report_ceuclide(iris, ~Species)
# Generate a report about "am" factor in mtcars dataset
generate_report_ceuclide(mtcars, ~am)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.