Adapted from print.data.frame

dataframe2string(object, ..., digits = NULL, row.names = TRUE)

Arguments

object

dataframe

...

optional arguments to print or plot methods.

digits

the minimum number of significant digits to be used: see print.default.

row.names

logical (or character vector), indicating whether (or what) row names should be printed.

Value

A character vector representation of the data.frame provided to the function.

Examples

# \donttest{ library(nprcgenekeepr) dataframe2string(nprcgenekeepr::pedOne)
#> [1] " ego_idsi redam_idsexbirth_date\n1 s1 NA NA F 2000-07-18\n2 d1 NA NA M 2003-04-13\n3 s2 NA NA M 2006-06-19\n4 d2 NA NA F 2015-09-16\n5 o1 s1 d1 F 2015-02-04\n6 o2 s1 d2 F 2009-03-17\n7 o3 s2 d2 F 2012-04-11\n8 o4 s2 d2 M 2006-04-13"
# }