Description Usage Arguments Details Value References Examples

View source: R/expected_margin_cfa.R

Calculates the expected frequencies of counts based on the margins of the k-dimensional contingency table.

1 | ```
expected_margin_cfa(Pfreq, blank = NULL)
``` |

`Pfreq` |
Object of class "Pfreq" (see. function |

`blank` |
Either (1) character vector defining the pattern (with spaces between variable categories), which will be ignored for calculation of expected frequencies; or (2) a numeric vector defining the position(s) of the pattern in object of class |

only main effects are considered.

An vector object giving the expected counts.

No references in the moment

1 2 3 4 5 | ```
#######################################
# expected counts for LienertLSD data example.
data(LienertLSD) # load example data
expected_margin_cfa(Pfreq = LienertLSD) # calculation of expected counts (only main effects).
#######################################
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.