powered by
Remove left columns from the pivot table represented by the object.
remove_left(pt, n)# S3 method for pivot_table remove_left(pt, n)
# S3 method for pivot_table remove_left(pt, n)
A pivot_table object.
A number, number of columns to remove.
A pivot table should only contain label rows and columns, and an array of values, usually numeric data.
All columns not belonging to the pivot table must be removed.
# NOT RUN { library(tidyr) pt <- pt_m4 %>% remove_left(2) # }
Run the code above in your browser using DataLab