R Code
### Create a variable x, with numbers 11 through 20 |
R Output
> ### Create a variable x, with numbers 1 through |
Subsetting Data
Often, one has a dataset, but they don't want to work with the whole dataset, they only want to analyze a subset of the data. The subset() function is extremely useful in this instance.
Often, one has a dataset, but they don't want to work with the whole dataset, they only want to analyze a subset of the data. The subset() function is extremely useful in this instance.
R CODE
#### For this example, we will be using the battery dataset |
R OUTPUT
> #### For this example, we will be using the battery dataset |