loessPredCount: loessPredCount function

View source: R/Utilities.R

loessPredCountR Documentation

loessPredCount function

Description

Summarize data from simulations in a form to make a nice hexbin plot Return both counts in bins and bin means

Usage

loessPredCount(
  resultMat,
  nSim = nrow(resultMat),
  xlim = NULL,
  ylim = NULL,
  budg1 = 1,
  budg2 = 2,
  degree = 1
)

Arguments

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

degree

Interger the degree of the polynomial LOESS fits

Details

Use the hexbin function to tabulate 2D bins in hexagonal array

Value

A list with bin counts and means and results from LOESS predictions


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.