R/test_weights.R

#' Sample sector weights for use by unit tests
#'
#' A dataset containing weights for 10 sectors over 5 month-end periods.
#'
#' @format A data frame with 5 rows and 10 variables:
#' \describe{
#'   \item{Sector1}{weight in Sector1, numeric}
#'   \item{Sector2}{weight in Sector2, numeric}
#'   \item{Sector3}{weight in Sector3, numeric}
#'   \item{Sector4}{weight in Sector4, numeric}
#'   \item{Sector5}{weight in Sector5, numeric}
#'   \item{Sector6}{weight in Sector6, numeric}
#'   \item{Sector7}{weight in Sector7, numeric}
#'   \item{Sector8}{weight in Sector8, numeric}
#'   \item{Sector9}{weight in Sector9, numeric}
#'   \item{Sector10}{weight in Sector10, numeric}
#' }
"test_weights"

Try the PerformanceAnalytics package in your browser

Any scripts or data that you put into this service are public.

PerformanceAnalytics documentation built on Feb. 6, 2020, 5:11 p.m.