- ...
Arguments for the properties of regression line, such as `linetype`, `color`, etc.
For more information, type ?geom_smooth
- fit.params
Paramters for the fitted line, such as color, linetype and alpha.
- corr_method
Method of the correlation test.
Options include: 'pearson', 'kendall', or 'spearman'.
- alternative
Specifies the alternative hypothesis (H1). 'two.sided' is the standard way.
'greater' is a positive association, whereas 'less' is a negative association.
- separate_by
This marks how the p- and r- values should be separated.
The default option is: ','
For more information, check out stat_cor() from the ggpubr package.
- label_x
Location of the statistical value prints along the figure's x-axis.
It asks for a number within the x-axis limit.
- label_y
Location of the statistical value prints along the figure's y-axis.
It requires a number within the y-axis limit.
- text_size
Size (numerical value) of the texts from correlation.
- show_text
If the statistical result needs to be displayed, the input should be TRUE (default).
If the statistical result is not needed, the input should be FALSE.
- borders
If the border needs to be displayed, the input should be TRUE.
If the border is not needed, the input should be FALSE.
- legends
If the legend needs to be displayed, the input should be TRUE.
If the legend is not needed, the input should be FALSE.
- r2
FALSE or TRUE. TRUE if user wants to compute R2. FALSE if R needs to be computed.
- R2
Same as r2.