Learn R Programming

simsem (version 0.2-8)

sortList: Sort two objects in a list

Description

Sort two objects in a list by swapping the values of both objects so that the first object contains the lower value and the second object contains the larger value

Usage

sortList(object)

Arguments

object
The list with two objects (e.g., vector, matrix)

Value

  • The sorted list

Examples

Run this code
# No example

Run the code above in your browser using DataLab