usePackage: Package installing and loading function

Description Usage Arguments Examples

Description

The usePackage function takes a single command, the name of a package, and will install it, if not already installed, and then load it.

Usage

1
usePackage(package)

Arguments

package

A package name as a quoted string.

Examples

1
usePackage("ggplot2")

AFMSAnalytics/utilityScripts documentation built on May 30, 2019, 10:45 p.m.