The latest version of the R package can be installed directly from this repository. First the dependencies and tools have to be installed into R:
# Install dependencies
install.packages(c("knitr", "devtools"))
When the dependencies are fulfilled, the devtools
package can be used
to install the pgca
package:
# Install pgca
library(devtools)
install_github("gcohenfr/pgca", build_vignettes = TRUE)
To get a quick introduction how to use the package, simply look at the vignette:
vignette("intro", package = "pgca")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.