sheet: Make data.frame without conversion to factors and without...

View source: R/sheet.R

sheetR Documentation

Make data.frame without conversion to factors and without fixing names

Description

sheet and as.sheet are shortcuts to data.frame and as.data.frame with stringsAsFactors = FALSE, check.names = FALSE.

Usage

sheet(...)

as.sheet(x, ...)

Arguments

...

objects, possibly named

x

object to be coerced to data.frame

Value

data.frame/list

See Also

data.frame, as.data.frame

Examples


# see the difference
df1 = data.frame(a = letters[1:3], "This is my long name" = 1:3)
df2 = sheet(a = letters[1:3], "This is my long name" = 1:3)

str(df1)
str(df2)



gdemin/labelr documentation built on April 13, 2024, 2:34 p.m.