Re: [R] Assignment 1 (function error)

2017-01-05 Thread Jim Lemon
Hi Malvika, What David means is that we don't do people's homework for them. Have a look at "An Introduction to R" that comes with the R distribution, particularly about sequences and vectorization. Jim On Fri, Jan 6, 2017 at 7:40 AM, Malvika Marathe wrote: > Can you please help me with this as

Re: [R] Assignment 1 (function error)

2017-01-05 Thread David Winsemius
You should read the Posting Guide. > On Jan 5, 2017, at 12:40 PM, Malvika Marathe wrote: > > Can you please help me with this assignment. I am having trouble with > inputting the ID. At the moment, the function will calculate 1-the ID number > you put in. I am not sure how to make it so that

[R] Assignment 1 (function error)

2017-01-05 Thread Malvika Marathe
Can you please help me with this assignment. I am having trouble with inputting the ID. At the moment, the function will calculate 1-the ID number you put in. I am not sure how to make it so that you can put only one number in or a range of your choosing (a range that doesn’t start with 1) __