Skip to content
Back to formatted view

Raw Message

Message-ID: <1296075991175-3238794.post@n4.nabble.com>
Date: 2011-01-26T21:06:31Z
From: gaja
Subject: Need help with my homework

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.