har_memory_last_observations: Last-observation memory policy

View source: R/har_online_memory.R

har_memory_last_observationsR Documentation

Last-observation memory policy

Description

Keeps only the most recent n observations in memory.

Usage

har_memory_last_observations(n)

Arguments

n

Number of observations to retain.

Value

A har_memory_last_observations object.

Examples

memory <- har_memory_last_observations(100)
memory$n

harbinger documentation built on July 10, 2026, 5:07 p.m.