Learn R Programming

ramify (version 0.3.3)

Additional Matrix Functionality

Description

Additional matrix functionality for R including: (1) wrappers for the base matrix function that allow matrices to be created from character strings and lists (the former is especially useful for creating block matrices), (2) better printing of large matrices via the generic "pretty" print function, and (3) a number of convenience functions for users more familiar with other scientific languages like 'Julia', 'Matlab'/'Octave', or 'Python'+'NumPy'.

Copy Link

Version

Install

install.packages('ramify')

Monthly Downloads

385

Version

0.3.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

December 17th, 2016

Functions in ramify (0.3.3)

eye

Identity Matrix
bmat

Block Matrices
flatten

Flatten Matrices/Arrays
fill

Fill a Matrix
inv

Matrix Inverse
is.triu

Upper Triangular Matrix Test
meshgrid

Rectangular 2-D Grid
is.tril

Lower Triangular Matrix Test
ramify

ramify: additional matrix functionality
pprint

Pretty Printing
rand

Matrix/Array of Uniform Random Numbers
tri

Lower/Upper Triangular Matrix
tril

Extract Lower Triangular Matrix
randi

Matrix/Array of Uniform Random Integers
triu

Extract Upper Triangular Matrix
randn

Matrix/Array of Normal Random Numbers
matrix_rank

Matrix Rank
mat

Matrices
repmat

Repeat Vectors and Matrices
resize

Resize Matrices and Arrays
linspace

Linearly-spaced Elements
logspace

Logarithmically-spaced Elements
tr

Trace of a Matrix
size

Dimensions of a Matrix/Array
argmax

Row/Column Max/Min Indices
atleast_2d

View Input as an Array with at Least Two Dimensions.
hcat

Concatenate Matrices
clip

Clip Values
dmat

Data Frames