powered by
drops variables in varlist format from the dataset
dropvar(x)
a varlist either in "var1 var2 var3" format or ~var1+var2+var3 format.
returns NULL, invisibly
# NOT RUN { use(cars, clear=TRUE) listif() dropvar("speed") listif() use(cars, clear=TRUE) dropvar(~speed) listif() # }
Run the code above in your browser using DataLab