Learn R Programming

SharpeR (version 0.1306)

is.sr: Is this in the "sr" class?

Description

Checks if an object is in the class 'sr'

Usage

is.sr(x)

Arguments

x
an object of some kind.

Value

  • a boolean.

Details

To satisfy the minimum requirements of an S3 class.

See Also

sr

Other sr: as.sr, as.sr.data.frame, as.sr.default, as.sr.lm, as.sr.xts, confint.sr, confint.sropt, dsr, power.sr_test, print.sr, print.sropt, reannualize, reannualize.sr, reannualize.sropt, se, se.sr, sr, sr_equality_test, sr_test

Examples

Run this code
rvs <- as.sr(rnorm(253*8),ope=253)
is.sr(rvs)

Run the code above in your browser using DataLab