[R] Only change one parameter(n times) in R function then get outputs (n times)

Thevaraja, Mayooran M@Thev@r@j@ @end|ng |rom m@@@ey@@c@nz
Mon Jun 10 13:17:12 CEST 2019


Thanks for your help  Jeff. I will try it



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: Jeff Newmiller<mailto:jdnewmil using dcn.davis.ca.us>
Sent: Monday, June 10, 2019 08:20 PM
To: r-help using r-project.org<mailto:r-help using r-project.org>; Bert Gunter<mailto:bgunter.4567 using gmail.com>; Thevaraja, Mayooran<mailto:M.Thevaraja using massey.ac.nz>
Cc: r-help using r-project.org<mailto:r-help using r-project.org>
Subject: Re: [R] Only change one parameter(n times) in R function then get outputs (n times)



Sorry ... that should have been "sapply"...

On June 9, 2019 9:31:32 PM PDT, Jeff Newmiller <jdnewmil using dcn.davis.ca.us> wrote:
>supply might be useful. Or you may get some ideas from [1].
>
>[1] https://jdnewmil.github.io/RLoopsAndGroups/DoItAgainR.html
>
>On June 9, 2019 6:07:34 PM PDT, Bert Gunter <bgunter.4567 using gmail.com>
>wrote:
>>Yes. Spend some time with some R tutorials to learn the basics of R
>>programming.
>>
>>Bert Gunter
>>
>>"The trouble with having an open mind is that people keep coming along
>>and
>>sticking things into it."
>>-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>>
>>
>>On Sun, Jun 9, 2019 at 3:14 PM Thevaraja, Mayooran
>><M.Thevaraja using massey.ac.nz>
>>wrote:
>>
>>> Hello Friends,
>>>                       I have my own written an R function comparison
>>> (p,d,N). I need to get output corresponding changes in p while d and
>>N are
>>> fixed. Also, my output is given three values such as A, B and C.
>>Suppose if
>>> I change ten different p's values, we will get ten values of A, B
>and
>>C. My
>>> goal is I want to draw the curve A vs B, C. Anyone have any ideas? I
>>am
>>> trying mapply function.
>>>
>>>
>>> Regards
>>> Mayooran
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help using 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.
>>>
>>
>>      [[alternative HTML version deleted]]
>>
>>______________________________________________
>>R-help using 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.

--
Sent from my phone. Please excuse my brevity.

	[[alternative HTML version deleted]]



More information about the R-help mailing list