seq_RT {IOHanalyzer}R Documentation

Function for generating sequences of runtime values

Description

Function for generating sequences of runtime values

Usage

seq_RT(
  RT,
  from = NULL,
  to = NULL,
  by = NULL,
  length.out = NULL,
  scale = "linear"
)

Arguments

RT

A list of runtime values

from

Starting runtime value. Will be replaced by min(RT) if it is NULL or too small

to

Stopping runtime value. Will be replaced by max(RT) if it is NULL or too large

by

Stepsize of the sequence. Will be replaced if it is too small

length.out

Number of values in the sequence. 'by' takes preference if both it and length.out are provided.

scale

Scaling of the sequence. Can be either 'linear' or 'log', indicating a linear or log-linear spacing respectively.

Value

A sequence of runtime values

Examples

RTall <- get_runtimes(dsl)
seq_RT(RTall, 0, 500, length.out=10, scale='log')

[Package IOHanalyzer version 0.1.8.10 Index]