结果:找到“subscript out of bounds”相关内容20个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
关于subscript out of bounds的问题
2 个回复 - 3853 次查看
用r做情绪识别时出现了问题,源代码如下:
library(rJava)
library(Rwordseg)
library(tm)
library(NLP)
setwd("d:\\第三次作业")#设置目录
comdata=read.csv("book.csv",header=T,stringsAsFactors=F)
comda ...
2019-6-16 01:14 - 米瑞特之阻碍 - 数据分析与数据挖掘
subscript out of bounds
0 个回复 - 1138 次查看
代码如下:
library(TSA)
prewhiten(ds,dq)
运行结果却说
Error in y[, (nser + 1L):ncol(y)] :
subscript out of bounds
请问如何解决这个问题呢?
谢谢各位大佬!!!
2020-12-5 23:33 - woaifanfan - R语言论坛
R语言subscript out of bounds
3 个回复 - 3696 次查看
> hillary = c("h","evergreen","hillary clinton","hdrclintonemailcom","hdrdintonemailcom")
> dat.from.to[,"h"] = rowSums(dat.from.to[,hillary])
Error in dat.from.to[, hillary] :
subscript out of bo ...
2018-11-6 09:33 - 孔木先生 - R语言论坛
R 重抽样SMOTE函数出现“ subscript out of bounds”错误
3 个回复 - 9605 次查看
程序代码:
table(data.train.normalize$Y) # 违约样本占比约为0.2207143
fml = as.formula(paste("Y ~ ", paste("X",1:23, sep = "",collapse= "+"))) #回归表达式
newD = SMOTE(fml,data.train.normalize,k = 3, ...
2018-4-25 17:25 - 落陷的阳光 - R语言论坛
R中报错,Error in order(sc[, 1]) : subscript out of bounds
5 个回复 - 12603 次查看
运行上述命令出现错误,script
out of bound。
function (object, chr, type = c("2", "m"), mapfx = c("haldane", "kosambi"), rm.rf = TRUE, window = 3, repeats = 1, criterion = c("Path_length", "AR_even ...
2015-4-9 10:23 - wetry1990 - R语言论坛
R语言 出错 求助!!报错 subscript out of bounds
0 个回复 - 3906 次查看
我的程序!!!
org=sample(unique(data_sale$busno),10)
A=matrix(0,10,4)
for(i in 1:10){
sales=sqlQuery(channel,paste("select date, sum(wareqty) as wareqty FROM temp_sales
...
2016-5-23 12:54 - 雪凌儿 - 爱问频道