sort: Sorting Function

Description Usage Arguments Details Value Author(s) Examples

Description

This function sort a vector into ascending or descending order.

Usage

1
tamahagane.sort(attribute, sortType="")

Arguments

attribute

A vector which is given to sort.

sortType

Type of sort order, Ascending (ASC) or Descending (DESC)

Details

This is a gneric function which takes the input as given attribute and type of sort and then sort that attribute.If you will not specify the type of sort then it will sort the vector in ascending order by default.

Value

This function sort the given vector in required order.

Author(s)

Farhan Mubasher (xululabs)

Examples

1
tamahagane.sort(myfile$Age, sortType = "DESC")

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