Description Usage Arguments Value Examples
Correlation Analysis & Simple Linear Regression Analysis
1 |
x |
Vector of independent variable (explanatory variable) data |
y |
Vector of dependent variable (response variable) data |
r0 |
Correlation coefficient value under the null hypothesis, Default: 0 |
xl |
Label of x-axis (default=x variable name) |
yl |
Label of y-axis (default=y variable name) |
mt |
Plot title |
step |
Steps of simple regression analysis, Default: 1:9 |
x0 |
Specipic poit value for confidence and prediction intervals |
xrng |
Range of x-axis |
by |
Plotting interval of confidence and prediction bands |
alp |
Level of significance, Default: 0.05 |
dig |
Number of digits below the decimal point, Default: 4 |
None.
1 2 | Scorr.plot6()
corr.plot6(r = 0.6, r2 = 0.9, n = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.