Aliases: asVector
Keywords: models
### ** Examples require(stats) ispl <- interpSpline( weight ~ height, women ) pred <- predict(ispl) class(pred)
[1] "xyVector"
utils::str(pred)
List of 2 $ x: num [1:51] 58 58.3 58.6 58.8 59.1 ... $ y: num [1:51] 115 115 116 117 117 ... - attr(*, "class")= chr "xyVector"
asVector(pred)
[1] 115.0000 115.4908 116.0170 116.6137 117.3153 118.1214 118.9894 119.8747 [9] 120.7384 121.5787 122.4078 123.2380 124.0759 124.9181 125.7601 126.5980 [17] 127.4340 128.2735 129.1220 129.9792 130.8301 131.6572 132.4454 133.2228 [25] 134.0528 135.0000 136.1000 137.2727 138.4090 139.4026 140.2416 141.0276 [33] 141.8690 142.8564 143.9707 145.1507 146.3356 147.4868 148.6046 149.6935 [41] 150.7604 151.8353 152.9613 154.1817 155.5178 156.9329 158.3808 159.8173 [49] 161.2269 162.6180 164.0000