dir.apply: Wrapper for applying a write function to each element of list...

Description Usage Arguments Value See Also Examples

View source: R/dirfns.R

Description

Wrapper for applying a write function to each element of list x and using names(x) as the filenames.

Usage

1
dir.apply(x, path, fn = dir.tab, ...)

Arguments

x

A list.

fn

The function to be applied to each element of x.

...

Additional arguments to fn.

Value

A list.

See Also

dir.tab, base::lapply

Examples

1
2
x <- split(iris,iris$Species)
dir.apply(x, dir.csv, path="path/to")

kewiechecki/atacSeqFns documentation built on Sept. 27, 2020, 8:25 a.m.