ranshaq {kazaam} | R Documentation |
ranshaq
Description
Generate a random shaq object.
Usage
ranshaq(generator, nrows, ncols, local = FALSE, ...)
Arguments
generator |
A function, such as |
nrows , ncols |
The number of rows |
local |
Is the problem size |
... |
Additional arguments passed to the generator. |
Value
A shaq.
Communication
The operation is entirely local.
Examples
## Not run:
library(kazaam)
# a 10x3 shaq with random uniform data
x = ranshaq(runif, 10, 3)
x
# a (comm.size() * 10)x3 shaq with random normal data
y = ranshaq(rnorm, 10, 3, local=TRUE)
y
finalize()
## End(Not run)
[Package kazaam version 0.1-0 Index]