get_source_distribution | R Documentation |
Describe the distribution of the number of sources shared by records.
get_source_distribution(annotation_file, as_propr = TRUE, format_fun = percent)
annotation_file |
An annotation data frame or a file path to it. |
as_propr |
Whether to output the results as absolute numbers or proportions over the record total. |
format_fun |
If the results are shown as proportion ( |
A named vector with the number of sources in common as names and the absolute number/proportion as values.
## Not run: # Get the annotation file Annotation_file <- get_session_files("Session1")$Annotations[1] # Transform it into a list get_source_distribution(Annotation_file) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.