我正在尝试根据Google分析数据为渠道归因建立马尔可夫模型。为此,我使用的是get_mcf,但我一直收到以下错误消息:
Error in vapply(x, collapse_mcf, character(1)) : values must be length 1,
but FUN(X[[1]]) result is length 0
mcf_data_2 <- get_mcf(profileId = profile_id,
start.date = start_date, end.date = end_date,
metrics = "mcf:totalConversions, mcf:totalConversionValue",
dimensions = "mcf:conversionDate,
mcf:basicChannelGroupingPath",
sort = NULL,
filters = NULL,
samplingLevel = NULL,
start.index = NULL, max.results = NULL, fetch.by = NULL)