- results_data
(list) One or several objects returned by the function textTrainN
as a list (e.g, list(object1, object2)). Also, if several models are provided,
then one can add a vector c() with settings (i.e the parameters below) for each model
(make sure to add the settings in the order as the models are ordered,
if you look to keep the original settings then write "").
- breaks
(numeric) Vector containing the percents of the total number of data points that is
included in each sample (default = NULL, which takes the breaks from the percentages).
If several models are provided, then one can add a vector c() with settings for each model
(make sure to add the settings in the order as the models are ordered).
- x_unit
(character, "percent" or "quantity") Determines whether the x-axis-values should represent
the number of elements in each sample, or the number of percent of the total data they represent
(default = "percent").
- y_range
(numeric) Optional. Determines the y_range. E.g, y_range = c(1,2) sets the y_range from
1 to 2 (default = NULL).
- title
(character) Determine plot title (default = "Cross-validated correlation coefficients
across different sample sizes").
- x_axes_label
(character) Determine x-axis-label (default = "Sample Size (percent)").
- y_axes_label
(character) Determine y-axis-label (default = "Correlation Coefficient (r)").
- point_color
(character, (Hex color codes)) Determine point color (default = "#5dc688"). Can set a vector
if several results_data are provided.
- error_bar
Default "std_err"; see also "std", NULL. Can set a vector
if several results_data are provided.
- bar_color
(character, (Hex color codes)) Determine error-bar color (default = "#60A1F7"). Can set a vector
if several results_data are provided.
- line_color
(character, (Hex color codes)) Determine line color (default = "grey"). Can set a vector
if several results_data are provided.
- bar_width
(numeric) Determine bar-width (default = 1). Can set a vector
if several results_data are provided.
- bar_size
(numeric) Determine bar-size (default = 1). Can set a vector
if several results_data are provided.
- line_size
(numeric) Determine line-size (default = 1). Can set a vector
if several results_data are provided.
- line_type
(character, either "straight" or "smooth") Determine line-type (default = "straight").
Can set a vector if several results_data are provided.
- point_size
(numeric) Determine points size (default = 1). Can set a vector if several results_data are provided.
- log_transform_x
(boolean) Determine wether to log-transform x in case of displaying number of samples
(default = FALSE).