![]() Step 3: Now, we will use a summary() function Once we understand the structure of the data, then we will pass the below-mentioned code to understand the data more statistically. ![]() Like in our example roll number is an integer, the name is character and Marks are numbered. Then it explains the data type of each variable. The above output means we have 5 observations of 3 variables. When we run the whole code we will get output. Step 2: We add the below line in our code. So to understand the structure of data we pass on the function Str(). Here in our example, the data frame is very small, but in real life, while dealing with the problem we have lots of data. When we run this code we will get a data frame like this. Step 1: Create a Data Frame of a Class in a School. Let’s start with creating a data frame which is explained below, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |