Learn R Programming

lfl (version 1.4.2)

head.fsets: Return the first part of an instance of the fsets class

Description

Returns the first part of an instance of the fsets class.

Usage

# S3 method for fsets
head(x, n=6L, ...)

Arguments

x

An instance of fsets class

n

A single integer. If positive, return first \(n\) rows of x. If negative, return all but the \(n\) first number of elements of x.

...

Unused.

Value

The instance of the fsets class.

Details

Return a part of x.

See Also

tail.fsets, fsets, fcut, lcut

Examples

Run this code
# NOT RUN {
    d <- lcut3(CO2[, 1:2])
    print(head(d))
# }

Run the code above in your browser using DataLab