index_line: Create a line of indices

View source: R/util-prettify_chains.R

index_lineR Documentation

Create a line of indices

Description

Creates a vector of left-padded strings with indices in the indicated range.

Usage

index_line(from, to, by)

Arguments

from

[integer(1)]
First element of a sequence.

to

[integer(1)]
Last element of a sequence.

by

[integer(1)]
Size of a group and padding length.

Value

A vector of strings, each element being a number left-padded with spaces.


KotulskaLab/AmyloGraph documentation built on June 30, 2023, 8:48 p.m.