- data
A data frame with the observed variables.
- knowledge
A knowledge object describing tiers/periods and optional
forbidden/required edges. This replaces the legacy order interface and
is the preferred way to supply temporal background knowledge.
- alpha
The alpha level used as the per-test significance
threshold for conditional independence testing.
- test
A conditional independence test. The default reg_test
uses a regression-based information-loss test. Another available option is
cor_test which tests for vanishing partial correlations. User-supplied
functions may also be used; see details for the required interface.
- suff_stat
A sufficient statistic. If supplied, it is passed directly
to the test and no statistics are computed from data. Its structure
depends on the chosen test.
- method
Skeleton construction method, one of "stable",
"original", or "stable.fast" (default). See
pcalg::skeleton() for details.
- na_method
Handling of missing values, one of "none" (default;
error on any NA), "cc" (complete-case analysis), or
"twd" (test-wise deletion).
- orientation_method
Method for handling conflicting separating sets when orienting
edges; must be one of "standard", "conservative" (the default) or
"maj.rule". See pcalg::pc() for further details.
- directed_as_undirected
Logical; if TRUE, treat any directed
edges in knowledge as undirected during skeleton learning. This
is due to the fact that pcalg does not allow directed edges in
fixedEdges or fixedGaps. Default is FALSE.
- varnames
Character vector of variable names. Only needed when
data is not supplied and all information is passed via
suff_stat.
- num_cores
Integer number of CPU cores to use for parallel skeleton learning.
- ...
Additional arguments passed to
pcalg::skeleton() during skeleton construction.