Skip to content

Return.annualized should have na.omit argument, rather than disregarding NAs #172

@Ljupch0

Description

@Ljupch0

It would be great if there is an option to control the treatment of NA, like in base functions mean and sum.

I would prefer if the following returned NA, rather than 0.1489125

Return.annualized(c(0.1, 0.2, NA), scale = 1)

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