Learn R Programming

lfl (version 1.4.2)

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

Description

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

Usage

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

Arguments

x

An instance of farules class

n

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

...

Unused.

Value

The instance of the farules class.

Details

Return a part of x.

See Also

tail.farules, farules

Examples

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

Run the code above in your browser using DataLab