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
setdefaults
sets the default location map, normative value and graphical parameters visualFields environmentsetnv
sets normative values in the visualFields environmentgetnv
gets current normative values from the visualFields environmentsetlocmap
sets a location map in the visualFields environmentgetlocmap
gets the current location map from the visualFields environmentsetgpar
sets graphical parameters in the visualFields environmentgetgpar
gets current graphical parameters from the visualFields environmentsetlocini
sets the column where visual field data start in the visualFields environmentgetlocini
gets the column where visual field data starts from the visualFields environmentgetlocini
gets the column where visual field data starts from the visualFields environmentgetvfcols
gets all the columns with visual field data
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