todate: Convert to date format

View source: R/todate.R

todateR Documentation

Convert to date format

Description

todate converts any POSIXct format variables in the dataframe to date format

Usage

todate(dfname)

Arguments

dfname

is the name of the dataframe on which to perform the action

Details

Note that this function will mainly apply to dataframes imported using the read_excel function from the readxl package. Dataframes imported using, for example, read.csv instead will have dates in character format and therefore todate will not apply.

Value

Nothing is returned from todate, the action is simply perfomed on the columns of dataframe dfname

Author(s)

Emily C Zabor zabore@mskcc.org


zabore/ezfun documentation built on May 30, 2024, 6:51 p.m.