addRowNums: addRowNums

Description Usage Arguments

View source: R/prVis.R

Description

Once a plot is displayed, addRowNums can be used to add row-number IDs to random points to gain further insight into the data.

Usage

1
addRowNums(np, area = c(0,1,0,1), savedPrVisOut)

Arguments

np

Number of points to add row numbers to in the plot. If no value is provided, rownumbers will be added to all datapoints in the selection

area

A vector in the form of [x_start, x_finish, y_start, y_finish]. x_start, x_finish, y_start, and y_finish should all be numbers between 0 and 1. These values correspond to percentages of the graph from left to right and bottom to top. [0,1,0,1] would specify the entirety of the graph. [0,0.5,0.5,1] specifies the upper-left quadrant. x_start and y_start must be less than x_finish and y_finish respectively.

savedPrVisOut

the name of the file where a previous call to prVis was stored


matloff/prVis documentation built on Dec. 3, 2019, 9:27 a.m.