# new DTSg object
x <- DTSg$new(values = flow)
# get names of numeric columns
## R6 method
x$cols(class = "numeric")
## 'names()' is a "hidden" R6 alias for 'cols()'
x$names(class = "numeric")
## S3 method
cols(x = x, class = "numeric")
Run the code above in your browser using DataLab