Self Referencing a Grid (Error in seq.default(random_3, 120, 5) : 'from' must be of length 1 >)

@swaheera ,

Again this is not a minimal example of your problem, nor is it a full description of the errors.
My advice:

  • before posting check the documentation of the functions you use and especially the documentation of the functions that give you an error. In this case type: ?seq
  • during posting keep to the guideline of this forum