Wednesday, 26 August 2020

summary function in r

 Summary functions produce a summary of all records in the found set  or sub summary values for records in different groups.

 Summary functions  are descriptive statistics of the data(only for numeric)

Note:

If it is categorical data then summary function will give counts of the variable(var)

Example: lp.csv

Name  Age  Marks

surya    29     98

sivi        10      23

somu     24       99

solution:

data1<-read.csv("lp.csv")

summary(data1)

summary(data1$Marks)


1 comment:

  1. You don't realize how quickly technology is changing. Data science is highly technical and is therefore in high demand. A career in data science will open up many lucrative job opportunities. So, if you have been wanting to start your career in Data Science, now is the best time to enroll in a data science program with one of the best data science training institute in noida.

    ReplyDelete

Global Infrastructure and its components in AWS

You may operate your workloads wherever and however you choose with the AWS Global Infrastructure, and you'll use the same network, cont...