Learn R Programming

neurobase (version 1.32.4)

zlimmer: Find Image z-limits

Description

Helper function for plotting - returns zlim for image plot function

Usage

zlimmer(x, zlim = NULL, computed_range = NULL)

Value

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

Arguments

x

Object of class nifti

zlim

A user-specified zlim. If NULL, will calculate how ortho2 would calculate zlim

computed_range

If the range of the data was already computed, this can be passed in and will be used if relevant.