Description Usage Arguments Value Examples
Test and explore the functionality of coalesce
with a
random field of weighted points generated by this function.
1 | test.points(n = 100L, TwoD = FALSE)
|
n |
integer [1]; number of points |
TwoD |
logical [1]; should the points be distributed in only two dimensions? |
data.table with columns:
..$x,y,z
(num): position (z
only if ThreeD
)
..$m
(num): mass (or weight) of points
1 2 3 4 | test.points(5L)
test.points(150L, FALSE)
test.points(150L)
## Not run: test.points(1e5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.