Learn R Programming

visualFields (version 0.6.2)

vfplot_legoplot: legoplot for PoPLR analysis

Description

legoplot for PoPLR analysis

Usage

vfplot_legoplot( vals, patternMap, vftiles, vfhull,
                        loccolout, loccolin, radius = 2,
                        xmin = NULL, xmax = NULL, ymin = NULL, ymax = NULL,
                        txtfont = "sans", pointsize = 10,
                        showaxis = FALSE, colaxis = "black" )

Arguments

vals

values to show in the lego-plot, typically differences between baseline and final visual field tests

patternMap

locations where to plot symbols, the TD and PD values

vftiles

Tiles for the tessellation calculated with Voronoi polygons

vfhull

Hull defined for the visual field test.

loccolout

color of the polygon surrinding the circle in the lego piece

loccolin

color of the circle in the inside of the lego piece

radius

Radius of the circle inside the lego piece. Default is 2.

xmin, xmax, ymin, ymax

minimum and maximum limits on the x and y axes, in degrees of visual angle. If NULL, then the limits are the maximum and minimum location values + 2.5 percent of the range. Default is NULL.

txtfont

font face of the text with visual-sensitivity values. Default is sans

pointsize

size of the text with visual-sensitivity values. Default is 10

showaxis

Whether to show axis or not. Default is FALSE

colaxis

Color of the axis to show, if showaxis is TRUE. Default is black

Details

Shows the legoplots