Skip to content

type conversion from LogicalVector to NumericVector #473

@liyi-1989

Description

@liyi-1989

Can we do type conversion from True to 1, and False to 0? Met this problem when doing multiplication of a indicator function of a vector. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions