Re: [R] Alternative to apply in base R

2016-11-09 Thread Doran, Harold
the suggestions to those on this thread. From: William Dunlap [mailto:wdun...@tibco.com] Sent: Tuesday, November 08, 2016 5:14 PM To: Doran, Harold <hdo...@air.org> Cc: peter dalgaard <pda...@gmail.com>; r-help@r-project.org; Fox, John <j...@mcmaster.ca> Subject: Re: [R] Alternative

Re: [R] Alternative to apply in base R

2016-11-08 Thread William Dunlap via R-help
nerate values that are both negative and positive. > >>> > >>> I hope this helps, > >>> John > >>> - > >>> John Fox, Professor > >>> McMaster University > >>> Hamilton, Ontario > >>&

Re: [R] Alternative to apply in base R

2016-11-08 Thread Doran, Harold
> where rnorm() will generate values that are both negative and positive. >>> >>> I hope this helps, >>> John >>> - >>> John Fox, Professor >>> McMaster University >>> Hamilton, Ontario >>> Cana

Re: [R] Alternative to apply in base R

2016-11-08 Thread peter dalgaard
>> ____ >> From: R-help [r-help-boun...@r-project.org] on behalf of Doran, Harold >> [hdo...@air.org] >> Sent: November 8, 2016 10:57 AM >> To: r-help@r-project.org >> Subject: [R] Alternative to apply in base R >&

Re: [R] Alternative to apply in base R

2016-11-08 Thread Jeff Newmiller
amilton, Ontario >>Canada L8S 4M4 >>web: socserv.mcmaster.ca/jfox >> >> >>____________ >>From: R-help [r-help-boun...@r-project.org] on behalf of Doran, Harold >>[hdo...@air.org] >>Sent: November 8, 2016 10:57 AM >>To: r

Re: [R] Alternative to apply in base R

2016-11-08 Thread Doran, Harold
help [r-help-boun...@r-project.org] on behalf of Doran, Harold >[hdo...@air.org] >Sent: November 8, 2016 10:57 AM >To: r-help@r-project.org >Subject: [R] Alternative to apply in base R > >Without reaching out to another package in R, I wonder what the best way >is to speed enhanc

Re: [R] Alternative to apply in base R

2016-11-08 Thread Fox, John
: socserv.mcmaster.ca/jfox From: R-help [r-help-boun...@r-project.org] on behalf of Doran, Harold [hdo...@air.org] Sent: November 8, 2016 10:57 AM To: r-help@r-project.org Subject: [R] Alternative to apply in base R Without reaching out to another package in R, I

Re: [R] Alternative to apply in base R

2016-11-08 Thread David Winsemius
> On Nov 8, 2016, at 7:57 AM, Doran, Harold wrote: > > Without reaching out to another package in R, I wonder what the best way is > to speed enhance the following toy example? Over the years I have become very > comfortable with the family of apply functions and generally not

Re: [R] Alternative to apply in base R

2016-11-08 Thread Charles C. Berry
On Tue, 8 Nov 2016, Doran, Harold wrote: Without reaching out to another package in R, I wonder what the best way is to speed enhance the following toy example? Over the years I have become very comfortable with the family of apply functions and generally not good at finding an improvement

[R] Alternative to apply in base R

2016-11-08 Thread Doran, Harold
Without reaching out to another package in R, I wonder what the best way is to speed enhance the following toy example? Over the years I have become very comfortable with the family of apply functions and generally not good at finding an improvement for speed. This toy example is small, but my