fpart: Obtain the fractional part of a numeric

Description Usage Arguments Value Examples

View source: R/Rfunctions.R

Description

Takes a numeric vector and returns a vector of the numbers after the decimal place

Usage

1
  fpart(vec)

Arguments

vec

A numeric vector of any length

Value

A vector of the same length as the input vec containing only the decimal component.

Examples

1
2
x <- runif(100)
fpart(x)

taRifx documentation built on April 14, 2020, 6:27 p.m.

Related to fpart in taRifx...