Displaying 2 results from an estimated 2 matches for "f2z".
Did you mean:
f2
2008 Nov 25
1
Efficient passing through big data.frame and modifying select
...> }
> return(dframe)
> }
>
> Times were
>
> > unix.time(z<-ResortCombinedFields(dframe))
> user system elapsed
> 2.526 0.022 2.559
> > unix.time(f1z<-f1(dframe))
> user system elapsed
> 0.509 0.000 0.508
> > unix.time(f2z<-f2(dframe))
> user system elapsed
> 0.259 0.004 0.264
> > identical(z, f1z)
> [1] TRUE
> > identical(z, f2z)
> [1] TRUE
In R 2.7.0 (April 2008) f1() and f2() both take time proportional
to nrow(dframe), while your original ResortCombinedFields() takes
time pro...
2009 Mar 09
5
Help
...gt; >>> 2.526 0.022 2.559
> > >>>
> > >>> > unix.time(f1z<-f1(dframe))
> > >>>
> > >>> user system elapsed
> > >>> 0.509 0.000 0.508
> > >>>
> > >>> > unix.time(f2z<-f2(dframe))
> > >>>
> > >>> user system elapsed
> > >>> 0.259 0.004 0.264
> > >>>
> > >>> > identical(z, f1z)
> > >>>
> > >>> [1] TRUE
> > >>>
> > >>&...