Skip to content

roundfixS #8

Description

@ggrothendieck

Sometimes one needs to ensure all rows or all columns sum to integers. Of course one could use t(apply(X, 1, roundfixS)) but it would be nice if roundfixS handled matrices.

Possibly add an axis= or margin= argument or another possibility is to have rowRoundfixS and colRoundfixS functions analogous to rowSums and colSums or maybe other possibilities?

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