Why are the minimums different in R for summary and minimum?

  Kiến thức lập trình

The data set used here is risk (probability) and the probabilities are very small.  When using the summary function in R, the following is obtained

> summary(prob_ann)

##      Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
## 0.000e+00 1.000e-16 1.034e-13 3.959e-12 7.880e-13 8.222e-10

However, a query for the actual minimum yields the correct value:

> min(prob_ann)

## [1] 1.199446e-35

My question is this:  ¿why is summary using scientific notation, but still reporting a TRUE ZERO value instead of the correct value of 1.199e-35?

1

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT