Learn R Programming

tern (version 0.9.8)

month2day: Conversion of months to days

Description

[Stable]

Conversion of months to days. This is an approximative calculation because it considers each month as having an average of 30.4375 days.

Usage

month2day(x)

Value

A numeric vector with the time in days.

Arguments

x

(numeric(1))
time in months.

Examples

Run this code
x <- c(13.25, 8.15, 1, 2.834)
month2day(x)

Run the code above in your browser using DataLab