Descriptive Stats

Here we will use the dataset “ChickWeight”

data(ChickWeight)
data <- ChickWeight
View(data)

You can get multiple descriptive statistics from the summary() command.

summary(data)

You can also use functions to get specific descriptive statistics you are looking for.

mean(data$weight)
sd(data$weight)

Or, you can print information about your data in a table.

table(data$diet)