[R] error as in unused argument of a new package
Tariq Khasiri
t@r|qkh@@|r| @end|ng |rom gm@||@com
Sat Feb 26 21:26:57 CET 2022
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.r00t using gmail.com> wrote:
> On Fri, 25 Feb 2022 16:14:05 -0600
> Tariq Khasiri <tariqkhasiri using 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]]
More information about the R-help
mailing list