| margin.tables | R Documentation | 
Get the marginal distributions
## S3 method for class 'tables'
margin(x, margin = NULL, order = TRUE, ...)
## S3 method for class 'tables'
conditional(
  x,
  variables,
  condition = NULL,
  condition.value = NULL,
  force = FALSE,
  undef = NaN,
  ...
)
## S3 method for class 'tables'
conditional2(x, variables, condition = NULL, force = FALSE, undef = NaN, ...)
## S3 method for class 'tables'
intervention(x, variables, condition, force = FALSE, ...)
x | 
 an object of class   | 
margin | 
 integer vector giving margin to be calculated (1 for rows, etc.)  | 
order | 
 logical indicating whether resulting indices
should be in the same order as stated in   | 
... | 
 other arguments to function  | 
condition | 
 variables to condition upon  | 
condition.value | 
 (optionally) values to condition upon  | 
undef | 
 value to return for undefined cells  | 
Calculates marginal distributions for each entry in a probMat.
An object of class tables consisting of the required marginal
distribution.
conditional(tables): condition in distributions
conditional2(tables): condition and keep all variables
intervention(tables): intervene on variables in distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.