큰 메타 분석 데이터 스크리닝에 Metagear를 사용하는 사람은 누구입니까?Metagear effort_redistribute가 원하는 것을 수행 할 수 없습니다.
2 명의 리뷰어가있는 대용량 데이터 세트의 1 %를 새로운 개정판에 재배포하려합니다. 50:50을 쉽게 재분할 할 수 있지만 노력을 사용하여 시도했지만 문자열 매개 변수 (99,1,0) 또는 (98,1,1) 등으로 오류가 계속 발생합니다. 비 네트 코드 및 예제 데이터 세트를 사용하여 테스트 한 후 다음을 얻습니다. ... 당신이 effort_redistribute
가 숫자 인수를 필요로하기 때문에 다음과 같은 오류 당신에게
Error in remove_effort/(number_reviewers - 1) :
non-numeric argument to binary operator
을 줄 것이다 위를 주어진대로
# load package
library(metagear)
# load a bibliographic dataset with the authors, titles, and abstracts of multiple study references
data(example_references_metagear)
#initialise refs
theRefs <- effort_initialize(example_references_metagear)
# randomly distribute screening effort to a team, but with Luc handeling 80% of the work
theTeam <- c("Christina", "Luc")
theRefs_unscreened <- effort_distribute(theRefs, reviewers = theTeam, effort = c(20, 80))
#results in christina with 2 papers, luc with 9
#give a small amount of work to new reviewer, patsy
theRefs_Patsy <- effort_redistribute(theRefs_unscreened,
reviewer = "Luc",
remove_effort = "20", # move 20% of Luc's work to Patsy
reviewers = c("Luc", "Patsy")) # team members loosing and picking
#results in christina with the same 2 papers, luc with 5 and patsy with 4
#shouldn't end up with chris 2, luc with 8, patsy with 2?