viewData {PET} | R Documentation |
This function prints 1 up to 8 images in a new window on the display or in a current window curWindow
. The function uses the R function image
to display the images. Note the conditions of this function.
viewData(Data, Title = NULL, curWindow = TRUE, colors = gray((0:255)/255), s = 1)
Data |
Has to be a matrix or a list of matrices. One, two, up to eight image are possible. |
Title |
A character or a list of titles, that specify the title of the images. Note if |
curWindow |
If |
colors |
Corresponds to the parameter |
s |
Scaling parameter for the size of a new window. Defaults to |
Returns the current window.
Joern Schulz, jschulz78@web.de.
P <- phantom() R <- markPoisson(P) viewData(list(P, R$Data, R$rData), list("Phantom", "Marked Poisson Data", "Simulated PET Data")) rm(P,R)