Articles by klr

Production Quality Report with R and knitr on Yen

March 22, 2013 | klr

Sometimes I actually use my experiments for real work.  For example, I wanted to send an update  on the Japanese Yen.  This was a great opportunity to use the chart created in Shading and Points with xtsExtra plot.xts.I was fairly please... [Read more...]

How Did I Miss “The Golden Dilemma”?

March 15, 2013 | klr

I am ashamed to admit that I am way behind (about 10,127 downloads) in discovering this wonderful paper: The Golden Dilemma (January 8, 2013)Erb, Claude B. and Harvey, Campbell R.Available at SSRN: http://ssrn.com/abstract=2078535 Here are the authors presenting the concept in July 2012 if you prefer slideshow format (thanks ...
[Read more...]

Shading and Points with xtsExtra plot.xts

February 28, 2013 | klr

For some reason, I feel like have much better control with plot.xts function from the xtsExtra package described here over some of the other more refined R graphical packages. Maybe, it is just my simple mind, but recently I wanted to shade holding per...
[Read more...]

Additional Plots on French Breakpoints as Valuation

February 21, 2013 | klr

I feel like there might be some merit in Slightly Different Measure of Valuation using Ken French’s Market(ME) to Book(BE) Breakpoints by percentile to offer an additional valuation metric for US stocks.  I thought some additional plots might he...
[Read more...]

Another Way to Look at Vanguard and Pimco

February 20, 2013 | klr

I like the results of the analysis shown in my post Applying Tradeblotter’s Nice Work Across Manager Rather than Time, but I was not satisfied that the plot allowed a quick summary comparison of the two massive fund complexes.  I am much more pl...
[Read more...]

Onepager Now with knitR

February 19, 2013 | klr

Since at some point I had trouble with a conflict between knitr and the latex package textpos, I used the lesser Sweave in Another Experiment with R and Sweave.  I ran the Sweave2knitr command and discovered that textpos and knitr play well togeth... [Read more...]

Another Experiment with R and Sweave

February 12, 2013 | klr

The R package PApages is a great start towards addressing the very common problem of internal and external reporting in the money management industry.  Advent's APX, Axys, and Black Diamond and the up and coming extremely well-connected and well-f... [Read more...]

Japanese Government Bonds (JGB) Total Return Series

February 3, 2013 | klr

In a follow up to Yen and JGBs Short-Term vs Long Term and a series of posts on Japan, I thought the Bloomberg article "Japan Pension Fund’s Bonds Too Many If Abe Succeeds, Mitani Says" was particularly interesting.  It is difficult to find a to...
[Read more...]

Yen and JGBs Short-Term vs Long Term

February 1, 2013 | klr

I have read some articles arguing that the recent move in the Japanese Yen is overdone.  However, considering the short-term without regard to the long-term context is naïve and potentially dangerous.  Although I do not have significant proo...
[Read more...]

Approaching the Zero Bound – Bonds

January 30, 2013 | klr

As bonds approach the artificial zero bound, where do we go next especially after the record setting +30% in 2011?  The rolling 250-day total return has rarely gone negative since the inception of the Vanguard Funds VBMFX and VUSTX.  I am int...
[Read more...]

Slightly Different Measure of Valuation

January 16, 2013 | klr

I grow tired of the tried and true standard measures of valuation, and from time to time I try to think of alternate methods.  One thought was to analyze Ken French’s Market(ME) to Book(BE) Breakpoints by percentile.  We can see by year at ...
[Read more...]

Shiny SVG no d3–New and Improved

December 20, 2012 | klr

The fine author Joe Cheng of RStudio Shiny suggested in this Google Groups message to use htmlOutput rather than the ugly hack in my last post R Shiny svg with no d3.  As I should have known, it works great and eliminates all the useless javascrip... [Read more...]

R Shiny svg with no d3

December 18, 2012 | klr

Paul Murrell’s Technical Report reminded me that svg in the browser does not require d3.  With his package gridSVG, we can do all sorts of wonderful things without leaving R.  I think I prefer the power of d3.js, but here is an example (doe... [Read more...]

From d3 to pdf (hopefully knitr) with R Shiny

December 17, 2012 | klr

Although I think I like the d3, R, and Shiny team the best, I could definitely envision a big need for multi-page pdf reports created with R, knitr, and latex delivered to the browser with Shiny.  Shiny helpfully provides pre-built functionality t... [Read more...]

d3, Shiny, and R Reporting Performance

December 14, 2012 | klr

I thought it would be interesting to offer a little different example of how we can use d3, R, and Rstudio Shiny.  This time we will offer a simple example to report portfolio or index performance.  Just as a test of my progress, I also threw...
[Read more...]

more d3 with shiny and R (CPI from bls.gov)

December 12, 2012 | klr

Extending the marginal success achieved in d3 Showreel Combined with R and Shiny  d3 and r interacting through shiny I have converted http://bl.ocks.org/3891711 to use data supplied by an R load of http://bls.gov CPI data through Rstudio's Shin...
[Read more...]
1 4 5 6 7 8 15

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)