Skip to content

Bug with variable names #18

@StephenGerry

Description

@StephenGerry

It seems like there is a bug which throws an error from the lms() function when the x variable name ends in a y (and the y variable does not begin with y).

As an example:

rm(list = ls())

library(gamlss)

data(abdom)

abdom$xy <- abdom$x
abdom$p <- abdom$y

m1 <- lms(p,xy, data=abdom, n.cyc=30)

This produces the error

Error in get(xvar, envir = as.environment(DaTa)) : object 'xp' not found

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