initXts: garantee a passed xts object or a zero length xts object

Description Usage Arguments Value Examples

View source: R/auxilary.R

Description

garantee a passed xts object or a zero length xts object

Usage

1
initXts(xTs = NULL)

Arguments

xTs

xts object

Value

xts object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# > initXts(xTs = NULL)
# Data:
# numeric(0)
#
# Index:
# Date of length 0
#
# > initXts(zoo::as.Date(0)[0])
# Data:
# numeric(0)
#
# Index:
# Date of length 0

## End(Not run)

AndreMikulec/UScourtsBankrutcyFilings documentation built on Oct. 8, 2018, 12:14 a.m.