Description Usage Arguments Format Inherit Methods See Also
This class allows you to know the length of the data of an instance.
1 2 3 | MeasureLengthPipe$new(propertyName = "length",
alwaysBeforeDeps = list(),
notAfterDeps = list())
|
propertyName |
(character) Name of the property associated with the pipe. |
alwaysBeforeDeps |
(list) The dependences alwaysBefore (pipes that must be executed before this one). |
notAfterDeps |
(list) The dependences notAfter (pipes that cannot be executed after this one). |
An object of class R6ClassGenerator
of length 24.
This class inherits from PipeGeneric
and implements the
pipe
abstract function.
pipe Function that preprocesses the instance to obtain the length of data.
Usage
pipe(instance, propertyName = super$getPropertyName(),
nchar_conf = TRUE)
Value
The instance with the modifications that have occurred in the pipe.
Arguments
instance (Instance) Instance to preproccess.
propertyName (character) The name of the property that will be obtained in the pipe.
nchar_conf (logical)
getLength Function that obtain the length of the data.
Usage
getLength(data, nchar_conf = TRUE)
Value
The instance with the modifications that have occurred in the pipe.
Arguments
data (character) Text to preproccess.
nchar_conf (logical)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.