ranshaq {kazaam} | R Documentation |
Generate a random shaq object.
ranshaq(generator, nrows, ncols, local = FALSE, ...)
generator |
A function, such as |
nrows, ncols |
The number of rows |
local |
Is the problem size |
... |
Additional arguments passed to the generator. |
A shaq.
The operation is entirely local.
## 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)