‫So now that we have learned how to install and remove packages let us learn about how to add data on
‫which we want to perform our analysis.
‫There are three ways.
‫One is to use us building data sets.
‫Other is you can enter data manually and stored in variables create data tables and the third option
‫is you can import your data from a CSP file or a text file.
‫Let us look at the first option.
‫Has a building package called the data set package.
‫If you go to the packages option and scroll down you can find the data set package in the system library
‫that is a data search package.
‫So does it start.
‫You will just click here to make it available.
‫If you want to look at the list of data set that are part of this package you can just write data open
‫and close bracket
‫press control enter and you will get a list of all the data set that that part of this package with
‫a smaller description in front of the name
‫another way of doing the same thing is we can bait library
‫and within brackets will rate help is equal to
‫double quotation marks because it
‫would underscore my you can see it is giving you the same list of all the data set available in the
‫package now in this list of packages you can see there is a data set called Iris
‫let us learn something about this dataset so we'll go to our script window and we'll write.
‫Question mark Iris
‫is it all lose.
‫This will tell us what that dataset contains in the help section.
‫You can see the description of this data.
‫The format of the data the source Tegra ie this is basically data of class and it contains data such
‫as SEPA land.
‫You can see here separate land several great land pedal worked and the species to let us look at the
‫structure of this dataset to see the structure relate as these are and within bracket relate this control.
‫So as I told you it has five variables simple land weird but the land where 10 species and it has 150
‫observations so basically it and it has 50 floors of tree species.
‫So that's why 150 observations.
‫And when you write SDR it is giving the structure of this data frame and it is telling you the column
‫name column type and few observations of that column.
‫So whenever you get new data you should look at the structure of the data to know more about the data
‫if you want to look at the data you just write Iris and present it right as presented so you can see
‫these are the 150 rows with five columns.
‫Now if you want to load this data set into your workspace you need to write data
‫within brackets Iris
‫control and now you can see Iris is part of the workspace now and you can use it for net analysis.