plot.linkage {Linkage} | R Documentation |
The plot function for 'linkage' objects.
Description
This function plots different information about 'linkage' objects.
Usage
## S3 method for class 'linkage'
plot(x, type="all", ...)
Arguments
x |
an object of type 'linkage' to plot |
type |
the type of information to plot: - "all": all information, - "network": the clustered network, - "metanetwork": the metanetwork which summarizes all model parameters, - "topics": the most representative words of each topic, - "prop": the node cluster proportions. |
... |
Additional options to pass to the plot function. |
Value
No value is returned by this function.
Author(s)
Charles Bouveyron <charles.bouveyron@gmail.com>
References
C. Bouveyron, P. Latouche and R. Zreik, The Stochastic Topic Block Model for the Clustering of Networks with Textual Edges, Statistics and Computing, vol. 28(1), pp. 11-31, 2017 <doi:10.1007/s11222-016-9713-7>
Examples
## Not run:
data(Enron)
write.table(Enron, file="Enron.csv",row.names=FALSE,col.names=FALSE, sep=",")
file = "Enron.csv"
# Provide the user token, which is provided on "developers" page
# of http://linkage.fr (after registration)
token = "xxxxxxxxxxxxxxxxxxxx"
# Post the job
job_id = linkage.post(file, token, job_title="My job: Enron",
clusters_min = 8, clusters_max = 8,
topics_min = 6,topics_max = 6,
filter_largest_subgraph = TRUE)
# Monitor achievment of the current job
ans = linkage.check(token)
# Retrieve results (once achievment is 100
res = linkage.getresults(job_id,token)
# Plot the results
plot(res,type='all')
## End(Not run)
[Package Linkage version 0.9 Index]