ich mehrere imputations Methoden in R rezensiere, und ich kam in eine grundlegende, aber wichtige Frage. Im Skript unten, Welcher Zweck der Zahl in Daten dienen [04.10, 3] < - rep (NA, 7)? Ist es zu sagen R NA siebenmal wiederholen?Multiple Imputation Übung
library(mice)
library(Amelia)
library(mi)
library(missForest)
library(Hmisc)
library(mi)
data <- airquality
data[4:10, 3] <- rep(NA, 7) # rows 4 through 10, third column, make it NA
data[1:5, 4] <- NA # rows 1 through 5, fourth column, make it NA
die Antwort gefunden? Rep –