plow: Apply over rows of a data frame

Description Usage Arguments Value

View source: R/gather.R

Description

Apply over rows of a data frame

Usage

1
2
3
4
plow(df, f, ..., seed = get.seed(), seeds = gather(nrow(df), seed = seed),
  time = getOption("harvestr.time", defaults$time()),
  .parallel = getOption("harvestr.parallel", defaults$parallel()),
  .progress = getOption("harvestr.progress", defaults$progress()))

Arguments

df

a data frame of parameters

f

a function

...

additional parameters

seed

passed to gather to generate seeds.

seeds

seeds to use.

time

should results be timed?

.parallel

should the computations be run in parallel?

.progress

Show a progress bar?

Value

a list with f applied to each row of df.


harvestr documentation built on May 30, 2017, 2:39 a.m.