Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
data.frameR に列を新しい最初の列として追加して、他のすべての列が 1 列だけシフトされるようにするにはどうすればよいですか?
data.frame
お気に入り:
a|b|c --> new|a|b|c
row.namesを個別の列にしたいので、これを行う必要があります。write.arff関数はdata.frameを入力として受け取りますが、ファイルを書き込むときに名前を保持しないため、これが必要です。
row.names
write.arff