Skip to content

CAPM.beta #166

@ggrothendieck

Description

@ggrothendieck

CAPM.beta help file claims it works with vectors and zoo objects but these fail. Also the error message runs off the edge of the screen and is unreadable.

CAPM.beta(1:10, 1:10)
## Error in checkData(Ra) : 
##    The data cannot be converted into a time series.  If you are trying to pass in names from a data object with one column, you should use the form 'data[rows, columns, drop = FALSE]'.  Rownames should have standard date formats, such as '1985-03-

CAPM.beta(zoo(1:10), zoo(1:10))
## Error in checkData(Ra) : 
##   The data cannot be converted into a time series.  If you are trying to pass in names from a data object with one column, you should use the form 'data[rows, columns, drop = FALSE]'.  Rownames should have standard date formats, such as '1985-03-15'. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions