mediation icon indicating copy to clipboard operation
mediation copied to clipboard

Error in rep(1, nrow(dataarg)) : invalid 'times' argument

Open sakelariev opened this issue 5 years ago • 9 comments

Hi there,

thanks for the package. I managed to use it for a single mediator analysis, but I can't seem to get it working for two mediators, using the mediators function I constantly get this error - Error in rep(1, nrow(dataarg)) : invalid 'times' argument

This is my code : mediations(datasets = positive, treatment = c("factor_scores"), mediators = c("downward_comparison", "upward_comparison"), outcome = c("self_esteem"), families=c("gaussian","gaussian"), LowerY = NULL, UpperY = NULL, interaction=FALSE, conf.level=.90, sims=100, boot = FALSE, weights=NULL)

There are no NA values in the columns. What am I missing?

Thanks, Ivaylo

sakelariev avatar Aug 13 '19 14:08 sakelariev

Hi,

Your db/migrate/* files begin with 001, 002, ... timestamp and that cause conflict with redmine_root_install/db/migrate/001... when we install the plugin. This topic help me to find the issue : https://github.com/gatATAC/redmine_wiki_books/issues/10#issuecomment-88410117

prestancedesign avatar Aug 10 '16 16:08 prestancedesign

test

2016-08-10 19:15 GMT+03:00 Michael Salihi [email protected]:

Hi,

Your db/migrate/* files begin with 001, 002, ... timestamp and that cause conflict with redmine_root_install/db/migrate/001... when install plugin. This topic help to find the issue : gatATAC/redmine_wiki_books#10 (comment) https://github.com/gatATAC/redmine_wiki_books/issues/10#issuecomment-88410117

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/netaustin/redmine_task_board/issues/44#issuecomment-238918988, or mute the thread https://github.com/notifications/unsubscribe-auth/ACaO3WkyrOPKqqtaCYntRspVHtJNY0-Yks5qefkngaJpZM4JhT16 .

Saygılar, Sevgiler, Adnan Topçu

+++ E-posta adreslerimizin istenmeyen üçüncü şahısların eline geçmemesi için öneri +++

  • Özel E-Postaları başkalarına iletirken, önce ileti içinde kalan tüm e-posta adreslerini siliniz, daha sonra alıcı adresleri Bcc (Gizli Alıcı) kısmına yazıp gönderiniz.
  • Özel E-postaları "Tümünü Yanıtla" yaparken, önce ileti içinde kalan tüm e-posta adreslerini siliniz, sonra Kime (To) ve Bilgi (CC) de yer alan (varsa) e-posta adreslerini BCC ye aktarıp gönderiniz.

İlginize Şimdiden Teşekkürler...

+++++++++

atopcu avatar Aug 10 '16 16:08 atopcu