Skip to content

Commit

Permalink
Update ext-springs.Rmd (#307)
Browse files Browse the repository at this point in the history
Changed `}` to `)`.
  • Loading branch information
PursuitOfDataScience committed Jan 31, 2022
1 parent e8e3925 commit 01734fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext-springs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ We first start with the class definition:
```{r, eval = FALSE}
StatSpring <- ggproto("StatSpring", Stat,
...
}
)
```

This creates a new `Stat`[^ext-springs-1] subclass, named `StatSpring`. ggproto classes always use CamelCase for naming, and the new class is always saved into a variable with the same name.
Expand Down

0 comments on commit 01734fa

Please sign in to comment.