2018-12-10

Listar conjuntos de datos disponibles en R

Problema

Queremos conocer los conjuntos de datos disponibles en R, tanto cargados en un determinado momento como los de todos paquetes disponibles.

Solución

  1. Listar los conjuntos de datos disponibles en ese momento
  2. data()
    
    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
    Formaldehyde            Determination of Formaldehyde
    HairEyeColor            Hair and Eye Color of Statistics Students
    ...                    ...
    
  3. Listar los conjuntos de datos de todos los paquetes disponibles
  4. data(package = .packages(all.available = TRUE))
    
    Data sets in package ‘aqp’:
    
    amarillo                Amarillo Soils
    ca630                   Soil Data from the Central Sierra Nevada Region
                            of California
    munsell                 Munsell to sRGB Lookup Table for Common Soil
                            Colors
    rruff.sample            Sample XRD Patterns
    soil_minerals           Munsell Colors of Common Soil Minerals
    sp1                     Soil Profile Data Example 1
    sp2                     Honcut Creek Soil Profile Data
    sp3                     Soil Profile Data Example 3
    sp4                     Soil Chemical Data from Serpentinitic Soils of
                            California
    sp5                     Sample Soil Database #5
    sp6                     Soil Physical and Chemical Data from
                            Manganiferous Soils
    
    Data sets in package ‘beeswarm’:
    
    breast                  Lymph-node-negative primary breast tumors
    
  5. Listar los conjuntos de datos de un paquete específico
  6. data(package = "ISLR")
    
    Data sets in package ‘ISLR’:
    
    Auto                    Auto Data Set
    Caravan                 The Insurance Company (TIC) Benchmark
    Carseats                Sales of Child Car Seats
    College                 U.S. News and World Report's College Data
    Credit                  Credit Card Balance Data
    Default                 Credit Card Default Data
    Hitters                 Baseball Data
    Khan                    Khan Gene Data
    NCI60                   NCI 60 Data
    OJ                      Orange Juice Data
    Portfolio               Portfolio Data
    Smarket                 S&P Stock Market Data
    Wage                    Mid-Atlantic Wage Data
    Weekly                  Weekly S&P Stock Market Data
    

Referencias

No hay comentarios:

Publicar un comentario

Nube de datos