plot_timetrend {keyATM} | R Documentation |
Plot time trend
Description
Plot time trend
Usage
plot_timetrend(
x,
show_topic = NULL,
time_index_label = NULL,
ci = 0.9,
method = c("hdi", "eti"),
point = c("mean", "median"),
xlab = "Time",
scales = "fixed",
show_point = TRUE,
...
)
Arguments
x |
the output from the dynamic keyATM model (see |
show_topic |
an integer or a vector. Indicate topics to visualize. Default is |
time_index_label |
a vector. The label for time index. The length should be equal to the number of documents (time index provided to |
ci |
value of the credible interval (between 0 and 1) to be estimated. Default is |
method |
method for computing the credible interval. The Highest Density Interval ( |
point |
method for computing the point estimate. |
xlab |
a character. |
scales |
character. Control the scale of y-axis (the parameter in ggplot2::facet_wrap()): |
show_point |
logical. The default is |
... |
additional arguments not used. |
Value
keyATM_fig object.