Skip to content

Commit 1f8c8d3

Browse files
committed
Merge branch 'luca_updates'
2 parents 39a510c + 2784995 commit 1f8c8d3

2 files changed

Lines changed: 604 additions & 362 deletions

File tree

vignettes/vignette_start.Rmd

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,7 @@ The answer to our question is now contained in the `Fspecies10` object (we chose
413413
plot(Fspecies10)
414414
```
415415

416-
<div class="figure">
417-
<img src="figure/vis10-1.png" alt="plot of chunk vis10" width="100%" />
418-
<p class="caption">plot of chunk vis10</p>
419-
</div>
416+
<img src="figure/vis10-1.png" width="100%" />
420417

421418
The x-axis of this plot shows the three possible values of the `species` variate. The y-axis reports fractions which may be read as *frequencies* or *probabilities*.
422419

@@ -488,10 +485,7 @@ onlyAdelie <- subset(Fspecies10, list(species = 'Adelie'))
488485
hist(onlyAdelie, legend = 'topright')
489486
```
490487

491-
<div class="figure">
492-
<img src="figure/hist10-1.png" alt="plot of chunk hist10" width="100%" />
493-
<p class="caption">plot of chunk hist10</p>
494-
</div>
488+
<img src="figure/hist10-1.png" width="100%" />
495489

496490

497491
by giving the probabilities of all possible relative-frequency distributions.
@@ -851,13 +845,13 @@ dataset <- penguins
851845
Here are the values for two subjects:
852846
853847
854-
| |species |island | bill_len| bill_dep| flipper_len| body_mass|sex | year|
855-
|:---|:-------|:------|--------:|--------:|-----------:|---------:|:------|----:|
856-
|166 |Gentoo |Biscoe | 48.4| 14.6| 213| 5850|male | 2007|
857-
|214 |Gentoo |Biscoe | 46.2| 14.9| 221| 5300|male | 2008|
858-
|85 |Adelie |Dream | 37.3| 17.8| 191| 3350|female | 2008|
859-
|206 |Gentoo |Biscoe | 50.1| 15.0| 225| 5000|male | 2008|
860-
|256 |Gentoo |Biscoe | 49.1| 15.0| 228| 5500|male | 2009|
848+
| |species |island | bill_len| bill_dep| flipper_len| body_mass|sex | year|
849+
|:---|:---------|:------|--------:|--------:|-----------:|---------:|:----|----:|
850+
|25 |Adelie |Biscoe | 38.8| 17.2| 180| 3800|male | 2007|
851+
|42 |Adelie |Dream | 40.8| 18.4| 195| 3900|male | 2007|
852+
|316 |Chinstrap |Dream | 53.5| 19.9| 205| 4500|male | 2008|
853+
|30 |Adelie |Biscoe | 40.5| 18.9| 180| 3950|male | 2007|
854+
|332 |Chinstrap |Dream | 52.2| 18.8| 197| 3450|male | 2009|
861855
862856
863857

0 commit comments

Comments
 (0)