w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Interpolating Missing Values based on proxies in R

here is the puzzle solution

predict(r, newdata= df)
        1         2         3         4         5         6         7      
  8         9        10 
 1.263598 -0.326269  1.330635  1.272603  0.415135        NA -0.929598
-0.295252 -0.006094  2.406221 

use the newdata argument to the predict function. this can conveniently pick off the correct variable names.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.