*Copyright @ www.mycsg.in;


What is the word meaning of subset?

  1. a part of a larger group of related things.

Where do we need to subset data - in terms of variables?

Subset variables from a dataset

Create sample input datasets

Subset the variables using 'keep' statement

Create a dataset named 'age' by keeping the variables Name and Age from class dataset

Create a dataset named 'height_weight' by keeping the variables Name, Height, Weight from class dataset