ts_head: ts_head

View source: R/ts_data.R

ts_headR Documentation

ts_head

Description

Returns the first n observations from a ts_data

Usage

ts_head(x, n = 6L, ...)

Arguments

x

ts_data

n

number of rows to return

...

optional arguments

Value

The first n observations of a ts_data

Examples

data(sin_data)
data10 <- ts_data(sin_data$y, 10)
ts_head(data10)

daltoolbox documentation built on May 29, 2024, 1:57 a.m.