Learn R Programming

⚠️There's a newer version (0.1.9) of this package.Take me there.

turner (version 0.1.7)

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,507

Version

0.1.7

License

GPL-3

Maintainer

Gaston Sanchez

Last Published

February 17th, 2014

Functions in turner (0.1.7)

list_ones

List with vectors of ones
turner-package

turner
df_to_blocks

Split a data frame into blocks
from_to

Starting and ending positions
minlist

Minimum of all elements in a list
maxlist

Maximum of all elements in a list
funlist

Apply a function to all elements in a list
list_to_matrix

Design-type matrix from the elements in a list
listify

Create a list from a vector of integers
factor_to_dummy

Create a dummy matrix from the elements in a factor
dummy_to_list

Create an indexed list from a dummy matrix
lengths

Length of each element within a list
vector_to_dummy

Create a dummy matrix from the elements in a vector
list_to_dummy

Create a dummy matrix from the elements in a list
prodlist

Product of all elements in a list
meanlist

Mean of all elements in a list
indexify

Create indices for elements in a vector or list
sumlist

Sum of all elements in a list
listsize

Size: total number of elements in a list
matrix_to_blocks

Split a matrix into blocks