Skip to contents

print data in a tornado_plot

Usage

# S3 method for class 'tornado_plot'
print(x, ...)

Arguments

x

the object to be printed

...

further arguments passed to print.data.frame

Examples

gtest <- lm(mpg ~ cyl*wt*hp, data = mtcars)
tp <- tornado(gtest, type = "PercentChange", alpha = 0.10, xlabel = "MPG")
print(tp)
#> Tornado Plot using model of type lm 
#> $plotdat
#>   variable      value Level
#> 1      cyl -0.2142005   90%
#> 2       wt  1.4023713   90%
#> 3       hp  0.7165715   90%
#> 4      cyl  0.2142005  110%
#> 5       wt -1.4023713  110%
#> 6       hp -0.7165715  110%
#> 
#> $pmeans
#>        1 
#> 17.75713 
#> 
#> $factordat
#> [1] NA
#>