density_clusterplot: A function to plot Predicted Probability in Logit model with...

Description Usage Arguments

View source: R/density_clusterplot.R

Description

This function creates a density plot for a binary variable in Logit model using simulations

Usage

1
2
density_clusterplot(ModelResults, n.sim = 1000, varname, data, clusterid,
  label = c("lab1", "lab2"))

Arguments

ModelResults

list. Specify model name of the logit model.

n.sim

numeric. Specify the number of simulations

varname

character vector. A vector contains the name of variables

data

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

clusterid

character. The cluster id

label

vector. Specify the labels


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