Hello to all again :) Again, I have an issue with my homework. I was troubling myself for two days, and I still can't get it :(
So, if someone can help me, I would be so grateful... HOMEWORK 1. I need to draw function, random walk take the length of walk, and its in 2D. As a result, I have to take matrix in which are i-lines of matrix, written coordinates on i-steps radnom.walk <- function (length, dim = 2){ } HOMEWORK 2 I need to draw function, which draws self-avoiding walk of given length in plane level selfavoiding <- function (length) { } ____________________ That would be all. I'm sure, there is an expert which can help me, hehe. I wish to learn with those two examples for other 5, I have to deal with, for that homework. Cheers, Gaja* -- View this message in context: http://r.789695.n4.nabble.com/Need-help-with-my-homework-tp3238794p3238794.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.