Data Science Desktop Survival Guide
by Graham Williams
# Copy the dataset into the variable ds.
ds <- weatherAUS
# Report on the dimensions of the dataset.
# Demonstrate an assignment pipeline.
select(MinTemp, MaxTemp, Sunshine)
# Confirm that the dataset has changed.
Once again this is so-called syntactic sugar. The commands are effectively translated by the computer into the following code.
# Functional form equivalent to the pipeline above.
ds <- select(filter(weatherAUS, Rainfall==0),
MinTemp, MaxTemp, Sunshine)