Skip to content

Error in code? #33

Description

@mdeserisy

Hello!

I am new to using NBS in R but have used it before with success in MatLab. I am transitioning to R for cost reasons and would like to try to stay on that platform. When I am run NBS using this code:

NBS(control_reward_filtered, irr.parent_NBS_filtered, second.col)

I receive the following error:
Error in :=(eval(sID), seq_len(dim(covars)[1L])) :
Check that is.data.table(DT) == TRUE. Otherw
irr.parent_NBS_filtered.csv
second.col.csv
control_reward_filtered.csv
ise, := and :=(...) are defined for use in j, once only and in particular ways. See help(":=").

When I review the error using help and online it suggests there might be a corruption in the newest version of data.table and I need to revert to an old version. Is there a way to run the NBS package by calling an old version of data.table?

Attaching files called in this code as examples.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions