Description Usage Arguments Value Author(s) References See Also

Performs a multinomial logic regression for a nominal response by fitting a logic regression model (with logit as link function) for each of the levels of the response except for the level with the smallest value which is used as reference category.

1 2 3 4 5 6 |

`formula` |
an object of class |

`data` |
a data frame containing the variables in the model. Each column of |

`recdom` |
a logical value or vector of length |

`x` |
a matrix consisting of 0's and 1's. Each column must correspond to a binary variable and each row to an observation. |

`y` |
either a factor or a numeric or character vector specifying the values of the response.
The length of |

`ntrees` |
an integer indicating how many trees should be used in the logic regression models.
For details, see |

`nleaves` |
a numeric value specifying the maximum number of leaves used
in all trees combined. See the help page of the function |

`anneal.control` |
a list containing the parameters for simulated annealing.
For details, see the help page of |

`select` |
numeric value. Either 0 for a stepwise greedy selection (corresponds to |

`rand` |
numeric value. If specified, the random number generator will be set into a reproducible state. |

`...` |
for the |

An object of class `mlogreg`

composed of

`model` |
a list containing the logic regression models, |

`data` |
a matrix containing the binary predictors, |

`cl` |
a vector comprising the class labels, |

`ntrees` |
a numeric value naming the maximum number of trees used in the logic regressions, |

`nleaves` |
a numeric value comprising the maximum number of leaves used in the logic regressions, |

`fast` |
a logical value specifying whether the faster search algorithm, i.e.\ the greedy search, has been used. |

Holger Schwender, holger.schwender@hhu.de

Schwender, H., Ruczinski, I., Ickstadt, K. (2011). Testing SNPs and Sets of SNPs for Importance in Association Studies.
*Biostatistics*, 12, 18-32.

`predict.mlogreg`

, `logic.bagging`

, `logicFS`

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.