Learn R Programming

turner (version 0.1.9)

Turn Vectors and Lists of Vectors into Indexed Structures

Description

Package designed for working with vectors and lists of vectors, mainly for turning them into other indexed data structures.

Copy Link

Version

Install

install.packages('turner')

Monthly Downloads

1,302

Version

0.1.9

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

April 4th, 2024

Functions in turner (0.1.9)

funlist

Apply a function to all elements in a list
minlist

Minimum of all elements in a list
meanlist

Mean of all elements in a list
df_to_blocks

Split a data frame into blocks
factor_to_dummy

Create a dummy matrix from the elements in a factor
from_to

Starting and ending positions
lengths

Length of each element within a list
list_ones

List with vectors of ones
matrix_to_blocks

Split a matrix into blocks
dummy_to_list

Create an indexed list from a dummy matrix
maxlist

Maximum of all elements in a list
turner

turner Turns vectors and lists of vectors into indexed structures
vector_to_dummy

Create a dummy matrix from the elements in a vector
listify

Create a list from a vector of integers
list_to_dummy

Create a dummy matrix from the elements in a list
sumlist

Sum of all elements in a list
list_to_matrix

Design-type matrix from the elements in a list
listsize

Size: total number of elements in a list
prodlist

Product of all elements in a list
indexify

Create indices for elements in a vector or list