Learn R Programming

PCRA (version 1.3.1)

plotLSandHuberRobustSFM: Plot LS and Huber SFM Fits

Description

Computes LS and Huber robust single factor model fits with standard errors and plots the results

Usage

plotLSandHuberRobustSFM(
  x,
  mainText = NULL,
  ylimits = NULL,
  legendPos = "topleft",
  goodOutlier = FALSE,
  makePct = FALSE
)

Value

A plot of the LS and robust Huber SFM fits

Arguments

x

xts time series vector

mainText

Character variable with NULL default

ylimits

Numeric vector of vertical axis limits with NULL default

legendPos

Character variable with default "topleft"

goodOutlier

Logical variable with default FALSE

makePct

Logical variable with default FALSE

Examples

Run this code
args(plotLSandHuberRobustSFM)

Run the code above in your browser using DataLab