testAssembly: testAssembly

Usage Arguments Examples

Usage

1

Arguments

x

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
    if (!require(tidyverse)) {
        install.packages("tidyverse")
        require(tidyverse)
    }
    x %>% mutate(bin = ntile(b, 30)) %>% group_by(bin) %>% sample_n(1) %>%
        dplyr::select(item_id, system_id, item, b, a1, d1, d2,
            d3, bin)
  }

zmayne1/emmersionLearning documentation built on May 21, 2019, 12:35 a.m.