setdefaults {visualFields}R Documentation

Settings in the visualField environment

Description

Functions to set and get settings in the visualField environment

Usage

setdefaults()

getnv()

setnv(nv)

getgpar()

setgpar(gpar)

getlocmap()

setlocmap(locmap)

getlocini()

setlocini(locini = 11)

getvfcols()

Arguments

nv

normative values to to set in the visualFields environment

gpar

structure with all graphical parameters

locmap

location map to to set in the visualFields environment

locini

column from where to start reading the visual field data

Details

Value

setdefaults: No return value

getnv: Returns the normative value currently in used by visualFields

setnv: No return value

getgpar: Returns the graphical parameters currently in used by visualFields

setgpar: No return value

getlocmap: Returns the location map currently in used by visualFields

setlocmap: No return value

getlocini: Returns the column where visual field data starts

setlocini: No return value

getvfcols: Returns the columns with visual field data

Examples

# get and set normative values
getnv()$info$name                # print name of set normative values
setnv(normvals$iowa_PC26_pw_cps) # set pointwise normative values
getnv()$info$name                # print name of set normative values
setdefaults()                    # return back to defaults
# get and set a location map
getlocmap()$name         # name of set normative values
setlocmap(locmaps$p30d2) # set the 30-2 location map
getlocmap()$name         # name of set normative values
setdefaults()            # return back to defaults
# get and set a graphical parameters
getgpar()$tess$xlim  # limits of x axis
setgpar(gpars$pPeri) # set graphical parameters for the Peripheral test
getgpar()$tess$xlim  # limits of x axis
setdefaults()        # return back to defaults
# get and set initial column for visual field data
getlocini()
getvfcols() # get columns with visual fields data
setlocini(15)
getvfcols() # get columns with visual fields data
setdefaults() # return back to defaults

[Package visualFields version 1.0.1 Index]