dataViewer: an interactive addin to help visualise data and identifiy...

Description Usage Arguments Details Value

View source: R/dataViewer.R

Description

opens a pane from which you can select each set of data and select points to be dropped. The undo button gets rid of the last selection. Press "DONE" to get a dataframe of the selected points.

Usage

1
2
dataViewer(data, x, y, predictions = NULL, id_cols = NULL, col = NULL,
  group = NULL, lm_fit = FALSE)

Arguments

data

a data frame that contains the raw data

x

the x variable

y

the y variable

predictions

a data frame that contains the predictions if desired

id_cols

the columns that split the data frame into separate plots

col

an optional variable if different colours are desired on each plot

group

an optional variable for grouping model predictions when there are multiple predictions on a single plot

lm_fit

whether or not you want a linear model fit to be superimposed over the data. Defaults to FALSE

Details

an interactive addin to help visualise data and identify outliers

Value

a dataframe of points that were clicked


padpadpadpad/dataViewer documentation built on May 24, 2019, 5:59 p.m.