as: conversion from 'NeuroVol' to 'LogicalNeuroVol'

asR Documentation

conversion from NeuroVol to LogicalNeuroVol

Description

This function provides a method to coerce an object of class ROIVec to a matrix.

This function provides a method to coerce an object of class ROIVol to a DenseNeuroVol.

Arguments

from

An object of class ROIVol to be coerced to a DenseNeuroVol.

Value

A matrix obtained by coercing the ROIVec object.

A DenseNeuroVol object obtained by coercing the ROIVol object.


bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.