Files
civilyticsR/man/plot_jpeg.Rd
T
Jared Knowles 91dad76526
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
cleanup tests and build
2022-10-16 19:30:05 -04:00

27 lines
688 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logo.R
\name{plot_jpeg}
\alias{plot_jpeg}
\title{Plot a jpeg image as a raster}
\usage{
plot_jpeg(path, add = FALSE, upscale = TRUE)
}
\arguments{
\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{
Plot a jpeg image as a raster
}
\examples{
img <- system.file("img","civilytics_logo.jpg",package="civilytics")
plot_jpeg(img)
}