[R] Data structure to hold the following

Alaios alaios at yahoo.com
Tue Feb 16 07:16:53 CET 2016


The tables and vectors storing the data will be used for accessing the data (sequentially is also fine) to do calculations as needed.
RegardsAlex 

    On Monday, February 15, 2016 7:17 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
 

 I would say that it depends on what you want to do with the data.
Bert


On Monday, February 15, 2016, Alaios via R-help <r-help at r-project.org> wrote:

Dear all,I am using R to emulate radio propagation dynamics.
I have 90 antennas in a region and each of these 90 antennas hold information about 36 points (these are all exactly the same and there is no need to differentiate them further)
Each of these antennas now should keep information about the distances from the 36 points (each of the 90 antennas have a different distance for each of the unique 36 points), which gives use in total 90 times a 36 elements vector.
Each antenna should also keep a [36,600] matrix (each matrix describes in details the relation between one of the 90 antennas and one of the 36 points and 600 elements are needed for doing that). In total that mines 90 times [36,600] matrices

What is an appropriate data structure for doing that in R ? I am giving fixed numbers here but in reality the 90,36 and 600 are just examples. Variable should be used here and thus we do not talk about fixed data structures before hand.

I would like to thank you for your replyRegardsAlex


        [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



-- 
Bert Gunter

"The trouble with having an open mind is that people keep coming along and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )



  
	[[alternative HTML version deleted]]



More information about the R-help mailing list