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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sr.r

Description

Checks if an object is in the class 'sropt'

Usage

1

Arguments

x

an object of some kind.

Details

To satisfy the minimum requirements of an S3 class.

Value

a boolean.

Author(s)

Steven E. Pav shabbychef@gmail.com

See Also

sropt

Other sropt: as.sropt(), confint.sr(), dsropt(), pco_sropt(), power.sropt_test(), reannualize(), sropt_test(), sropt

Examples

1
2
3
4
5
6
7
8
9
nfac <- 5
nyr <- 10
ope <- 253
# simulations with no covariance structure.
# under the null:
set.seed(as.integer(charToRaw("be determinstic")))
Returns <- matrix(rnorm(ope*nyr*nfac,mean=0,sd=0.0125),ncol=nfac)
asro <- as.sropt(Returns,drag=0,ope=ope)
is.sropt(asro)

shabbychef/SharpeR documentation built on Aug. 21, 2021, 8:50 a.m.