Learn R Programming

SIPETool (version 0.1.0)

sign_detect: Sign detection

Description

This function takes as input a vector and returns the sign of each element

Usage

sign_detect(dat)

Value

vector with the signs of each element of the original matrix

Arguments

dat

the vector to be used

Examples

Run this code
sign_detect(c(1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1))

Run the code above in your browser using DataLab