on-internet
← Community

How to fix the error data.frame: arguments imply differing number of rows: 0, 1?

Stack Overflow ·

I am trying to perform a egger's test with the following function: eggers.test<-function(data){data<-data eggers<-metabias(data) intercept<-as.numeric(eggers$estimate[1]) intercept<-round(intercept,digits=3) se.intercept<-eggers$estimate[2] lower.intercept<-as.numeric(intercept-1.96*se.intercept) lower.intercept<-round(lower.intercept,digits = 2) higher.intercept<-as.numeric(intercept+1.96*se.intercept) higher.intercept<-round(higher.intercept,digits = 2) ci.intercept<-paste(lower.intercept,"-",higher.intercept) ci.intercept<-gsub(" ", "", ci.intercept, fixed = TRUE) intercept.pval<-as.numeric

Comments

Sign in or sign up to comment and upvote.

No comments yet.