Description Usage Arguments Details Examples
View source: R/percentiles_scatter_plot.R
Provide journal and paper percentile values in a data frame, e.g. df, and the function call jpscatter(df) creates the scatter plot. The function jpscatter takes some optional arguments to modify its behaviour, see arguments and details.
1 |
df |
data frame with journal and paper percentiles |
off_set |
determines the location of additional plotted information (number of points in each quadrant), values between 0 and 40 might be useful (optional parameter). The default value is 0. |
print_stats |
boolean variable (optional parameter) which determines if the additional statistical values are printed to the R console (T: yes print, F: no do not print). The default value is T. |
do_plot |
boolean variable (optional parameter) which determines if the scatter plot is actually produced (T: yes plot, F: no do not plot). The default value is T. |
digits |
integer value to determine the number of desired digits after the decimal point for statistical values (optional parameter). The default value is 1. |
... |
additional arguments to pass to the plot function |
jpscatter(df=data_frame, off_set=numeric_value, print_stats=boolean, do_plot=boolean, digits=integer) Only the argument df is necessary. All other aruments are optional.
Literature:
- Bornmann, L., & Haunschild, R. (2017). Plots for visualizing paper impact and journal impact of single researchers in a single graph, DOI: 10.1007/s11192-018-2658-1, preprint: https://arxiv.org/abs/1707.04050
An example data frame is provided as example_researcher
in the package. It can be used to create a scatter plot using default values.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.