Files
jared 6051e4bb5c
R-CMD-check / R CMD check (push) Successful in 4m37s
Remove vendored headshots and add proportion CI tests
- Remove Knowles_Headshot_2019_good.jpg and Knowles_Headshot_2019_prisma.jpg
  from inst/img/ — personal headshot should not be distributed with the package
- Update plot_jpeg() roxygen example to use a generic placeholder instead of
  the removed headshot path; regenerate man/plot_jpeg.Rd accordingly
- Add comprehensive testthat coverage for clopper_pearson(), z_univariate(),
  waldInterval(), and agresti_coull_interval() in tests/testthat/test_propint.R

The propint module previously had zero tests. New tests cover: return types,
formula correctness (cross-validated against binom.test()), edge cases
(0/n and n/n), interval validity, confidence level behavior, and sign/direction
of z-scores.
2026-08-09 13:53:08 -04:00

30 lines
691 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{
\dontrun{
# Supply a path to your own JPEG file
img <- "my_photo.jpg"
plot_jpeg(img)
}
}