library(degradr)
# Load example data sets
data(filter_train)
data(filter_test)
# Show the original column names
colnames(filter_train)
# Rename the columns to match the expected format: t, x, unit
colnames(filter_train) <- c("t", "x", "unit")
plot_degradr(data = filter_train, D = 600)
Run the code above in your browser using DataLab