Learn R Programming

oro.nifti (version 0.11.4)

nifti_assign-methods: Methods for Function [<- in Package 'base'

Description

Methods for function [<- in Package 'base'

Arguments

Methods

x = "nifti", i = "ANY", j = "ANY", value = "ANY"

Replaces the data at the provided co-ordinates with the value provided and updates the header.

x = "nifti", i = "numeric", j = "numeric", value = "ANY"

Replaces the data at the provided co-ordinates with the value provided and updates the header.

x = "nifti", i = "ANY", j = "missing", value = "ANY"

Replaces the data row i of the provided nifti object with the value provided and updates the header.

x = "nifti", i = "numeric", j = "missing", value = "ANY"

Replaces the data row i of the provided nifti object with the value provided and updates the header.

x = "nifti", i = "missing", j = "missing", value = "array"

Replaces the data of the provided nifti object with the array provided and updates the header.