Skip to content

print.dsm() incorrectly reports fitting engine when "bam" is used #51

@dfifield

Description

@dfifield

Hi dsm folks!

A minor niggle:
print.dsm() incorrectly reports "Fitting engine: gam" for objects returned from dsm(..., engine = "bam").

Lines 42-48 of print.dsm.R do not include a case for bam:

if(gamm){
    cat("Fitting engine: gamm\n")
  }else if(("glm" %in% class(x)) & !any(class(x)=="gam")){
    cat("Fitting engine: glm\n")
  }else{
    cat("Fitting engine: gam\n")
  }

Thanks!
Dave

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