Description Usage Arguments Value
foydle
computes p-values for the interaction term in the
linear regression
x = b0 + b1 y + b2 z + b3 y*z
where x, y, and z are columns from xmat
,
ymat
, and zmat
, respectively.
1 2 |
xmat, ymat, zmat |
Numeric matrices |
output_file |
Path to output file |
with_return |
If FALSE, return NULL (default: TRUE) |
names |
Names for columns in output table |
threshold |
Save only results with p-value below threshold (default: save all results) |
cores |
Number of CPU cores to use (default 1) |
If with_return
is TRUE
, the function returns
a data frame with columns "x", "y", "z", and "pvalue". Columns
"x", "y", and "z" contain the names of the columns of
xmat
, ymat
, and zmat
that were used in
computing the p-value in the "pvalue" column. The column names
of the resulting table can be changed via the names
argument. The same data frame that is returned is also written
to output_file
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.