Initialize data.frame in a convenient way.
Initialize data.frame in a convenient way.
makeDataFrame(nrow, ncol, col.types, init, row.names = NULL,
col.names = sprintf("V%i", seq_len(ncol)))nrow |
[ |
ncol |
[ |
col.types |
[ |
init |
[any] |
row.names |
[ |
col.names |
[ |
print(makeDataFrame(3, 2, init = 7))
print(makeDataFrame(3, 2, "logical"))
print(makeDataFrame(3, 2, c("logical", "numeric")))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.