#Sample Solution
---
title: "Quantiles"
output: html_notebook
---
```{r}
# load song data
load("songs.Rda")
```
```{r}
# define twenty_third_percentile here:
twenty_third_percentile <- quantile(songs,0.23)
```
```{r}
# ignore the code below here:
tryCatch(print(paste("The value that splits 23% of the data is",twenty_third_percentile)), error=function(e) {print("You haven't defined twenty_third_percentile.")})
```
No comments:
Post a Comment