buildmultinom {buildmer}R Documentation

Use buildmer to perform stepwise elimination for multinom models from package nnet

Description

Use buildmer to perform stepwise elimination for multinom models from package nnet

Usage

buildmultinom(formula, data = NULL, buildmerControl = buildmerControl(), ...)

Arguments

formula

See the general documentation under buildmer-package

data

See the general documentation under buildmer-package

buildmerControl

Control arguments for buildmer — see the general documentation under buildmerControl

...

Additional options to be passed to multinom; for backward-compatibility reasons, will also accept buildmer control parameters, although those specified in buildmerControl will take precedence

See Also

buildmer-package

Examples

if (requireNamespace('nnet') && require('MASS')) {
	options(contrasts = c("contr.treatment", "contr.poly"))
	example(birthwt)
	bwt.mu <- buildmultinom(low ~ age*lwt*race*smoke,bwt)
}

[Package buildmer version 1.9 Index]