Learn R Programming

R2MLwiN (version 0.1-7)

double2singlePrecision: Converts numerical values from double precision to single precision.

Description

This function converts some column(s) of a data frame object, matrix or vector from double precision to single precision.

Usage

double2singlePrecision(x)

Arguments

x
A data frame object, matrix or vector to be converted. Some column(s) of these objects will be ignored during conversion if they are not numeric (or double precision).

Value

  • An object of numerical values in single precision will be returned.