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

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Mon Jun 10 10:20:13 CEST 2019


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.



More information about the R-help mailing list