Just learning quantmod and I seem to be getting some strange results.
Getting a Inf and -45% for monthly returns for Jan and Fed 2000.  Any
thoughts on what I'm doing wrong ? My daily data is shown below. The
monthlyReturn(f1$bhRtrn) is at the bottom below the data.

head(f1, 251)
             bhRtrn sysRtrn   xsRtrn
2000-01-03  0.00000       0  0.00000
2000-01-04 -0.03834       0  0.03834
2000-01-05  0.00192       0 -0.00192
2000-01-06  0.00096       0 -0.00096
2000-01-07  0.02709       0 -0.02709
2000-01-10  0.01119       0 -0.01119
2000-01-11 -0.01306       0  0.01306
2000-01-12 -0.00439       0  0.00439
2000-01-13  0.01217       0 -0.01217
2000-01-14  0.01067       0 -0.01067
2000-01-18 -0.00683       0  0.00683
2000-01-19  0.00052       0 -0.00052
2000-01-20 -0.00710       0  0.00710
2000-01-21 -0.00291       0  0.00291
2000-01-24 -0.02763       0  0.02763
2000-01-25  0.00606       0 -0.00606
2000-01-26 -0.00421       0  0.00421
2000-01-27 -0.00394       0  0.00394
2000-01-28 -0.02746       0  0.02746
2000-01-31  0.02522       0 -0.02522
2000-02-01  0.01063       0 -0.01063
2000-02-02 -0.00011       0  0.00011
2000-02-03  0.01125       0 -0.01125
2000-02-04 -0.00042       0  0.00042
2000-02-07 -0.00009       0  0.00009
2000-02-08  0.01227       0 -0.01227
2000-02-09 -0.02082       0  0.02082
2000-02-10  0.00363       0 -0.00363
2000-02-11 -0.02097       0  0.02097
2000-02-14  0.00203       0 -0.00203
2000-02-15  0.00871       0 -0.00871
2000-02-16 -0.01026       0  0.01026
2000-02-17  0.00043       0 -0.00043
2000-02-18 -0.03038       0  0.03038
2000-02-22  0.00452       0 -0.00452
2000-02-23  0.00630       0 -0.00630
2000-02-24 -0.00534       0  0.00534
2000-02-25 -0.01483       0  0.01483
2000-02-28  0.01102       0 -0.01102
2000-02-29  0.01363       0 -0.01363
2000-03-01  0.00935       0 -0.00935

head(monthlyReturn(f1$bhRtrn), 15)
           monthly.returns
2000-01-31             Inf
2000-02-29      -0.4595559

	[[alternative HTML version deleted]]

