Hello everyone. 
I have created a 100*100 matrix in R.
Let's now say that I have a line that starts from (2,3) point and ends to the 
(62,34) point. In other words this line starts at cell (2,3) and ends at cell 
(62,34).

Is it possible to get by some R function all the matrix's cells that this line 
transverses?

I would like to thank you for your feedback.

Best Regards
Alex


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to