Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

How does one make a 2D array of dataframes in R? (each cell is a dataframe)

How does one make a 2D array of dataframes in R, where each cell is a dataframe containing two rows of a given spreadsheet?

? Each column has the same number of rows.

? Each cell has a unique combination of columns, but the cell's columns are not unique

Another way of thinking of this is I want to translate the following Java to R:

DataFrame[][] tests = new DataFrame[6][32];
tests[1][1] = value;

Back to R, "value" is defined as:

value = table[,c(x,y)]

where x and y are variables indicating the columns of the spreadsheet.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...