Skip to content
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

terminal() function not found #82

Open
aloaloSU opened this issue Sep 21, 2023 · 0 comments
Open

terminal() function not found #82

aloaloSU opened this issue Sep 21, 2023 · 0 comments

Comments

@aloaloSU
Copy link

aloaloSU commented Sep 21, 2023

I am trying to perform a shared frailty model as follows:

emfrail(Surv(Start, Stop, Event) ~ cluster(id) + terminal(death) + x1 + x2, data = dat).

The Start variable indicates the beginning of the time interval; Stop indicates the end of the time interval when an event occurs. Id is the unique identifier variable, and death is a status indicator where 0=alive and 1=dead. I am interested to see how the recurrent event process is affected by informative censoring.

When I try to implement the shared frailty model, unfortunately, R (version 4.3.1) throws the error "Error in terminal(death): could not find function "terminal"". Do you know what could possibly be the problem?

Thank you very much for your help in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant