plot_binary_FDEffect: A function to plot the first difference in the predicted...

Description Usage Arguments

View source: R/plot_binary_FDEffect.R

Description

This function creates a density plot for the interaction terms in Logit model using simulations

Usage

1
2
plot_binary_FDEffect(ModelResults, n.sim = 1000, data, clusterid, varname1,
  varname2, val1, val2, intervals, label = c("lab1", "lab2"))

Arguments

ModelResults

list. Specify model name of the logit model.

n.sim

numeric. Specify the number of simulations

data

data.frame. The name of the data frame in logit model

clusterid

character. The cluster id

varname1

character. A binary variable

varname2

character. An interval vaiable

val1

numeric. Specify the min value

val2

numeric. Specify the max value

intervals

numeric. Specify the intervals for the sequence

xlabs

character. The x label for the plot

ylabs

character. The y label for the plot


cc458/postregplots documentation built on Aug. 22, 2019, 9:24 a.m.