0
'X' の列数と等しくなければなりません、私は私が持っているR. で行列拡張しようとしています:長さは
maxs<- apply(rawsingle,2,max)
mins<- apply(rawsingle,2,min)
、その後
scaledss<- scale(rawsingle,center=mins,scale = (maxs-mins))
Iをエラーを取得:すぐにエラー以下
'Error in scale.default(rawsingle, center = mins, scale = (maxs - mins)) :
length of 'center' must equal the number of columns of 'x''
を、私は、型付き:
length(mins)==ncol(rawsingle)
、それはTRUE
を返されたので、私が起こっていただきました見当がつかない。
は、誰もが前に同様の問題がありましたか?
? –