mtcars

    0.1.0 • Public • Published

    mtcars

    A testing dataset containing car measurements. Also, checkout the CSV version.

    mtcars is a demonstration dataset included in every R installation. It is a 32 x 11 data.frame: 11 measures (horsepower, engine displacement, miles per gallon, ...) on 32 cars published in the 1974 Motor Trend magazine. Of limited intrinsic interest, it is nonetheless useful for learning introductory data exploration techniques.

    Explore a classic R dataset: mtcars

    npm version ISC-licensed chat on gitter

    Installing

    npm install mtcars

    Usage

    const mtcars = require('mtcars')
     
    console.log(mtcars[0])
    {
        model: 'Mazda RX4',
        mpg: 21,
        cyl: 6,
        disp: 160,
        hp: 110,
        drat: 3.9,
        wt: 2.62,
        qsec: 16.46,
        vs: 0,
        am: 1,
        gear: 4,
        carb: 4
    }

    Source

    Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391–411.

    Install

    npm i mtcars

    DownloadsWeekly Downloads

    4

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • derhuerst