Description Usage Arguments Value Author(s) References See Also
permutations enumerates the possible permutations. The function is forked and minified from gtools::permutations
1 | permutations(n, r, v = 1:n)
|
n |
Size of the source vector |
r |
Size of the target vectors |
v |
Source vector. Defaults to 1:n |
Returns a matrix where each row contains a vector of length r.
Original versions by Bill Venables Bill.Venables@cmis.csiro.au. Extended to handle repeats.allowed by Gregory R. Warnes greg@warnes.net.
Venables, Bill. "Programmers Note", R-News, Vol 1/1, Jan. 2001. https://cran.r-project.org/doc/Rnews/
Other Helper Functions:
dup_coords()
,
getDEM()
,
getISO3()
,
get_grids()
,
grid_area()
,
hexa_area()
,
isSpatial()
,
readintegerSel()
,
readinteger()
,
splitAt()
,
windata_format()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.