Description Usage Arguments Value Examples
Returns scatter plot with regression results
1 2 |
x |
string with name of variable on x axis |
y |
string with name of variable on y axis |
dat |
data frame with data |
titl |
string with tittle |
xlab |
string with lable x axis, x by default |
ylab |
string with lable y axisa, y by default |
scx |
scale x variable. E.g 10s,100s, 1000s,... scx=1 by default |
scy |
scale y variable. E.g 10s,100s, 1000s,... scy=1 by default |
w |
string with name of regression weights variable. Equal weight by default |
names |
string with name of data points labels. E.g. City, State, Country |
sepa |
parameter used to calibrate the frequency tick marks, large values imply lower frequency. sepa=0 produces one label per data point |
ini |
number beyond which the frequency of names is reduced |
font |
plot font, serif by default |
logs |
use of logs in the regression, logs=0 y~x, logs=1: log(y)~log(x), logs=2: log(y)~x, logs=3: y~log(x) |
cv |
name of covariates |
nx |
horizontal adjustment for data points labels |
ny |
vertical adjustment for data points labels |
weighted scater plot with weighted linear regression
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.