powered by
prints the part of the dataset that satisfies certain conditions
listif(cond, vars, ...)
a conditional expression; only observations that satisfy the condition will be returned.
a variable list; only variables in the list will be returned.
other options, currently ignored
the part of the dataset that satisfies the condition and contains the specified columns
# NOT RUN { use(cars, clear=TRUE) listif() listif(speed <= 20) # }
Run the code above in your browser using DataLab