formatSimsOutput: Export simulations of re-binning process from 'rebin'...

Description Usage Arguments Details

View source: R/formatSimOutput.R

Description

Export simulations of re-binning process from rebin function

Usage

1
2
formatSimsOutput(simulates, numObs, binLower, binUpper, cutSize, repNum,
  outputType = "list_of_bins")

Arguments

simulates

a list object created from rebin

numObs

The number of observations that were simulated from

binLower

A vector of the lower cut points of the of the original binned ata

repNum

The number of replications carried out

outputType

currently either "list_of_bins} or \code{list_of_draws}. \code{"list_of_bins returns a list object whose length is the number of simulations in each list there is a matrix of counts of how many objects were places in each bin for each observation. list_of_draws has a similar data structure but only includes the matrix of draws.

binUPper

A vector of the upper cutponts of the original binnned data

A

scalar that is the the length of the new (less coarse) simulated data bin

Details

The idea of this data structure ist that it is similar to an imputation matrix.


aserlich/gameify documentation built on Sept. 27, 2019, 5:41 p.m.