Skip to contents

This function is responsible for printing fits from euler() and provides a summary of the fit. Prints a data frame of the original set relationships and the fitted values as well as diagError and stress statistics.

Usage

# S3 method for class 'euler'
print(x, round = 3, vsep = strrep("-", 0.75 * getOption("width")), ...)

Arguments

x

'euler' object from euler()

round

number of decimal places to round to

vsep

character string to paste in between euler objects when x is a nested euler object

...

arguments passed to base::print.data.frame()

Value

Summary statistics of the fitted Euler diagram are printed to screen.

Examples

euler(organisms)
#>                   original fitted residuals regionError
#> animal                   0  0.462    -0.462       0.075
#> mammal                   0  0.217    -0.217       0.035
#> plant                    0  0.370    -0.370       0.060
#> sea                      0  0.325    -0.325       0.053
#> spiny                    0  0.175    -0.175       0.028
#> animal&mammal            2  1.898     0.102       0.022
#> animal&sea               1  0.564     0.436       0.051
#> mammal&sea               1  0.000     1.000       0.143
#> plant&sea                1  0.799     0.201       0.013
#> plant&spiny              1  0.870     0.130       0.002
#> animal&mammal&sea        0  0.243    -0.243       0.039
#> animal&plant&sea         0  0.034    -0.034       0.006
#> animal&sea&spiny         1  0.000     1.000       0.143
#> plant&sea&spiny          0  0.201    -0.201       0.033
#> 
#> diagError: 0.143 
#> stress:    0.321