scatterplot: Plot scatterplot between the dependent variables and all the...

Description Usage Arguments

View source: R/scatterplot.R

Description

Plot scatterplot between the dependent variables and all the predictors

Usage

1
scatterplot(variabledf, y_name, fittingmethod = "lm", n_row = 5)

Arguments

variabledf

the dataframe containing dependent and independent variables

y_name

charater, the name of the dependent variable

fittingmethod

the method to fit a line, choosing from the 'stat_smooth' in gglot2, can also be lm, glm, gam, loess.


mengluchu/APMtools documentation built on Jan. 27, 2022, 2:41 a.m.