fac2char.fn {CGManalyzer} | R Documentation |
function to convert a factor to a vector
Description
function to convert a factor to a vector of characters
Usage
fac2char.fn(x)
Arguments
x |
a factor |
Details
function to convert a factor to a vector
Value
a vector of characters
Author(s)
Xiaohua Douglas Zhang
References
Zhang XD, Zhang Z, Wang D. 2018. CGManalyzer: an R package for analyzing continuous glucose monitoring studies. Bioinformatics 34(9): 1609-1611 (DOI: 10.1093/bioinformatics/btx826).
Examples
library(CGManalyzer)
package.name <- "CGManalyzer"
source( system.file("SPEC", "SPECexample.R", package = package.name) )
fac2char.fn(dataFileType.df[,1])
[Package CGManalyzer version 1.3.1 Index]