install logo correctly

This commit is contained in:
Jared Knowles
2020-07-06 11:48:10 -04:00
parent f5f288974f
commit 20f65a7126
32 changed files with 582 additions and 95 deletions
+11 -5
View File
@@ -2,19 +2,25 @@
% Please edit documentation in R/logo.R
\name{plot_jpeg}
\alias{plot_jpeg}
\title{Title}
\title{Plot a jpeg image as a raster}
\usage{
plot_jpeg(path, add = FALSE, upscale = TRUE)
}
\arguments{
\item{upscale}{}
\item{path}{a character representing the relative or absolute path to the image}
\item{add}{a logical, TRUE to add the image to an existing plot, FALSE creates a new plot}
\item{upscale}{a logical, TRUE upscales the resolution of the graphic by a factor of 3, FALSE
preserves the resolution}
}
\value{
a rasterImage
}
\description{
Title
Plot a jpeg image as a raster
}
\examples{
img <- readJPEG(system.file("img","Rlogo.jpg",package="jpeg"))
img <- system.file("img","Civilytics Consulting Logo.jpg",package="civilytics")
plot_jpeg(img)
}