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.frame 内のセルの単一の値を削除したいと思います。値は係数 (数値) です
次のように値にアクセスしようとしました:
which(colnames(df) == "variable.name") which(rownames(df) == "row.name") df[i, j] <- NULL
また、<- is.na で NA を作成しようとしましたが、これもうまくいきませんでした。どうすればいいですか?