美文网首页
查看R内置数据集

查看R内置数据集

作者: 见龙在田007er2770 | 来源:发表于2019-06-08 20:40 被阅读0次

    data() #查看datasets包中的数据集

    Data sets in package ‘datasets’:
    
    AirPassengers                  Monthly Airline Passenger Numbers 1949-1960
    BJsales                        Sales Data with Leading Indicator
    BJsales.lead (BJsales)         Sales Data with Leading Indicator
    BOD                            Biochemical Oxygen Demand
    CO2                            Carbon Dioxide Uptake in Grass Plants
    ChickWeight                    Weight versus age of chicks on different diets
    DNase                          Elisa assay of DNase
    EuStockMarkets                 Daily Closing Prices of Major European Stock Indices,
                                  1991-1998
    ToothGrowth                    The Effect of Vitamin C on Tooth Growth in Guinea 
    ...
    

    data(package = "ggplot2")# 加载ggplot2包中的数据集

    Data sets in package ‘ggplot2’:
    
    diamonds                       Prices of 50,000 round cut diamonds
    economics                      US economic time series
    economics_long                 US economic time series
    faithfuld                      2d density estimate of Old Faithful data
    luv_colours                    'colors()' in Luv space
    midwest                        Midwest demographics
    mpg                            Fuel economy data from 1999 and 2008 for 38 popular models of
                                   car
    msleep                         An updated and expanded version of the mammals sleep dataset
    presidential                   Terms of 11 presidents from Eisenhower to Obama
    seals                          Vector field of seal movements
    txhousing                      Housing sales in TX
    

    相关文章

      网友评论

          本文标题:查看R内置数据集

          本文链接:https://www.haomeiwen.com/subject/njkwxctx.html