pixTodeg | R Documentation |
Convert pixels to degrees for machine 'machine'
pixTodeg(xy, machine = "compass")
xy |
a 2 element vector c(x,y) where x and y are in pixels |
machine |
"compass" or ...? |
xy converted to degrees of visual field with the usual conventions or NA
if machine is unknown
pixTodeg(c(1000, 200), machine="compass") # c(1.290323, 24.516129) degrees
pixTodeg(c(1920/2, 1920/2)) # c(0,0) degrees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.