Description Usage Arguments Details Value Note Author(s) References Examples

creates a dataframe with 1's and 0s' where a 1 represents inclusion in the path and 0 represents exlusion

1 | ```
CreateInitializeMatrix(InitialData, WhichCat, empty = FALSE)
``` |

`InitialData` |
the dataframe with the initial data |

`WhichCat` |
a vector of 0's and 1's length of number of columns of |

`empty` |
if |

the rows represent dependent variables in the path and the columns represent independent variables in the paths with a 1 representing in M Plus terminology row variable ON column variable

returns matrix required by `Initialize`

for all initial paths to run the default is an upper triangular matrix. This is a square matrix and names of rows is the same as the names of columns

In this version only Categorical variables can be dependent variables and if using the default upper triangular matrix, due to the current way indirect effects are created, only approximately 8 or 9 variables can be used with reasonable computing time. The input to `Initialize`

must be in the same format as this output so user may want to use this function with `empty`

as FALSE and subtitute 1's for desired possible paths.
Also note that row names and column names must be the same and must start with a capital letter and only contains numbers and letters in this version.

William Terry

M Plus

1 2 |

PathSelectMP documentation built on May 19, 2017, 11:32 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.