fpart: Obtain the fractional part of a numeric

Description Usage Arguments Value Examples

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)

gsk3/taRifx documentation built on May 17, 2019, 8:55 a.m.