Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • doc for margins: nolegend option

    The documentation for margins states:
    If you wish to suppress this legend, specify the nolegend option.
    Should it be "noatlegend"?

  • #2
    Usually

    Code:
    legend(off)
    Last edited by Andrew Musau; 04 Aug 2022, 12:09.

    Comment


    • #3
      Doesn't work either.
      Code:
      margins sex, atmeans legend(off)
      returns
      option legend() not allowed
      anyway my point was that the documentation says to use the "nolegend" option, but it should be "noatlegend". The latter works.

      Comment


      • #4
        Ah, sorry. My mind was on marginsplot.

        Comment


        • #5
          Ah, sorry. My mind was on marginsplot.

          Comment


          • #6
            the answer to the question in #1, according to the help file for margins is, as said in #1, is "noatlegend" which the help file says will "suppress legend of fixed covariate values"; however, the question in #1 is not completely clear to me so it is not clear what this option is what is wanted; if it is not what is wanted, please clarify exactly what you do want

            Comment

            Working...
            X