Smooth AR coefficients and white noise variance
pw_smooth(vertices, faces, mask = NULL, AR, var, FWHM = 5)
Smoothed AR coefficients and residual variance at every vertex
A \(V \times 3\) matrix, where each row contains the Euclidean coordinates at which a given vertex in the mesh is located. \(V\) is the number of vertices in the mesh
An \(F \times 3\) matrix, where each row contains the vertex indices for a given triangular face in the mesh. \(F\) is the number of faces in the mesh.
A logical vector indicating, for each vertex, whether to include
it in smoothing. NULL
(default) will use a vector of all TRUE
,
meaning that no vertex is masked out; all are used for smoothing.
A Vxp matrix of estimated AR coefficients, where V is the number of vertices and p is the AR model order
A vector length V containing the white noise variance estimates from the AR model
FWHM parameter for smoothing. Remember that
\(\sigma = \frac{FWHM}{2*sqrt(2*log(2)}\). Set to 0
or NULL
to not do any smoothing. Default: 5
.#'