Skip to content

Commit

Permalink
for #1323
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Oct 27, 2023
1 parent 8f79e00 commit cf20e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man/layerCor.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Compute correlation, (weighted) covariance, or similar summary statistics that c


\value{
If \code{fun} is one of the three standard statistics, you get a list with two items: the correlation or (weighted) covariance matrix, and the (weighted) means.
If \code{fun} is one of the three standard statistics, you get a list with two items: the correlation or (weighted) covariance matrix, and the (weighted) means. The means are also a matrix because they may depend on the combination of layers if different cells have NAs and are excluded from the computation.

If \code{fun} is a function, you get a matrix.
If \code{fun} is a function, you get a single matrix.
}

\references{
Expand Down

0 comments on commit cf20e82

Please sign in to comment.