Introduction to numspellR

Overview

numspellR is a tool to detect numeric persistence ("spells") and rigidity patterns in numeric data. It works with numeric vectors and data frames.

Installation

# Install from your local package
# install.packages("numspellR")
library(numspellR)
# example
df <- data.frame(
  time = 1:8,
  value = c(5, 5, 5, 5, 6, 6, 6, 7)
)

numspellr(df, lang = "indonesia")
# example
df <- data.frame(
  time = 1:8,
  value = c(5, 5, 5, 5, 6, 6, 6, 7)
)

numspellr(df, lang = "english")


Try the numspellR package in your browser

Any scripts or data that you put into this service are public.

numspellR documentation built on Feb. 6, 2026, 5:08 p.m.