Man pages for YRmisc
Y&R Miscellaneous R Functions

cor.lagLag/Lead Correlation
cor.spearmanSpearman rank correlation
cv.annu.fvCalculate future value of annuity
cv.annu.pvCalculate present value of annuity
cv.axpCreate logarithm with a random base
cv.bondpriceCalculate the plain vanilla bond price
cv.diffCalculating the difference of a time series
cv.drawdownLargest draw down of returns
cv.lagCreate a lag variable
cv.leadCreate a lead variable
cv.logsCreate logarithm with a random base
cv.pctcngCalculating rate of return of a vector
cv.powersCreate nth power variable
df.sortcolSort a data frame by a column
df.stackStack data frame by one classifier
ds.cormCorrelation matrix
ds.kurtCalculating kurtosis for numeric data.
ds.modeCalculating mode for numeric data
ds.skewCalculating skewness for numeric data
ds.summDescriptive statistics of a data frame
pl.2tsTime series plot for two variables
pl.2tsggTime series plot for two variables with ggplot2
pl.3smoothtxtScatter smooth plot with text overlay
pl.3smoothtxtggScatter smooth plot with text overlay using ggplot2
pl.3txtScatter plot with text overlay
pl.3txtggScatter plot with text overlay with ggplot2
pl.coplotScatter plot of x and y divided by z
pl.histPlot histograms for a data frame
pl.histggPlot histograms for a data frame with ggplot2
pl.hsPlot histograms and scatter plots for a data frame
pl.hsdPlot histogram with density line for a data frame
pl.hsdggPlot histograms for a data frame with ggplot2
pl.mvPlot mean-variance simulation result
pl.sPlot scatter plots for a data frame
pl.sggPlot scatter plots for a data frame using ggplot2
pl.smPlot scatter smooth plots for a data frame
pl.smggPlot scatter plots with smooth line for a data frame using...
pl.tsPlot time series plots for a data frame
pl.tsggPlot times series plot for a data frame with ggplot2
pl.tssTime series plot with multiple variables
pt.alphaStock return alpha
pt.annexrtnAnnualized excess return
pt.annrtnAnnualized return
pt.annsdAnnualized standard deviation
pt.betaStock return beta
pt.biasBias ratio
pt.btavgBatting average
pt.cmexrtnCumulative excess return
pt.cmrtnCumulative return
pt.dalphaDual-alpha
pt.dbetaDual-beta
pt.explossExpected loss
pt.hismvMean-variance model with historical average returns and...
pt.infoInformation ratio
pt.jalphaJensen's alpha
pt.m2Modigliani risk-adjusted performance
pt.problossProbability of loss
pt.royRoy's safety-first criterion
pt.sdexrtnStandard deviation of excess return
pt.semivarSemivariance of loss
pt.sharpSharp ratio
pt.sortinoSortino ratio
pt.teTracking error
pt.treynorTreynor ratio
pt.udrtnAverage up and down returns
pt.updwcapUp and down capture
reg.adj.r.squaredAdjusted R-squared for lm.fit
reg.aicAIC for lm.fit
reg.bicBIC for lm.fit
reg.dofDegree of freedom for lim.fit
reg.dwDurbin-Watson Test
reg.linregLinear regression processor
reg.modelLinear model generator
reg.r.squaredR-squared for lm.fit
reg.std.errStandard error for lim.fit
tr.logSigmoid function
tr.logtbLogistic function
tr.ndNormal density function
tr.unliUnit normal loss integral
xd.fredDownload data from Federal Reserve Bank of St. Louis
xd.fred.tickersFederal Reserve Bank of St. Louis Economic Data Tickers
YRmisc documentation built on March 25, 2020, 5:13 p.m.