subsample_nonzeros: subsample non-zeros

Description Usage Arguments Value

View source: R/parp1.R

Description

Takes a DataFrame instance and for the two columns indicated, returns a subset of points that are non-zero in one or both of the variables.

Usage

1
2
subsample_nonzeros(data, data_columns, log_transform = TRUE,
  non_zero = "either", n_points = 1000)

Arguments

data

a DataFrame

data_columns

which columns to use

log_transform

whether or not to log-transform the data

non_zero

"either" one of the columns, or "both"

n_points

how many points to sample

Value

data.frame


rmflight/fmcorrelationbreastcaparp1 documentation built on May 27, 2019, 9:31 a.m.