R语言实战-统计分析基础-描述性统计3-Hmisc-describe

 1 > describe(mtcars[vars])
 2 mtcars[vars] 
 3 
 4  3  Variables      32  Observations
 5 --------------------------------------------------------------------------
 6 mpg 
 7        n  missing distinct     Info     Mean      Gmd      .05      .10 
 8       32        0       25    0.999    20.09    6.796    12.00    14.34 
 9      .25      .50      .75      .90      .95 
10    15.43    19.20    22.80    30.09    31.30 
11 
12 lowest : 10.4 13.3 14.3 14.7 15.0, highest: 26.0 27.3 30.4 32.4 33.9
13 --------------------------------------------------------------------------
14 hp 
15        n  missing distinct     Info     Mean      Gmd      .05      .10 
16       32        0       22    0.997    146.7    77.04    63.65    66.00 
17      .25      .50      .75      .90      .95 
18    96.50   123.00   180.00   243.50   253.55 
19 
20 lowest :  52  62  65  66  91, highest: 215 230 245 264 335
21 --------------------------------------------------------------------------
22 wt 
23        n  missing distinct     Info     Mean      Gmd      .05      .10 
24       32        0       29    0.999    3.217    1.089    1.736    1.956 
25      .25      .50      .75      .90      .95 
26    2.581    3.325    3.610    4.048    5.293 
27 
28 lowest : 1.513 1.615 1.835 1.935 2.140, highest: 3.845 4.070 5.250 5.345 5.424
29 --------------------------------------------------------------------------

猜你喜欢

转载自www.cnblogs.com/qianheng/p/10823354.html