README.md

AppVeyor Build Status

stat1004

Introduction to Probability and Statistics

What does stat1004 do?

The stat1004 package provides R code, datasets and vignettes (tutorials demonstrating how to use R code) to help students taking STAT0002 (formerly STAT1004) Introduction to Probability and Statistics at University College London to understand the course material and to see how R can be used to perform some of the analyses in the course.

The package is:

Installation

If you need to install R then you can get it from CRAN.

If you would like to use RStudio (a user-friendly front-end to R) then you can get it from here [See "Installers for Supported Platforms" near the bottom of the page. Choose the FREE RStudio Desktop Open Source License.]

To install the stat1004 package from GitHub type the following at the R Console command prompt >. If

install.packages("remotes")

install.packages(c("plotrix", "rpanel", "rust", "smovie", "tkrplot", "MASS", "knitr", "distributions3"), 
                 dependencies = "Depends")

You only need to do this (install the remotes package etc) once. Then install stat1004 (or reinstall it to get the latest version) using

remotes::install_github("paulnorthrop/stat1004", dependencies = "Depends", build_vignettes = TRUE)

Getting started

Then type

library(stat1004)
?stat1004

to open the main help page, which contains links to vignettes, datasets and other sources of information. [If ?stat1004 doesn't work then close RStudio, reopen it and try again.]

You will find that some vignettes contain ideas that we have not yet covered in lectures. If you want to try to understand these ideas before we cover them then please use the links to further information that have been provided.

If you have any questions about this package please ask them via the STAT0002 Moodle Discussion Forum.



paulnorthrop/stat1004 documentation built on Nov. 17, 2019, 3:49 a.m.