Skip to content

Error in .rowNamesDF<-(x, value = value) : duplicate 'row.names' are not allowed #10

@JordiPosthumus

Description

@JordiPosthumus

Hey Mr Berge !

Found another little bug. Below is a minimal reproduceable example.

Peace
Jordi

+++++++

library(data.table)
library(fixest)

tmp <- data.table(x1 = 1:100,x2 = runif(100)*100)
tmp[, y := x1 + x2]

model <- feglm(y ~ x1 + x2, data = tmp) # works fine
model <- feglm(y ~ bs(x1) + bs(x2), data = tmp) # does not work

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