filter: Filtering Function for Dataset

Description Usage Arguments Details Value Author(s) Examples

Description

This function is used to apply different filters on datasets.

Usage

1
tamahagane.apply.filter(dataset, attribute, filterType="", object="")

Arguments

dataset

A paramter which will tkae your dataset.

attribute

Specific attribute of given dataset, which will be used for filtering data on the ase of some given object.

filterType

Type of filter you want to apply to given dataset. for Example ("EQUAL", "NOTEQUAL", "ISIN", "ISNOTIN", "STARTWITH", "MATCHES", "NOTMATCHES")

object

A value of given attribute, which is used to filter that attribute

Details

This function will take four parameters and will return the filtered data on the basis of given attribute , its object, and filter type. Each row will be compare according to applied filter and ata the end filtered data will be shown.Do not leave any parameter blank or empty otherwise it will produce error message.Give all the parameters of this function correctly.

Value

This function will return Filtered Data.

Author(s)

Farhan Mubasher (xululabs)

Examples

1
female <- tamahagane.apply.filter(myData, myData$Sex, filterType = "EQUAL", object = "Female" )

farhanmubasher/tamahagane documentation built on May 16, 2019, 10:09 a.m.