SliceComp: Slice compare object

Description Usage Arguments Value

View source: R/SliceComp.R

Description

Slice compare object

Usage

1
2
SliceComp(compare, clusters = NULL, data = "event_data",
  new_name_suf = "SLICED", overwrite = TRUE)

Arguments

compare

a compare object

clusters

a character vetor. With this vector you input cluster names you want to keep in the data.

data

a character or a numeric value or a vector. With this parameter the required data can be sliced. Default is the event_data, which is the original dataset imported in R.

new_name_suf

suffix to add to the original data name(s)

overwrite

should the original data be replaced with the sliced version?

Value

this function returns a compare object retain only just part of the original clusters


vtorda/CompareTools documentation built on Nov. 6, 2019, 9:07 p.m.