Learn R Programming

plot3logit (version 2.2.0)

add_confregions_field3logit: It adds the confidence regions to a "field3logit" object

Description

Given the confidence level, it computes the confidence regions the effects for each arrow of the field3logit object.

Usage

add_confregions_field3logit(x, conf = 0.95, npoints = 100)

Arguments

x

an object of class field3logit.

conf

confidence level of the region.

npoints

number of points of the border.

Value

Object of class field3logit with updated confidence regions.

Examples

Run this code
# NOT RUN {
data(cross_1year)

mod0 <- nnet::multinom(employment_sit ~ gender + finalgrade, data = cross_1year)
field0 <- field3logit(mod0, 'genderFemale')
plot3logit:::add_confregions_field3logit(field0)

# }

Run the code above in your browser using DataLab