create.data.bins: New dataset based on bins

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/create.dataset.bins.R

Description

Creates a new dataset based on onemap.bin object

Usage

1
create.data.bins(input.obj, bins)

Arguments

input.obj

an object of class onemap.

bins

an object of class onemap.bin.

Details

Given a onemap.bin object, creates a new data set where the redundant markers are collapsed into bins and represented by the marker with the lower amount of missing data among those on the bin.

Value

an object of class onemap.

Author(s)

Marcelo Mollinari, mmollina@usp.br

See Also

find.bins

Examples

1
2
3
4
5
6
 ## Not run: 
  load(url("https://github.com/mmollina/data/raw/master/fake_big_data_f2.RData"))
  fake.big.data.f2
  (bins <- find.bins(fake.big.data.f2, exact=FALSE))
  (new.data <- create.data.bins(fake.big.data.f2, bins))
## End(Not run)

bschiffthaler/BatchMap documentation built on Dec. 16, 2019, 2:22 a.m.