Learn R Programming

fslr (version 1.9.2.1)

zlimmer: Find Image z-limits

Description

Helper function for plotting - returns zlim for image plot function

Usage

zlimmer(x, zlim = NULL)

Arguments

x
Object of class nifti
zlim
A user-specified zlim. If NULL, will calculate how ortho2 would calculate zlim

Value

If zlim = NULL, then vector of length 2, otherwise returns zlim