I took care of the issue by simply updating an already installed package.
Really appreciate for the valuable feedback from R community. Glad to have
such kind guidelines.

On Sat, Feb 26, 2022 at 1:57 AM Ivan Krylov <krylov.r...@gmail.com> wrote:

> On Fri, 25 Feb 2022 16:14:05 -0600
> Tariq Khasiri <tariqkhas...@gmail.com> wrote:
>
> > CS_never_cond <- did::att_gt(yname="lemp",
> >                              tname="year",
> >                              idname="countyreal",
> >                              gname="first.treat",
> >                              #xformla=~1,
> >                              xformla = xformla,
> >                              control_group="nevertreated",
> >                              data = min_wage,
> >                              panel = TRUE,
> >                              base_period="universal", # <-- here
> >                              bstrap = TRUE,
> >                              cband = TRUE)
>
> > Error in did::att_gt(yname = "lemp", tname = "year", idname =
> > "countyreal",  :
> >  unused argument (base_period = "universal")
>
> Does ?did::att_gt specify that the att_gt function accepts an
> argument named "base_period" (marked by me with "# <-- here")?
> If it does, it's a documentation error, contact maintainer('did') and
> tell them about it. If it doesn't, you need to adjust your call to
> did::att_gt to provide the correct arguments.
>
> --
> Best regards,
> Ivan
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to