Learn R Programming

genvar (version 0.0.2.0)

headdata: get first few observations

Description

get first few observations

Usage

headdata(num)

Arguments

num

how many of the first observations to get

Value

returns the first num rows of data

Examples

Run this code
# NOT RUN {
use(cars, clear=TRUE)
headdata(5)
# }

Run the code above in your browser using DataLab