-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
--- | ||
--- | ||
title: "Essentials of Mathematics and Statistics" | ||
author: "Anas A Rana" | ||
date: "`r Sys.Date()`" | ||
bibliography: | ||
- book.bib | ||
- packages.bib | ||
description: This contains practicals for the second week of module 1 (_Essentials | ||
of Mathematics and Statistics_). | ||
description: This contains practicals for the second week of module 1 (_Essentials of Mathematics and Statistics_). | ||
documentclass: book | ||
link-citations: yes | ||
site: bookdown::gitbook | ||
subtitle: 'Practical: Module 1' | ||
biblio-style: apalike | ||
url: 'https\://anasrana.github.io/module1-practical_Bham/' | ||
github-repo: "anasrana/module1-practical_Bham" | ||
--- | ||
|
||
# Prerequisites | ||
# Introduction | ||
|
||
This is part of the practical for [Module 1 - Essentials of Mathematics and Statistics](https://canvas.bham.ac.uk/courses/39247/pages/essentials-of-biology-mathematics-and-statistics) part of the [MSc Bioinformatics 2018/19](https://www.birmingham.ac.uk/postgraduate/courses/taught/med/bioinformatics.aspx) at the University of Birmingham. | ||
|
||
This is a _sample_ book written in **Markdown**. You can use anything that Pandoc's Markdown supports, e.g., a math equation $a^2 + b^2 = c^2$. | ||
This website hosts the practicals for week two of **Module 1**, which covers: | ||
|
||
The **bookdown** package can be installed from CRAN or Github: | ||
- Linear regression | ||
- Principal Component Analysis (PCA) | ||
- Multivariate Regression | ||
- Generalised Linear Models | ||
|
||
```{r eval=FALSE} | ||
install.packages("bookdown") | ||
# or the development version | ||
# devtools::install_github("rstudio/bookdown") | ||
``` | ||
## Prerequisites | ||
|
||
Remember each Rmd file contains one and only one chapter, and a chapter is defined by the first-level heading `#`. | ||
Ensure you have attended Module 1 lectures and have the installed `R` and/or `Rstudio`. `Rstudio` is recommended, any packages required for each practical are mentioned at the beginning of each practical. | ||
|
||
To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): <https://yihui.name/tinytex/>. | ||
## Data sets | ||
|
||
```{r include=FALSE} | ||
# automatically create a bib database for R packages | ||
knitr::write_bib(c( | ||
.packages(), 'bookdown', 'knitr', 'rmarkdown' | ||
), 'packages.bib') | ||
``` | ||
For each practical there are some datasets required, you will find links to those in data folder [here](https://github.com/anasrana/module1-practical_Bham/tree/master/data). |