Methods that act on the scl_slope field in the NIfTI/ANALYZE header.

scl_slope(object)

# S4 method for nifti
scl_slope(object)

scl_slope(object) <- value

# S4 method for nifti
scl_slope(object) <- value

scl.slope(object)

# S4 method for nifti
scl.slope(object)

scl.slope(object) <- value

# S4 method for nifti
scl.slope(object) <- value

# S4 method for niftiImage
scl_slope(object)

# S4 method for niftiImage
scl.slope(object)

Arguments

object

is an object of class nifti or anlz.

value

is the value to assign to the scl_slope field.

Details

See documentation on the ANALYZE and/or NIfTI data standards for more details.

References

ANALYZE 7.5
http://eeg.sourceforge.net/ANALYZE75.pdf
NIfTI-1
http://nifti.nimh.nih.gov/

Author

John Muschelli muschellij2@gmail.com,
Brandon Whitcher bwhitcher@gmail.com

Examples

file = system.file("extdata", "example.nii.gz", package = "RNifti")
img = RNifti::readNifti(file)
scl_slope(img)
#> [1] 0
scl.slope(img)
#> [1] 0