powered by
Select (include) columns by character or numeric vector.
inc(x, idx)
data.frame, tibble, or data.table.
tabular data.
Character or numeric vector: Column names or indices to include.
EDG
inc(iris, c(3, 4)) |> head() inc(iris, c("Sepal.Length", "Species")) |> head()
Run the code above in your browser using DataLab