Learn R Programming

fingerprint (version 3.5.7)

count-methods: Get or Set Count of Occurence of a Feature

Description

Get or set the count of occurence associated with a feature-class object. The default value for the getter (as defined in the prototype) is 1.

Usage

# S4 method for feature
count(object)
# S4 method for feature,numeric
count(x) <- value

Arguments

object

An object of class feature-class

x

An object of class feature-class

value

A numeric (which will be coerced to integer) indicating the count associated with the feature

Value

An integer representing count of occurence of the feature

Methods

signature(object = "feature")

Return the count associated with the feature object

signature(x = "feature", value = "numeric")

Set the count associated with the feature object