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

Monday, September 9, 2019

Codecademy Hypothesis Testing With R One-Sample T-Test 9/14


#Sample Solution
---
title: "Hypothesis Testing in R"
output: html_notebook
---

```{r message = FALSE}
# load and view data
load("ages.Rda")
ages
```

```{r}
# calculate ages_mean here:
ages_mean <- mean(ages)
ages_mean
```

```{r}
# perform t-test here:
results <- t.test(ages,mu=30)
results
```

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts