plotLoessPred | R Documentation |
Make a nice hexbin plot with the summary from loessPredCount
plotLoessPred(
resultMat,
nSim = nrow(resultMat),
xlim = NULL,
ylim = NULL,
budg1 = 1,
budg2 = 2,
binMeanContrast = 3,
plotMn = T,
plotHiMn = T,
plotHiCt = F,
plotHiPredGain = F,
giveRange = T
)
resultMat |
Tibble the simulation results |
nSim |
Integer Predictions and counts for the first nSim simulations |
xlim |
Real max and min for plot |
ylim |
Real max and min for plot |
budg1 |
Integer which column of percent budget to make plot for x-axis |
budg2 |
Integer which column of percent budget to make plot for y-axis |
binMeanContrast |
Numeric a higher value makes the peak stand out more |
plotMn |
Logical if TRUE, plot mean of gain for bin not bin counts |
plotHiMn |
Logical whether to put a red circle at the hexbin with the highest mean |
plotHiCt |
Logical whether to put a green circle where the most simulations were run |
plotHiPredGain |
Logical whether to put a blue circle where on the point with the highest LOESS predicted gain |
giveRange |
Logical whether to put the range of gains in the main title |
Makes a plot
A list with bin counts and means and results from LOESS predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.