R graphics used to illustrate signal detection