-
Notifications
You must be signed in to change notification settings - Fork 13
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
Error in 2:last_model_number_predictors : argument of length 0 #22
Comments
...let's just say I figured this one out on my own. |
Hi, I experienced the same error while reporting a clustered logistic regression. model1 <- miceadds::glm.cluster(data=df_clean3, formula=recall ~ log(Population)+NoComplaintsReported+NoCrashesFiresReported+NoInjuriesReported+NoFatalityIncidentsReported+NoOtherFailuresReported+YearOpen+label, cluster="label", family="binomial") apa.reg.table(model1) Error: Error in 2:last_model_number_predictors : argument of length 0 May I have your assistance on this issue? |
At this time apaTables (apa.reg.table) only supports output from the lm command.
On Mar 28, 2022, at 11:54 AM, homataheri ***@***.***> wrote:
CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to ***@***.***
Hi,
I experienced the same error while reporting a clustered logistic regression.
model1 <- miceadds::glm.cluster(data=df_clean3, formula=recall ~ log(Population)+NoComplaintsReported+NoCrashesFiresReported+NoInjuriesReported+NoFatalityIncidentsReported+NoOtherFailuresReported+YearOpen+label, cluster="label", family="binomial")
apa.reg.table(model1)
Error: Error in 2:last_model_number_predictors : argument of length 0
May I have your assistance on this issue?
—
Reply to this email directly, view it on GitHub<#22 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AADGFZQBA56BIXJQTA2IGY3VCHI3VANCNFSM4IOWSHFA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hello,
I am getting the error "Error in 2:last_model_number_predictors : argument of length 0" in trying to create tables for a relatively simple model.
I see that this is essentially the same problem as was reported here, #13 , but the proposed solutions therein do not help. In addition, I cannot install the development version, as I get the following error:
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/dstanley4/apaTables/tarball/master'
Any thoughts? I have some existing tables that apaTables made with which I'd like to keep the present tables consistent; your assistance would be much appreciated.
Thanks,
Peter
The text was updated successfully, but these errors were encountered: