MyNixOS website logo
Description
Improved Access for Blind Users
Blind users do not have access to the graphical output from R without printing the content of graphics windows to an embosser of some kind. This is not as immediate as is required for efficient access to statistical output. The functions here are created so that blind people can make even better use of R. This includes the text descriptions of graphs, convenience functions to replace the functionality offered in many GUI front ends, and experimental functionality for optimising graphical content to prepare it for embossing as tactile images.

This file documents the full object structure which is available to the whisker template. Trailing asterisk indicates items introduced in the mustache preprocessing step.

Lists have a "sep" field to assist with natural language description of the list. Sep is blank for the final list item, "and" for the penultimate one, and "," otherwise.

annotations  
* title  
* subtitle  
* caption 

xaxis 
*	samescale         # do all facets have the same scale (currently only present if same on both axes)  
*	xlabel      
*	xticklabels       # if samescale present.  This is a vector
*	xtickitems (list) * 
	+ itemnum *
	+ label           # the tick label
	+ sep

yaxis  
*	samescale         # do all facets have the same scale (currently only present if same on both axes)  
*	ylabel  
*	yticklabels       # if samescale present.  This is a vector
*	ytickitems (list) * 
	+ itemnum *
	+ label           # the tick label
	+ sep

legends (list)		  # this includes colour, fill, shape, etc
*	aes
*	mapping
*	scalediscrete
*	scalefrom         # If scalediscrete not present
*	scaleto           # if scalediscrete not present
*	scalelevels       # if scalediscrete present
*	hidden            # If this legend has been hidden

npanels  
panelrows             # What variable(s) are varying in the facet rows. Missing if not faceted.  
panelcols             # What variable(s) are varying in the facet columns. Missing if not faceted.  
singlepanel *  
singlerow *  
singlecol *  
panelgrid *  
nlayers  
singlelayer *  
panels (list)  

*	panelnum		
*	row               # What row of the panel grid is this panel in
*	col               # What col of the panel grid is this panel in
*	vars (list)       # What data is included in this panel
    +	varname
    +	value			
*	samescale         # Duplicated from xaxis,yaxis
*	xlabel            # if samescale not present, axis labelling for this panel
*	ylabel            # if samescale not present, axis labelling for this panel
*	xticklabels       # if samescale not present, axis labelling for this panel
*	xtickitems (list) * 
	+ itemnum *
	+ label           # the tick label
	+ sep
*	yticklabels       # if samescale not present, axis labelling for this panel
*	ytickitems (list) * 
	+ itemnum *
	+ label           # the tick label
	+ sep
	
* panellayers (list)

	+ layernum
	+ type            # One of hline, bar, line, point, box, smooth, unknown
	+ hlinetype *
	+ bartype *
	+ boxtype *
	+ linetype *
	+ pointtype *
	+ smoothtype *
	+ unknowntype *
	+ layeraes (list) # Non-default aesthetics that were specified for this layer
		+ aes
		+ mapping
		+ position
	+ badtransform	  # A transform used in this layer has no inverse, can't report original values
	+ transform	      # If badtransform present, the name of the tranform
	+ data         	  # Raw plot data for this layer & panel. Used by MakeAccessibleSVG, not by VI
	+ scaledata	      # Plot data converted back to original scale
	+ n *             # Number of items present
	+ s *             # If number of items > 1 (useful for pluralizing)
	+ largecount *    # If no item details will be provided because there are too many
	+ items (list) *  # Plot data converted to lists for mustache
		+ itemnum
		+ sep *       # text separator
		+ yintercept  # if type hline
		+ x           # if type point or line or box, or type bar with constant width bars  
		+ y           # if type point or line
		+ xmin        # if type bar with non-constant-width bars
		+ xmax        # if type bar with non-constant-width bars
		+ ymin        # if type box or bar
		+ lower       # if type box
		+ middle      # if type box
		+ upper       # if type box
		+ ymax        # if type box or bar
		+ noutliers   # if type box
	+ method          # if type smooth
	+ ci              # if type smooth   
Metadata

Version

1.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows