The grammatical component of 来 in this sentence In this sentence:


  经常有人问“一天应该吃几个鸡蛋”，其实这个没有固定答案，要根据自己的饮食结构来整体分析。


I feel the sentence means something like the following:


  People often ask "How many eggs should people eat a day?", but actually it doesn't have a fixed answer. The answer must be analyzed by each person's eating habits.


Regarding the last sentence:


  要根据自己的饮食结构来整体分析。


I feel the verb here is 来 (or maybe 要 or 分析...?). But I don't understand how it functions grammatically here and hence what it means. Is this use of 来 something special on the grammatical aspect? Is this what is treated as a dummy verb?

Any link to the explanation of the use of 来 in this case shall be welcomed as well...
agreed with Dan's answer, “来“should be a preposition here, its function is to denote an intention / express going to do sth.