foo: Test namespace

Description Usage Arguments Value Examples

View source: R/foo.R

Description

Test namespace correctness

Usage

1
foo(DF, index = list(1:5, 6:10))

Arguments

DF

A DataFrame

index

A list of length equal to the number of columns in the DataFrame where each element is an index for that column.

Value

A subset of the data

Examples

1
2
3
4
5
6
7
8
## Initial info
sessionInfo()

## Load data
load("~/Desktop/DF.Rdata")

## Run function
result <- foo(DF)

lcolladotor/fooPkg documentation built on May 20, 2019, 11:28 p.m.