split_vector {diagonals}R Documentation

Split Vector

Description

Split Vector

Usage

split_vector(x, steps = NULL, size = NULL, replacement = 0)

Arguments

x

a numeric or character vector

steps

the number of steps

size

the size of the step

replacement

value to be inserted on the diagonal, by default this is zero (0).

Details

Either steps or size is expected to be provided.


[Package diagonals version 6.0.0 Index]