rollApply
(Package: rowr) :
Applies a function over a rolling window on any data object.
Simple generalized alternative to rollapply in package zoo with the advantage that it works on any type of data structure (vector, list, matrix, etc) instead of requiring a zoo object.
● Data Source:
CranContrib
● Keywords:
● Alias: rollApply
●
0 images
|
len
(Package: rowr) :
Allows finding the 'length' without knowledge of dimensionality.
Allows finding the 'length' without knowledge of dimensionality.
● Data Source:
CranContrib
● Keywords:
● Alias: len
●
0 images
|
rows
(Package: rowr) :
Allows row indexing without knowledge of dimensionality or class.
Allows row indexing without knowledge of dimensionality or class.
● Data Source:
CranContrib
● Keywords:
● Alias: rows
●
0 images
|
vectorize
(Package: rowr) :
Vectorize a scalar function to work on any R object.
Robust alternative to Vectorize function that accepts any function with two or more arguments. Returns a function that will work an arbitrary number of vectors, lists or data frames, though output may be unpredicatable in unusual applications. The results are also intended to be more intuitive than Vectorize.
● Data Source:
CranContrib
● Keywords:
● Alias: vectorize
●
0 images
|
buffer
(Package: rowr) :
Pads an object to a desired length, either with replicates of itself or another repeated object.
Pads an object to a desired length, either with replicates of itself or another repeated object.
● Data Source:
CranContrib
● Keywords:
● Alias: buffer
●
0 images
|
insertRows
(Package: rowr) :
Inserts a matrix into another matrix.
Inserts a matrix or data frame into another matrix or data frame. The new rows are placed together at the row index specified.
● Data Source:
CranContrib
● Keywords:
● Alias: insertRows
●
0 images
|
rowApply
(Package: rowr) :
Applies a function row-wise on any data object.
Essentially functions as a MARGIN=1 apply apply but also works on data objects without 2 dimensions such as lists and vectors.
● Data Source:
CranContrib
● Keywords:
● Alias: rowApply
●
0 images
|
as2
(Package: rowr) :
A more robust form of the R code{link{as
Alternative to as that allows any data object to be converted to any other.
● Data Source:
CranContrib
● Keywords:
● Alias: as2
●
0 images
|
coalesce
(Package: rowr) :
A more versatile form of the T-SQL code{coalesce()
Little more than a wrapper for vectorize , allows for duplication of SQL coalesce functionality, certain types of if-else statements, and apply /Reduce combinations.
● Data Source:
CranContrib
● Keywords:
● Alias: coalesce
●
0 images
|
cbind.fill
(Package: rowr) :
Combine arbitrary data types, filling in missing rows.
Robust alternative to cbind that fills missing values and works on arbitrary data types. Combines any number of R objects into a single matrix, with each input corresponding to the greater of 1 or ncol. cbind has counterintuitive results when working with lists, cannot handle certain inputs of differing length, and does not allow the fill to be specified.
● Data Source:
CranContrib
● Keywords:
● Alias: cbind.fill
●
0 images
|