Skip to content

This is the repository for the R package I use for teaching linear models.

Notifications You must be signed in to change notification settings

courtiol/LM2GLMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LM2GLMM

This is the repository for the R package LM2GLMM. This R package is primarily aimed at the students of the course I am giving at the Freie Universität, Berlin. Without the BLA BLA it may be difficult to follow...

For students and other users

Installation

  1. install the R package drat (only if you don't have it):
install.packages("drat")
  1. install the R package LM2GLMM:
drat::addRepo("courtiol")
install.packages("LM2GLMM")

Usage

To load the package and access the vignettes (i.e. the course):

library("LM2GLMM")
browseVignettes(package = "LM2GLMM")  ## see vignettes in your web browser
get_vignettes() ## see folder cointaining vignettes as *.html files

For developers

Procedure to update the package

  1. install & restart (click on the R studio button); repeat twice if small issues.

  2. make sure the working directory is the one of the project (and make sure you have deleted the cache and the cached figured if you want all chunks to be rerun and not just the one you changed), then:

LM2GLMM:::.build_vignettes()
LM2GLMM:::.update_drat()

Note: the building of some vignette takes a lot of time. So you may want to knit the particular vignette you are revising directly to update the cache and then follow the instructions just mentioned.

  1. commit and push

Check

To check that it is all fine, just do what users do:

drat::addRepo("courtiol")
install.packages("LM2GLMM")
library(LM2GLMM)
browseVignettes(package = 'LM2GLMM')

About

This is the repository for the R package I use for teaching linear models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages