diff --git a/404.html b/404.html new file mode 100644 index 0000000..fd8f466 --- /dev/null +++ b/404.html @@ -0,0 +1,93 @@ + + +
+ + + + +YEAR: 2023 +COPYRIGHT HOLDER: murlib.core authors ++ +
Copyright (c) 2023 murlib.core authors
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+add_class.Rd
Add (S3) class(es) to an object.
+The object with new class structure.
+The new class vector will be uniquified (while retaining order, so the first – left-to-right – of any duplicates is taken preferentially).
+chunk.Rd
Chunk a vector into a list of vectors of roughly equal length.
+The vector or list to be chunked.
The algorithm to use for chunking.
+"seq"
_seq_uentially chunks x
.
+"mod"
creates chunks where original indices are alike after modulo arithmetic.
+"rand"
specifies that x
should be uniformly and randomly distributed across chunks.
The number of integers to chunk (i.e. chunk the sequence 1:n
).
The number of chunks desired.
The maximum desired length of any chunk.
For chunk
, a list with x
chunked across the list entries.
+For chunk_int
, a list with the values 1:n
chunked across the list entries.
Exactly one of n_chunks
and max_chunk_size
should be NULL
(to specify both as non-NULL
is an error).
dict.Rd
Create a uniquely-named list, i.e. a dict(ionary).
+dict(...)
+
+is_dict(x)
A new dictionary.
+A dictionary :
+* all elements must be named
+* all element names must be unique/distinct
+* is always a list
(even if length-0 ... this is distinct from NULL
)
identical()
grapes-equals-equals-grapes.Rd
Infix identical()
l %===% r
+ All functions+ + |
+ |
---|---|
+ + | +Add (S3) class(es) to an object. |
+
+ + | +Chunk a vector into a list of vectors of roughly equal length. |
+
+ + | +Create a uniquely-named list, i.e. a dict(ionary). |
+
+ + | +Infix |
+
+ + | +Returns the (first) argument unmodified. |
+
+ + | +Logit function. |
+
+ + | +Match values to a reference. |
+
+ + | +NOP |
+
+ + | +Not-in |
+
+ + | +Replace |
+
+ + | +Coalesce special values in a vector. |
+
+ + | +Sample (without the n=1 gotcha) |
+
+ + | +The trailing CLI args |
+
+ + | +Typed NA values |
+
itself.Rd
Returns the (first) argument unmodified.
+itself(x, ...)
x
. If x
is missing, then NULL
(invisibly).
logit.Rd
Logit function.
+logit(p, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)
matchval.Rd
Wraps base::match
to be a bit more useful.
matchval(query, from, to = seq_along(from), nomatch = NA, ...)
A vector of values from to
.
murlib.core-package.Rd
A collection of core utilities that I use frequently that are missing from 'core' R.
+notin.Rd
Not-in
+l %!in% r
+
+l %notin% r
The logical inverse of %in%
.
replace_specials.Rd
Coalesce special values in a vector.
+na2(x, replacement)
+
+nan2(x, replacement)
+
+inf2(x, replacement)
+
+na_to(x, replacement)
+
+nan_to(x, replacement)
+
+inf_to(x, replacement)
A new vector with the special values replaced.
+replacement
should typically be a scalar, but this isn't enforced.
+If it's not a scalar, it'll be used in recycled fashion, but the recycling will
+** only be applied at the replacement locations **, which is probably not
+the desired effect.
safe_sample.Rd
Sample (without the n=1 gotcha)
+trailing_args.Rd
The trailing CLI args
+trailing_args()
typed_na.Rd
Typed NA values
+na_lgl
+
+na_int
+
+na_dbl
+
+na_chr
+
+na_date
+
+na_posixct
An object of class logical
of length 1.
An object of class integer
of length 1.
An object of class numeric
of length 1.
An object of class character
of length 1.
An object of class Date
of length 1.
An object of class POSIXct
(inherits from POSIXt
) of length 1.