Learn R Programming

lfl (version 1.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 class '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

Details

Return a part of x.

See Also

tail.farules, farules

Examples

Run this code
d <- lcut3(CO2[, 1:2])
    print(head(d))

Run the code above in your browser using DataLab