View source: R/plot_FDEffect.R
This function creates a facet plot for the interaction terms in Logit model using simulations
1 2 | plot_FDEffect(ModelResults, n.sim = 1000, data, clusterid, varname1, varname2,
val1, val2, intervals, xlabs, ylabs)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.