When I ran your code I got
Error in `n()`:
! Must only be used inside data-masking verbs like `mutate()`,
`filter()`, and `group_by()`.
Run `rlang::last_trace()` to see where the error occurred.
when I tried to define base_df.
If I replace n() with length(.) it seems to work.
General
Sorry,
At the end of the code I get an error message
Error: object 'base_df' not found
Best,
Le mercredi 16 avril 2025 à 18:23:42 UTC+2, Ben Bolker a
écrit :
Unless this is a continuation of a conversation I missed the
beginning of, you haven't told us enough yet for us to h
Unless this is a continuation of a conversation I missed the
beginning of, you haven't told us enough yet for us to help you.
What is your problem? Do you get an error? Does the code give you an
incorrect result? How do you know? (It's possible that I could figure
out that your code hits
R-experts,
The R script here below.
How to solve my problem ?
Best,
##
# Load packages
install.packages("remotes")
remotes::install_github("bd2kccd/r-causal")
# Install 'gssr' from 'ropensci' universe
install.packages('gssr', repos =
c('https://kjhealy.r-unive
4 matches
Mail list logo