RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.1.9) of this package.
Take me there.
turner (version 0.1.5)
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
Copy
Link to current version
Version
Version
0.1.9
0.1.7
0.1.5
Down Chevron
Install
install.packages('turner')
Monthly Downloads
1,777
Version
0.1.5
License
GPL-3
Maintainer
Gaston Sanchez
Last Published
July 15th, 2013
Functions in turner (0.1.5)
Search functions
list_to_dummy
Create a dummy matrix from the elements in a list
maxlist
Maximum of all elements in a list
dummy_to_list
Create an indexed list from a dummy matrix
vector_to_dummy
Create a dummy matrix from the elements in a vector
list_to_matrix
Design-type matrix from the elements in a list
df_to_blocks
Split a data frame into blocks
lengths
Length of each element within a list
prodlist
Product of all 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
list_ones
List with vectors of ones
sumlist
Sum of all elements in a list
indexify
Create indices for elements in a vector or list
matrix_to_blocks
Split a matrix into blocks
from_to
Starting and ending positions
funlist
Apply a function to all elements in a list
minlist
Minimum of all elements in a list
listsize
Size: total number of elements in a list
meanlist
Mean of all elements in a list