Skip to contents

Extrapolate values from sequence, see day 9 - 2023

Usage

extrapolate_values(x, reverse = FALSE)

Arguments

x

List with parsed histories (rows of numbers).

reverse

Boolean flag to indicate if the history should be flipped.

Value

Numeric value with the predicted value.