diff --git a/R/complexity.R b/R/complexity.R index 06ece0d..68bfde3 100644 --- a/R/complexity.R +++ b/R/complexity.R @@ -135,7 +135,7 @@ img_complexity <- function(imgfile, algorithm = "zip", rotate = FALSE){ #' #' Returns the complexity of an image array / matrix or path. #' -#' @param imgfile An array or matrix of numeric values or integer values, or the file path to the image. +#' @param img An array or matrix of numeric values or integer values, or the file path to the image. #' @param algorithm character. Which compression algorithm to use. #' @param rotate logical. Image rotation by 90 degrees? #' diff --git a/man/dot-compl.Rd b/man/dot-compl.Rd index 0656f68..688f84a 100644 --- a/man/dot-compl.Rd +++ b/man/dot-compl.Rd @@ -7,11 +7,11 @@ .compl(img, algorithm, rotate) } \arguments{ +\item{img}{An array or matrix of numeric values or integer values, or the file path to the image.} + \item{algorithm}{character. Which compression algorithm to use.} \item{rotate}{logical. Image rotation by 90 degrees?} - -\item{imgfile}{An array or matrix of numeric values or integer values, or the file path to the image.} } \value{ a numeric value (ratio compressed/uncompressed file size).