Description Usage Arguments Details Author(s) See Also Examples
Compute actor-wise statement frequency time series statistics.
1 2 3 4 5 6 7 | dna.timeseries(infile, persons = FALSE, time.unit = "month",
ignore.duplicates = "article", separate.actors = TRUE,
start.date = "first", stop.date = "last",
include.persons = "all", include.organizations = "all",
include.categories = "all", invert.persons = FALSE,
invert.organizations = FALSE, invert.categories = FALSE,
agreement = "combined", verbose = TRUE)
|
infile |
The input .dna file as a string (i.e., enclosed in quotation marks). If the file is not in the current working directory, specify the path together with the file name. Include the file suffix. Example: |
persons |
Specify as a boolean value whether persons should be exported. If set to |
time.unit |
If set to |
ignore.duplicates |
A duplicate statement is a statement with the same person, organization, category and agreement pattern as another statement. By default, a duplicate statement is omitted if it is found within the same article (option |
separate.actors |
If this boolean argument is set to |
start.date |
Only statements after this date will be retained. The start date is a character string of the form |
stop.date |
Only statements before this date will be retained. The stop date is a character string of the form |
include.persons |
Specify a list of persons to be included in the statistics. For example, |
include.organizations |
Specify a list of organizations to be included in the statistics. For example, |
include.categories |
Specify a list of categories to be included in the statistics. For example, |
invert.persons |
Reverse the selection of persons. If |
invert.organizations |
Reverse the selection of organizations. If |
invert.categories |
Reverse the selection of categories. If |
agreement |
Can be |
verbose |
If |
An important piece of information in actor-based content analysis is the question how active each actor or actor group is over time. This function generates a matrix of statement frequencies of all actors, aggregated per actor or as a total value and either per year, per month or overall.
Philip Leifeld (http://www.philipleifeld.com)
rDNA
dna.init
dna.network
dna.categories
1 2 3 4 5 6 7 | download.file("http://www.philipleifeld.de/cms/upload/Downloads/dna-1.31.jar",
destfile = "dna-1.31.jar", mode = "wb")
download.file("http://www.philipleifeld.de/cms/upload/Downloads/sample.dna",
destfile = "sample.dna", mode = "wb")
dna.init("dna-1.31.jar")
time.series <- dna.timeseries("sample.dna")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.