0
我想zTree的對象的數據文件(問卷調)導入到R和我使用zTreeSbj function written by Oliver Kirchkamp:閱讀zTee主題文件
files <- list.files(pattern = "*.sbj$",recursive=TRUE)
fname <- sub(".*/","",files)
sbj <- zTreeSbj(aggregate(files,list(fname),function(x) x[1])$x)
我收到以下錯誤:
reading 1 ...
Error in file(filename, "r", encoding = getOption("zTree.encoding")) :
invalid 'description' argument
Called from: file(filename, "r", encoding = getOption("zTree.encoding"))