well, you can first create a matrix and then turn into a data frame, e.g.,
mat <- matrix(0, 5, 10)
as.data.frame(mat)
I hope it helps.
Best,
Dimitris
Duijvesteijn, Naomi wrote:
Hi all,
A simple question which I don’t seem to be able to solve:
I want to make a data.frame of 36
Hi all,
A simple question which I donât seem to be able to solve:
I want to make a data.frame of 360 rows and 94228 column with only zeroâs
without having to type all these zeroâs ;-)
What is the easiest method?
Thanks,
Naomi
Disclaimer: De inf
2 matches
Mail list logo