- object
textmeta
object with strictly tokenized
text
component (character vectors) - such as a result of
cleanTexts
- ldaresult
The result of a function call LDAgen
- ldaID
Character vector of IDs of the documents in
ldaresult
- select
Integer: Which topics of
ldaresult
should be plotted (default: all topics)?
- tnames
Character vector of same length as select
- labels for the topics (default are the first returned words of
top.topic.words
from the lda
package for each topic)
- rel
Logical: Should counts (FALSE
) or
proportion (TRUE
) be plotted (default: FALSE
)?
- mark
Logical: Should years be marked by
vertical lines (default: TRUE
)?
- unit
Character: To which unit should dates be floored
(default: "month"
)? Other possible units are "bimonth"
, "quarter"
, "season"
,
"halfyear"
, "year"
, for more units see round_date
- curves
Character: Should "exact"
,
"smooth"
curve or "both"
be plotted (default: "exact"
)?
- smooth
Numeric: Smoothing parameter
which is handed over to lowess
as f
(default: 0.05
)
- main
Character: Graphical parameter
- xlab
Character: Graphical parameter
- ylim
Graphical parameter
- ylab
Character: Graphical parameter
- both.lwd
Graphical parameter for smoothed values
if curves = "both"
- both.lty
Graphical parameter for smoothed values
if curves = "both"
- col
Graphical parameter, could be a vector. If curves = "both"
the function will for every topicgroup plot at first the exact and then the
smoothed curve - this is important for your col order.
- legend
Character: Value(s) to specify the legend coordinates (default: "topright"
,
"onlyLast:topright"
for pages = TRUE
respectively).
If "none" no legend is plotted.
- pages
Logical: Should all curves be
plotted in a single plot (default: FALSE
)? In addtion you could set
legend = "onlyLast:<argument>"
with <argument>
as a
character
legend
argument
for only plotting a legend on the last plot of set.
- natozero
Logical: Should NAs be coerced
to zeros (default: TRUE
)? Only has effect if rel = TRUE
.
- file
Character: File path if a pdf should be created
- ...
Additional graphical parameters