rcpp_hdf5dataset_scalar_var: Variance of all elements of an HDF5 dataset (R6 wrapper)

View source: R/RcppExports.R

rcpp_hdf5dataset_scalar_varR Documentation

Variance of all elements of an HDF5 dataset (R6 wrapper)

Description

Block-wise computation of var(as.vector(X)). Uses Bessel's correction (N-1) where N is the total number of elements.

Usage

rcpp_hdf5dataset_scalar_var(ptr, paral = NULL, wsize = NULL, threads = NULL)

Arguments

ptr

External pointer (SEXP) to an open hdf5Dataset.

paral

Logical or NULL; enable OpenMP parallelisation.

wsize

Integer or NULL; block size (NULL = auto).

threads

Integer or NULL; thread count (NULL = auto).

Value

Scalar numeric.


BigDataStatMeth documentation built on May 15, 2026, 1:07 a.m.