Learn R Programming

SharpeR (version 1.3.0)

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

Description

Checks if an object is in the class 'sropt'

Usage

is.sropt(x)

Arguments

x

an object of some kind.

Value

a boolean.

Details

To satisfy the minimum requirements of an S3 class.

See Also

sropt

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab