Skip to content

only_obs only pulls EVID==0, regardless of MDV #231

@jprybylski

Description

@jprybylski

mdv_var <- xp_var(xpdb, .problem, type = c('evid', 'mdv'), silent = TRUE)$col[1]

This is because of the [1] in only_obs(). I think the logic in the function body would need to be changed if the [1] were removed, but currently this is only filtering on EVID==0, not EVID==0 and MDV==0. I will submit a pull request with a tested change if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions