Skip to content

Support integer64 in cor(), lm()? #184

Description

@MichaelChirico
library(bit64)
x <- as.integer64(c(2, 3, 6, 6))
y <- as.integer64(c(3, 5, 5, 6))
cor(x, y)
# [1] NaN

lm(y ~ x)
# Call:
# lm(formula = y ~ x)

# Coefficients:
# (Intercept)            x  
#         NaN          NaN  

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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