# Need help with my homework

9 messages
Open this post in threaded view
|

## Need help with my homework

 This post was updated on .  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 which take the length of walk, and its in 2D. As a result, I have to get the matrix in which are in i lines of matrix, written coordinates after i steps. I can not use while or for function. radnom.walk <- function (length, dim = 2){ } HOMEWORK 2I 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*
Open this post in threaded view
|

## Re: Need help with my homework

 Hi Gaja, To the best of my knowledge, this forum is not for help with homeworks. Good luck with your study material. Best, Tal ----------------Contact Details:------------------------------------------------------- Contact me: [hidden email] |  972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Wed, Jan 26, 2011 at 11:06 PM, gaja <[hidden email]> wrote: > >  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. > > ______________________________________________ > [hidden email] 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. >         [[alternative HTML version deleted]] ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.
Open this post in threaded view
|

## Re: Need help with my homework

 Hey, > To the best of my knowledge, this forum is not for help with homeworks. Probably it is, but it only works for those who can disguise their homework as Real Problems :) It might be good excercise to have a read of http://www.catb.org/~esr/faqs/smart-questions.html though. Cheers, Tsjerk -- Tsjerk A. Wassenaar, Ph.D. post-doctoral researcher Molecular Dynamics Group * Groningen Institute for Biomolecular Research and Biotechnology * Zernike Institute for Advanced Materials University of Groningen The Netherlands ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.
Open this post in threaded view
|

## Re: Need help with my homework

Open this post in threaded view
|

## Re: Need help with my homework

 Hey Josh. Thanx for an explicit post, but I still can't get it. Would be nice if someone would just do that maths instead of posting "forum isn't for that". I know its for R help and that, but if I can't do it, u could, huh? Problem here is, because I don't have anyone here to help me. And I can't learn it from the guide, instructions you gave me, 1st of all, because I can't speak English so well. I only could learn if I see finished homework. If its forbiden to post it on forum, you can mail it to me... :) gajahorvat@hotmail.com   Cheers
Open this post in threaded view
|

## Re: Need help with my homework

 I think you focussed on the wrong post. You are discussing with Josh, but others already mentioned a good solution:"ask google". It took me less than a minute to find a function which makes a random walk and plot the path. So if you are out there to study such code, go search for it, and if you don't get it, post the code here you don't understand and ask specific. Also, asking for giving some code without proving your tried it on yourself, isn't a good way to ask here. Why don't you give it a try yourself, and if you are stuck, come back, post your code and explain what doesn't work. I'm sure there are people who will help you if they can. good luck Bart
Open this post in threaded view
|

## Re: Need help with my homework

 Bart.. I'm not visiting classic math college. Its finance math, and like I said.. I'm studying for ad least 6 hours at day, but if I can't get something, I just can't. I will check slowly all the posts again and try to find out, how to do it. Thanx anyway guys :) Gaja