Description Usage Arguments Value Author(s) References Examples
scoreFM100Graphic
computes the graphical score for the
FM-100 test or similar. The input is either a vector of RGB colors or cap positions.
1 2 | scoreFM100Graphic(userFM100colors=NULL,userFM100values=NULL, titleGraphic=
"Farnsworth Munsell 100-Hue test results", okFM100colors=NULL, Kinnear=FALSE)
|
userFM100colors |
RGB colors chosen by tester |
userFM100values |
position values chosen by tester |
titleGraphic |
title for the graphic |
okFM100colors |
vector with RGB colors in the correct sequence |
Kinnear |
logical, scoring method TRUE = Farnsworth, FALSE = Kinnear |
none
Jose Gama
Dean Farnsworth, 1943 The Farnsworth Munsell 100-hue dichotomous tests for colour vision Journal of the Optical Society of America, 33 (1943), pp. 568<e2><80><93>576
1 2 3 4 5 6 7 8 9 | # an example score
## Not run:
FM100example<-exampleFM100
userFM100values=cbind(FM100example[1,], FM100example[4,-22],
FM100example[7,-22], FM100example[10,-22])
userFM100values=as.vector(unlist(userFM100values))
scoreFM100Graphic(userFM100values)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.