-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about function 'residualplot_step1' #7
Comments
Hello Coco,
Thank you for your email and your interest in the package.
Unfortunately This package is no longer maintained. It has not been updated
for the recent versions of R as I longer work in the space.
At this time, I have just gone on maternity leave and will not be able to
have a look at this any further.
You can download zip file of the package from the page GitHub page. In the
folder named R code, You will find each function if you wish to try to
debug this message.
Sorry, I couldn’t be more helpful at this time.
Best wishes,
Hannah
…On Thu 27 Jul 2023 at 11:55, storm-grass ***@***.***> wrote:
Dear Hannah,
I'm having a problem with the function 'residualplot_step1'. When I run
the examples:
library(ggplot2)
data(bmi_long, package = "LCTMtools")
require(lcmm)
model2class <- lcmm::hlme(
fixed = bmi ~ age,
mixture = ~age,
random = ~ -1,
nwg = TRUE, ng = 2, subject = "id",
data = data.frame(bmi_long[1:500, ])
)
residualplot_step1(model2class,
nameofoutcome = "bmi",
nameofage = "age",
data = bmi_long,
)
It displays the following error:
<error/rlib_error_dots_nonempty>
Error in dplyr::left_join():
! ... must be empty.
✖ Problematic argument:
• .by = nameofid
Backtrace:
▆
1. └─LCTMtools::residualplot_step1(...)
2. ├─dplyr::left_join(preds, model$pprob, .by = nameofid)
3. └─dplyr:::left_join.data.frame(preds, model$pprob, .by = nameofid)
Run rlang::last_trace(drop = FALSE) to see 5 hidden frames.
I have updated the 'dplyr' package and it still shows this error. My R
version info is:
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
I wonder if you know what might be causing these errors?
Best wishes,
Coco
—
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACW4P7NW3OTXTM7GL75XWH3XSI3KDANCNFSM6AAAAAA2Z2LWZA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks very much for getting your reply, I've been debugging the code as you said. Best wishes, |
same issue |
Hello, I met the same problem about function 'residualplot_step1'. Did you solve this problem? Best wishes. |
Download the zip file of the package from the GitHub page. In the folder named "R code," simply modify these two lines of code: |
Dear Hannah,
I'm having a problem with the function 'residualplot_step1'. When I run the examples:
library(ggplot2)
data(bmi_long, package = "LCTMtools")
require(lcmm)
model2class <- lcmm::hlme(
fixed = bmi ~ age,
mixture = ~age,
random = ~ -1,
nwg = TRUE, ng = 2, subject = "id",
data = data.frame(bmi_long[1:500, ])
)
residualplot_step1(model2class,
nameofoutcome = "bmi",
nameofage = "age",
data = bmi_long,
)
It displays the following error:
<error/rlib_error_dots_nonempty>
Error in
dplyr::left_join()
:!
...
must be empty.✖ Problematic argument:
• .by = nameofid
Backtrace:
▆
Run rlang::last_trace(drop = FALSE) to see 5 hidden frames.
I have updated the 'dplyr' package and it still shows this error. My R version info is:
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
I wonder if you know what might be causing these errors?
Best wishes,
Coco
The text was updated successfully, but these errors were encountered: