stats_3d: Computes mean and standard deviation

View source: R/event_functions_3d.R

stats_3dR Documentation

Computes mean and standard deviation

Description

This function is used for 3D event extraction and feature computation.

Usage

stats_3d(dat)

Arguments

dat

The data array

Value

A list with following components

mean.dat

The mean of the data array

sd.dat

The standard deviation of the data array

Examples

set.seed(1)
arr <- array(rnorm(12000),dim=c(40,25,30))
arr[25:33,12:20, 20:23] <- 10
mean_sd <- stats_3d(arr[1:20,1:6,1:8])
mean_sd

eventstream documentation built on May 16, 2022, 9:06 a.m.