slope_arr: slope_arr

View source: R/arr_trend.R

slope_arrR Documentation

slope_arr

Description

slope_arr

Usage

slope_arr(arr, FUN = rtrend::slope_mk, return.list = FALSE)

Arguments

arr

a matrix (⁠[ngrid, ntime]⁠) or array (⁠[nlon, nlat, ntime]⁠).

FUN

slope functions, see slope_mk().

return.list

boolean,

  • TRUE: list(slope, pvalue) will be return

  • FALSE: a array, with the dim of nx, ny, 2.

Value

t, A 3d array, with the dim of ⁠[nx, ny, 2]⁠.

  • t[,,1]: slope

  • t[,,2]: pvalue


kongdd/Ipaper documentation built on March 27, 2024, 5:34 a.m.