powered by
Delete unwanted records from the dataset (e.g. outliers) by selecting them in a scatter plot.
select_and_remove(data, xvar, yvar)
a data.frame.
quoted name of the variable to be displayed in the x axis.
quoted name of the variable to be displayed in the y axis.
the data.frame given to the data argument, without the selected points.
data
# NOT RUN { # } # NOT RUN { library(dplyr) library(timbeR) tree_scaling <- tree_scaling %>% mutate(did = di/dbh, hih = hi/h) %>% select_and_remove(., 'hih', 'did') # } # NOT RUN { # }
Run the code above in your browser using DataLab