Skip to content

Adjust some spaces in text #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 03-hierarchical.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ boxplot( y ~ factor(sex), data)
lm( y ~ factor(sex), data)
```

Alternately, we can specify no intercept (which defaults to 0), and the means for the two levels as betas( equivalent to `lm(body_mass~0+sex)`):
Alternately, we can specify no intercept (which defaults to 0), and the means for the two levels as betas (equivalent to `lm(body_mass~0+sex)`):
```{r}
squid_data <- simulate_population(
data_structure = ds,
Expand All @@ -260,7 +260,7 @@ lm( y ~ factor(sex), data)
lm( y ~ 0+factor(sex), data)
```

We would recommend the former methods, as this makes things clearer if other factors are simulated.
We would recommend the former method, as this makes things clearer if other factors are simulated.

<!-- THIS SECTION NEEDS TO BE COMPLETED AS THERE IS A POTENTIAL BUG HERE -->

Expand Down