Skip to contents

Function calculates different magnitude for a numeric argument.

Usage

get_magnitude_values(magnitude, n_elements = 9, max, min)

Arguments

magnitude

double Factor using for creating the magnitude.

n_elements

int Number of values to return.

max

double The maximal value.

min

double The minimal value.

Value

Returns a numeric vector with the generated values. The values are calculated with the following formula: max * magnitude^i for i=1,...,n_elements. Only values equal or greater min are returned.