xtdata: Panel data properties

Description Usage Arguments Value See Also Examples

Description

Function to check for panel data properties in a data frame. The syntax is provided in the 'Details' of xtset. Intended for programming purposes.

Usage

1
  xtdata(dataset)

Arguments

dataset

the dataset in which to check for xtdata attributes.

Value

an error if the data frame has no xtdata attributes, or TRUE if the data frame has an xtdata attribute that conforms to the syntax of xtset.

See Also

xtset

Examples

1
2
3
4
5
6
# Load QOG demo datasets.
data(qog.demo)
# Check xtdata attribute of QOG time series demo dataset.
xtdata(qog.ts.demo)
## Unsuccessful checks send back an error (not run).
# xtdata(qog.cs.demo)

briatte/qogdata documentation built on May 13, 2019, 7:43 a.m.