integer_subset_df: Subset integers from data frame

Description Usage Arguments Value See Also Examples

Description

For computing the consensus, only integers should be included in the data frame.

Usage

1

Arguments

data

a data frame or matrix.

Value

The same data frame as data, but the non-integers are dropped.

See Also

If you need to recode data into integers, see for example recode.

Examples

1
2
3
4
a <- sample(1:20, 10)
b <- rnorm(10)
c <- sample(-2:2, 10, replace = TRUE)
integer_subset_df(data.frame(a, b, c))

kthorstmann/consr documentation built on May 20, 2019, 7:04 p.m.