Quotes help make search much faster. Example: "Practice Makes Perfect"

Wednesday, September 4, 2019

Codecademy Learn R Looking at Data Types 8/10


#Sample Solution
---
title: "Data Cleaning in R"
output: html_notebook
---

```{r message=FALSE, warning=FALSE}
# load libraries
library(dplyr)
```

```{r}
# load students data frame
load("students.Rda")
```

```{r}
# print structure of students
str(students)
```

```{r}
# mean of age column
students %>% summarise(mean_score = mean(score))
# warning: argument is not numeric or logical
```

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts