Message-ID: <CA+8X3fUhJGiXBH_fTmhCVzRCwLWQmgNDFBuwTSLJnfBOV6xmaw@mail.gmail.com>
Date: 2017-01-06T06:32:13Z
From: Jim Lemon
Subject: Assignment 1 (function error)
In-Reply-To: <AA67F179-B296-4B4A-850A-23528D048890@gmail.com>
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 <mm95nov at gmail.com> 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 you can put only one number in or a range of your choosing (a range that doesn?t start with 1)
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.