powered by
Takes a numeric vector and returns a vector of the numbers after the decimal place
fpart(vec)
A numeric vector of any length
A vector of the same length as the input vec containing only the decimal component.
# NOT RUN { x <- runif(100) fpart(x) # }
Run the code above in your browser using DataLab