Learn R Programming

ribiosUtils (version 1.7.7)

uniqueNonNA: Make a vector free of NA and unique

Description

Make a vector free of NA and unique

Usage

uniqueNonNA(x)

Value

A unique vector without NA

Arguments

x

A vector

Examples

Run this code

testVec <- c(3,4,5,NA,3,5)
uniqueNonNA(testVec)

Run the code above in your browser using DataLab