Learn R Programming

RplotterPkg (version 0.1.3)

car_stats: car_stats data

Description

From datasets::mtcars produces statistics for N and the means of "mpg", "hp", "wt", "disp" variables grouped by "cyl".

Nnumeric of group's total observations
mean_mpgnumeric of group's mean mpg
mean_hpnumeric of group's mean horsepower
mean_wtnumeric of group's mean weight
mean_dispnumeric of group's mean displacment

Usage

car_stats

Arguments

Format

An object of class data.table (inherits from data.frame) with 3 rows and 6 columns.