summary method for class "regsim"
# S3 method for regsim summary(object, detail = TRUE, long = detail, ...)
object | an object of class |
---|---|
detail | print detail format |
long | print summary in long format (default is TRUE in detail mode) |
... | additional arguments passed to class-specific functions |
library(regsim) model <- lm(mpg ~ wt + cyl, data = mtcars) x <- list(wt = seq(1, 5, 0.1)) sim <- regsim(model, x) summary(sim)#> Profile 1 #> wt 1.0000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p1 23.79492 27.11576 30.72753 #> ----------------------------- #> #> Profile 2 #> wt 1.1000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p2 23.60277 26.81209 30.25734 #> ----------------------------- #> #> Profile 3 #> wt 1.2000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p3 23.41738 26.4935 29.80154 #> ---------------------------- #> #> Profile 4 #> wt 1.3000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p4 23.23198 26.17136 29.34573 #> ----------------------------- #> #> Profile 5 #> wt 1.4000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p5 23.04787 25.8482 28.88992 #> ---------------------------- #> #> Profile 6 #> wt 1.5000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p6 22.86398 25.53324 28.43435 #> ----------------------------- #> #> Profile 7 #> wt 1.6000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p7 22.67433 25.20988 27.97692 #> ----------------------------- #> #> Profile 8 #> wt 1.7000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p8 22.46713 24.88005 27.50065 #> ----------------------------- #> #> Profile 9 #> wt 1.8000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p9 22.26165 24.5554 27.03159 #> ---------------------------- #> #> Profile 10 #> wt 1.9000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p10 22.1243 24.24722 26.57517 #> ----------------------------- #> #> Profile 11 #> wt 2.0000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p11 21.94068 23.92788 26.09904 #> ------------------------------ #> #> Profile 12 #> wt 2.1000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p12 21.78269 23.60683 25.63144 #> ------------------------------ #> #> Profile 13 #> wt 2.2000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p13 21.63791 23.28519 25.15551 #> ------------------------------ #> #> Profile 14 #> wt 2.3000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p14 21.45806 22.97017 24.69762 #> ------------------------------ #> #> Profile 15 #> wt 2.4000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p15 21.22513 22.6675 24.24775 #> ----------------------------- #> #> Profile 16 #> wt 2.5000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p16 21.0174 22.34995 23.79268 #> ----------------------------- #> #> Profile 17 #> wt 2.6000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p17 20.79974 22.04286 23.35028 #> ------------------------------ #> #> Profile 18 #> wt 2.7000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p18 20.59412 21.72555 22.94658 #> ------------------------------ #> #> Profile 19 #> wt 2.8000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p19 20.40648 21.41605 22.5376 #> ----------------------------- #> #> Profile 20 #> wt 2.9000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p20 20.18121 21.10461 22.11058 #> ------------------------------ #> #> Profile 21 #> wt 3.0000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p21 19.91368 20.78462 21.72791 #> ------------------------------ #> #> Profile 22 #> wt 3.1000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p22 19.62569 20.47254 21.37402 #> ------------------------------ #> #> Profile 23 #> wt 3.2000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p23 19.2947 20.15676 21.04558 #> ----------------------------- #> #> Profile 24 #> wt 3.3000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p24 18.99329 19.83463 20.75657 #> ------------------------------ #> #> Profile 25 #> wt 3.4000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p25 18.64908 19.52176 20.4767 #> ----------------------------- #> #> Profile 26 #> wt 3.5000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p26 18.25875 19.19991 20.22638 #> ------------------------------ #> #> Profile 27 #> wt 3.6000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p27 17.84833 18.86476 19.98667 #> ------------------------------ #> #> Profile 28 #> wt 3.7000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p28 17.44409 18.55136 19.75999 #> ------------------------------ #> #> Profile 29 #> wt 3.8000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p29 17.04043 18.24011 19.55012 #> ------------------------------ #> #> Profile 30 #> wt 3.9000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p30 16.61671 17.92206 19.32151 #> ------------------------------ #> #> Profile 31 #> wt 4.0000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p31 16.18013 17.605 19.13037 #> ---------------------------- #> #> Profile 32 #> wt 4.1000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p32 15.73377 17.28948 18.92918 #> ------------------------------ #> #> Profile 33 #> wt 4.2000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p33 15.25861 16.96756 18.76883 #> ------------------------------ #> #> Profile 34 #> wt 4.3000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p34 14.81036 16.64991 18.58216 #> ------------------------------ #> #> Profile 35 #> wt 4.4000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p35 14.3442 16.33402 18.40207 #> ----------------------------- #> #> Profile 36 #> wt 4.5000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p36 13.91436 16.01693 18.23235 #> ------------------------------ #> #> Profile 37 #> wt 4.6000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p37 13.48883 15.71657 18.04661 #> ------------------------------ #> #> Profile 38 #> wt 4.7000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p38 13.00837 15.39861 17.84063 #> ------------------------------ #> #> Profile 39 #> wt 4.8000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p39 12.55796 15.10865 17.67573 #> ------------------------------ #> #> Profile 40 #> wt 4.9000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p40 12.09586 14.78585 17.51083 #> ------------------------------ #> #> Profile 41 #> wt 5.0000 #> cyl 6.1875 #> #> 2.5% 50% 97.5% #> p41 11.64084 14.46362 17.34719 #> ------------------------------ #>