plot_rsq: Plot R sqaure with each predictor.

Description Usage Arguments Value

View source: R/plot_rsq.R

Description

Plot R sqaure with each predictor.

Usage

1
2
3
4
5
6
7
8
plot_rsq(
  predictor_matrix = NA,
  response = NA,
  rsqdf = NA,
  varname = NA,
  xlab = NA,
  ylab = NA
)

Arguments

predictor_matrix

a dataframe of predictors

response

the response (e.g. air pollution measurement)

rsqdf

alternatively can also provide a dataframe with rsq and names of the predictors.

varname

name of the column that contains predictor names

Value

the dataframe of r square with each predictor


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