convert_variables: Convert the Data Types of Variables from a given Dataset

Description Usage Arguments Value

Description

Convert the Data Types of Variables from a given Dataset

Usage

1
2
3
convert_variables(dataset, convert.from = c(NULL, "double", "numeric",
  "integer", "character", "factor"), convert.to = c("double", "numeric",
  "integer", "character", "factor"), file_name = NULL, directory = NULL)

Arguments

dataset

A dataset from which the variables are converted

file_name

A character object indicating the file name when saving the data frame. The default is NULL. The name must include the .csv suffixs.

directory

A character object specifying the directory where the data frame is to be saved as a .csv file.

Value

Outputs the descriptive statistics as a data frame.


oislen/BuenaVista documentation built on May 16, 2019, 8:12 p.m.