diff --git a/R/CST_RFWeights.R b/R/CST_RFWeights.R index bd626ef377fd9362c340001a36f7144e66edd7ac..d6cae37924b8dfc624a1a4cacc6efd3bb4a20f6a 100644 --- a/R/CST_RFWeights.R +++ b/R/CST_RFWeights.R @@ -22,7 +22,7 @@ #' @param lat Vector of latitudes. #' The number of longitudes and latitudes is expected to be even and the same. If not #' the function will perform a subsetting to ensure this condition. -#' @param varname Name of the variable to be read from \code{reffile}. +#' @param varname Name of the variable to be read from \code{climfile}. #' @param fsmooth Logical to use smooth conservation (default) or large-scale box-average conservation. #' @return A matrix containing the weights with dimensions (lon, lat). #' @import ncdf4 diff --git a/man/CST_RFWeights.Rd b/man/CST_RFWeights.Rd index ffd700bd1a7e6cb965e10cd0a8553e14a52c1cda..08a7b850b64dfdcaf28313d9da09883e9ad47d54 100644 --- a/man/CST_RFWeights.Rd +++ b/man/CST_RFWeights.Rd @@ -25,7 +25,7 @@ websites. The latter data will need to be converted to NetCDF format before bein The number of longitudes and latitudes is expected to be even and the same. If not the function will perform a subsetting to ensure this condition.} -\item{varname}{Name of the variable to be read from \code{reffile}.} +\item{varname}{Name of the variable to be read from \code{climfile}.} \item{fsmooth}{Logical to use smooth conservation (default) or large-scale box-average conservation.} }