[R] Split in blocks

Bert Gunter gunter.berton at gene.com
Wed Jul 31 23:11:39 CEST 2013


Enter
?help
at the prompt to learn how to use R's (extensive) Help system to
answer questions like this.
For this question:
?split  ## what else?

Also ?tapply, ?ave, ?aggregate, ?by

may be relevant.

Also, read "AN Introduction to R" if you haven't already done so to
start learning about R's many data manipulation and analysis features.

Cheers,
Bert

On Wed, Jul 31, 2013 at 7:39 AM, Dominic Roye <dominic.roye at gmail.com> wrote:
> Hello,
>
> I am a little bit lost on my search for a solution and idea. I would like
> to split my time serie in blocks of "night". V1 indicates if its night or
> not.
>
> How can i split this kind of cases?
>
>
> Best regards,
>
>
> str(ou[,c(1,3,8)])
> 'data.frame': 863 obs. of  3 variables:
>  $ Fecha: POSIXct, format: "2013-07-04 00:10:00" ...
>  $ Ta   : num  22.6 22.2 22.2 22.2 22.2 ...
>  $ V1   : num  1 1 1 1 1 1 1 1 1 1 ...
>
> ########
>
>  dput(ou[,c(1,3,8)])
> structure(list(Fecha = structure(c(1372889400, 1372890000, 1372890600,
> 1372891200, 1372891800, 1372892400, 1372893000, 1372893600, 1372894200,
> 1372894800, 1372895400, 1372896000, 1372896600, 1372897200, 1372897800,
> 1372898400, 1372899000, 1372899600, 1372900200, 1372900800, 1372901400,
> 1372902000, 1372902600, 1372903200, 1372903800, 1372904400, 1372905000,
> 1372905600, 1372906200, 1372906800, 1372907400, 1372908000, 1372908600,
> 1372909200, 1372909800, 1372910400, 1372911000, 1372911600, 1372912200,
> 1372912800, 1372913400, 1372914000, 1372914600, 1372915200, 1372915800,
> 1372916400, 1372917000, 1372917600, 1372918200, 1372918800, 1372919400,
> 1372920000, 1372920600, 1372921200, 1372921800, 1372922400, 1372923000,
> 1372923600, 1372924200, 1372924800, 1372925400, 1372926000, 1372926600,
> 1372927200, 1372927800, 1372928400, 1372929000, 1372929600, 1372930200,
> 1372930800, 1372931400, 1372932000, 1372932600, 1372933200, 1372933800,
> 1372934400, 1372935000, 1372935600, 1372936200, 1372936800, 1372937400,
> 1372938000, 1372938600, 1372939200, 1372939800, 1372940400, 1372941000,
> 1372941600, 1372942200, 1372942800, 1372943400, 1372944000, 1372944600,
> 1372945200, 1372945800, 1372946400, 1372947000, 1372947600, 1372948200,
> 1372948800, 1372949400, 1372950000, 1372950600, 1372951200, 1372951800,
> 1372952400, 1372953000, 1372953600, 1372954200, 1372954800, 1372955400,
> 1372956000, 1372956600, 1372957200, 1372957800, 1372958400, 1372959000,
> 1372959600, 1372960200, 1372960800, 1372961400, 1372962000, 1372962600,
> 1372963200, 1372963800, 1372964400, 1372965000, 1372965600, 1372966200,
> 1372966800, 1372967400, 1372968000, 1372968600, 1372969200, 1372969800,
> 1372970400, 1372971000, 1372971600, 1372972200, 1372972800, 1372973400,
> 1372974000, 1372974600, 1372975200, 1372975800, 1372976400, 1372977000,
> 1372977600, 1372978200, 1372978800, 1372979400, 1372980000, 1372980600,
> 1372981200, 1372981800, 1372982400, 1372983000, 1372983600, 1372984200,
> 1372984800, 1372985400, 1372986000, 1372986600, 1372987200, 1372987800,
> 1372988400, 1372989000, 1372989600, 1372990200, 1372990800, 1372991400,
> 1372992000, 1372992600, 1372993200, 1372993800, 1372994400, 1372995000,
> 1372995600, 1372996200, 1372996800, 1372997400, 1372998000, 1372998600,
> 1372999200, 1372999800, 1373000400, 1373001000, 1373001600, 1373002200,
> 1373002800, 1373003400, 1373004000, 1373004600, 1373005200, 1373005800,
> 1373006400, 1373007000, 1373007600, 1373008200, 1373008800, 1373009400,
> 1373010000, 1373010600, 1373011200, 1373011800, 1373012400, 1373013000,
> 1373013600, 1373014200, 1373014800, 1373015400, 1373016000, 1373016600,
> 1373017200, 1373017800, 1373018400, 1373019000, 1373019600, 1373020200,
> 1373020800, 1373021400, 1373022000, 1373022600, 1373023200, 1373023800,
> 1373024400, 1373025000, 1373025600, 1373026200, 1373026800, 1373027400,
> 1373028000, 1373028600, 1373029200, 1373029800, 1373030400, 1373031000,
> 1373031600, 1373032200, 1373032800, 1373033400, 1373034000, 1373034600,
> 1373035200, 1373035800, 1373036400, 1373037000, 1373037600, 1373038200,
> 1373038800, 1373039400, 1373040000, 1373040600, 1373041200, 1373041800,
> 1373042400, 1373043000, 1373043600, 1373044200, 1373044800, 1373045400,
> 1373046000, 1373046600, 1373047200, 1373047800, 1373048400, 1373049000,
> 1373049600, 1373050200, 1373050800, 1373051400, 1373052000, 1373052600,
> 1373053200, 1373053800, 1373054400, 1373055000, 1373055600, 1373056200,
> 1373056800, 1373057400, 1373058000, 1373058600, 1373059200, 1373059800,
> 1373060400, 1373061000, 1373061600, 1373062200, 1373062800, 1373063400,
> 1373064000, 1373064600, 1373065200, 1373065800, 1373066400, 1373067000,
> 1373067600, 1373068200, 1373068800, 1373069400, 1373070000, 1373070600,
> 1373071200, 1373071800, 1373072400, 1373073000, 1373073600, 1373074200,
> 1373074800, 1373075400, 1373076000, 1373076600, 1373077200, 1373077800,
> 1373078400, 1373079000, 1373079600, 1373080200, 1373080800, 1373081400,
> 1373082000, 1373082600, 1373083200, 1373083800, 1373084400, 1373085000,
> 1373085600, 1373086200, 1373086800, 1373087400, 1373088000, 1373088600,
> 1373089200, 1373089800, 1373090400, 1373091000, 1373091600, 1373092200,
> 1373092800, 1373093400, 1373094000, 1373094600, 1373095200, 1373095800,
> 1373096400, 1373097000, 1373097600, 1373098200, 1373098800, 1373099400,
> 1373100000, 1373100600, 1373101200, 1373101800, 1373102400, 1373103000,
> 1373103600, 1373104200, 1373104800, 1373105400, 1373106000, 1373106600,
> 1373107200, 1373107800, 1373108400, 1373109000, 1373109600, 1373110200,
> 1373110800, 1373111400, 1373112000, 1373112600, 1373113200, 1373113800,
> 1373114400, 1373115000, 1373115600, 1373116200, 1373116800, 1373117400,
> 1373118000, 1373118600, 1373119200, 1373119800, 1373120400, 1373121000,
> 1373121600, 1373122200, 1373122800, 1373123400, 1373124000, 1373124600,
> 1373125200, 1373125800, 1373126400, 1373127000, 1373127600, 1373128200,
> 1373128800, 1373129400, 1373130000, 1373130600, 1373131200, 1373131800,
> 1373132400, 1373133000, 1373133600, 1373134200, 1373134800, 1373135400,
> 1373136000, 1373136600, 1373137200, 1373137800, 1373138400, 1373139000,
> 1373139600, 1373140200, 1373140800, 1373141400, 1373142000, 1373142600,
> 1373143200, 1373143800, 1373144400, 1373145000, 1373145600, 1373146200,
> 1373146800, 1373147400, 1373148000, 1373148600, 1373149200, 1373149800,
> 1373150400, 1373151000, 1373151600, 1373152200, 1373152800, 1373153400,
> 1373154000, 1373154600, 1373155200, 1373155800, 1373156400, 1373157000,
> 1373157600, 1373158200, 1373158800, 1373159400, 1373160000, 1373160600,
> 1373161200, 1373161800, 1373162400, 1373163000, 1373163600, 1373164200,
> 1373164800, 1373165400, 1373166000, 1373166600, 1373167200, 1373167800,
> 1373168400, 1373169000, 1373169600, 1373170200, 1373170800, 1373171400,
> 1373172000, 1373172600, 1373173200, 1373173800, 1373174400, 1373175000,
> 1373175600, 1373176200, 1373176800, 1373177400, 1373178000, 1373178600,
> 1373179200, 1373179800, 1373180400, 1373181000, 1373181600, 1373182200,
> 1373182800, 1373183400, 1373184000, 1373184600, 1373185200, 1373185800,
> 1373186400, 1373187000, 1373187600, 1373188200, 1373188800, 1373189400,
> 1373190000, 1373190600, 1373191200, 1373191800, 1373192400, 1373193000,
> 1373193600, 1373194200, 1373194800, 1373195400, 1373196000, 1373196600,
> 1373197200, 1373197800, 1373198400, 1373199000, 1373199600, 1373200200,
> 1373200800, 1373201400, 1373202000, 1373202600, 1373203200, 1373203800,
> 1373204400, 1373205000, 1373205600, 1373206200, 1373206800, 1373207400,
> 1373208000, 1373208600, 1373209200, 1373209800, 1373210400, 1373211000,
> 1373211600, 1373212200, 1373212800, 1373213400, 1373214000, 1373214600,
> 1373215200, 1373215800, 1373216400, 1373217000, 1373217600, 1373218200,
> 1373218800, 1373219400, 1373220000, 1373220600, 1373221200, 1373221800,
> 1373222400, 1373223000, 1373223600, 1373224200, 1373224800, 1373225400,
> 1373226000, 1373226600, 1373227200, 1373227800, 1373228400, 1373229000,
> 1373229600, 1373230200, 1373230800, 1373231400, 1373232000, 1373232600,
> 1373233200, 1373233800, 1373234400, 1373235000, 1373235600, 1373236200,
> 1373236800, 1373237400, 1373238000, 1373238600, 1373239200, 1373239800,
> 1373240400, 1373241000, 1373241600, 1373242200, 1373242800, 1373243400,
> 1373244000, 1373244600, 1373245200, 1373245800, 1373246400, 1373247000,
> 1373247600, 1373248200, 1373248800, 1373249400, 1373250000, 1373250600,
> 1373251200, 1373251800, 1373252400, 1373253000, 1373253600, 1373254200,
> 1373254800, 1373255400, 1373256000, 1373256600, 1373257200, 1373257800,
> 1373258400, 1373259000, 1373259600, 1373260200, 1373260800, 1373261400,
> 1373262000, 1373262600, 1373263200, 1373263800, 1373264400, 1373265000,
> 1373265600, 1373266200, 1373266800, 1373267400, 1373268000, 1373268600,
> 1373269200, 1373269800, 1373270400, 1373271000, 1373271600, 1373272200,
> 1373272800, 1373273400, 1373274000, 1373274600, 1373275200, 1373275800,
> 1373276400, 1373277000, 1373277600, 1373278200, 1373278800, 1373279400,
> 1373280000, 1373280600, 1373281200, 1373281800, 1373282400, 1373283000,
> 1373283600, 1373284200, 1373284800, 1373285400, 1373286000, 1373286600,
> 1373287200, 1373287800, 1373288400, 1373289000, 1373289600, 1373290200,
> 1373290800, 1373291400, 1373292000, 1373292600, 1373293200, 1373293800,
> 1373294400, 1373295000, 1373295600, 1373296200, 1373296800, 1373297400,
> 1373298000, 1373298600, 1373299200, 1373299800, 1373300400, 1373301000,
> 1373301600, 1373302200, 1373302800, 1373303400, 1373304000, 1373304600,
> 1373305200, 1373305800, 1373306400, 1373307000, 1373307600, 1373308200,
> 1373308800, 1373309400, 1373310000, 1373310600, 1373311200, 1373311800,
> 1373312400, 1373313000, 1373313600, 1373314200, 1373314800, 1373315400,
> 1373316000, 1373316600, 1373317200, 1373317800, 1373318400, 1373319000,
> 1373319600, 1373320200, 1373320800, 1373321400, 1373322000, 1373322600,
> 1373323200, 1373323800, 1373324400, 1373325000, 1373325600, 1373326200,
> 1373326800, 1373327400, 1373328000, 1373328600, 1373329200, 1373329800,
> 1373330400, 1373331000, 1373331600, 1373332200, 1373332800, 1373333400,
> 1373334000, 1373334600, 1373335200, 1373335800, 1373336400, 1373337000,
> 1373337600, 1373338200, 1373338800, 1373339400, 1373340000, 1373340600,
> 1373341200, 1373341800, 1373342400, 1373343000, 1373343600, 1373344200,
> 1373344800, 1373345400, 1373346000, 1373346600, 1373347200, 1373347800,
> 1373348400, 1373349000, 1373349600, 1373350200, 1373350800, 1373351400,
> 1373352000, 1373352600, 1373353200, 1373353800, 1373354400, 1373355000,
> 1373355600, 1373356200, 1373356800, 1373357400, 1373358000, 1373358600,
> 1373359200, 1373359800, 1373360400, 1373361000, 1373361600, 1373362200,
> 1373362800, 1373363400, 1373364000, 1373364600, 1373365200, 1373365800,
> 1373366400, 1373367000, 1373367600, 1373368200, 1373368800, 1373369400,
> 1373370000, 1373370600, 1373371200, 1373371800, 1373372400, 1373373000,
> 1373373600, 1373374200, 1373374800, 1373375400, 1373376000, 1373376600,
> 1373377200, 1373377800, 1373378400, 1373379000, 1373379600, 1373380200,
> 1373380800, 1373381400, 1373382000, 1373382600, 1373383200, 1373383800,
> 1373384400, 1373385000, 1373385600, 1373386200, 1373386800, 1373387400,
> 1373388000, 1373388600, 1373389200, 1373389800, 1373390400, 1373391000,
> 1373391600, 1373392200, 1373392800, 1373393400, 1373394000, 1373394600,
> 1373395200, 1373395800, 1373396400, 1373397000, 1373397600, 1373398200,
> 1373398800, 1373399400, 1373400000, 1373400600, 1373401200, 1373401800,
> 1373402400, 1373403000, 1373403600, 1373404200, 1373404800, 1373405400,
> 1373406000, 1373406600), tzone = "", class = c("POSIXct", "POSIXt"
> )), Ta = c(22.61, 22.24, 22.17, 22.19, 22.16, 21.97, 21.7, 21.4,
> 21.11, 20.77, 20.63, 20.47, 20.31, 20.16, 19.99, 19.82, 19.8,
> 19.73, 19.6, 19.45, 19.36, 19.3, 19.2, 19.1, 19.04, 18.93, 18.94,
> 18.93, 18.83, 18.77, 18.74, 18.86, 18.79, 18.81, 18.78, 18.76,
> 18.72, 19.09, 19.17, 19.21, 19.21, 19.21, 19.32, 19.36, 19.45,
> 19.7, 19.79, 20.3, 20.01, 20.36, 20.74, 21.09, 21.55, 21.78,
> 22.24, 22.51, 22.99, 23.41, 23.55, 24.05, 24.39, 24.64, 25.03,
> 25.49, 26.13, 26.49, 27.1, 27.74, 28.26, 28.76, 29.34, 29.55,
> 30.22, 30.52, 30.77, 31.3, 31.52, 31.69, 32.32, 32.34, 32.7,
> 33.04, 33.07, 33.38, 33.61, 34.17, 34.41, 34.87, 34.83, 34.82,
> 34.86, 35.13, 35.05, 35.16, 35.52, 35.66, 35.33, 35.38, 35.03,
> 35.06, 35.06, 35.36, 35.08, 34.92, 34.76, 34.65, 34.57, 34.38,
> 34.13, 33.83, 33.73, 33.37, 33.01, 32.69, 32.42, 32.11, 31.63,
> 30.97, 30.63, 30.18, 29.66, 29.38, 29.06, 28.78, 28.54, 28.41,
> 28.33, 28.07, 27.59, 27.1, 26.75, 26.39, 26.06, 25.87, 25.72,
> 25.42, 25.21, 25.19, 25.01, 24.76, 24.5, 24.24, 23.85, 23.28,
> 23.1, 22.77, 22.63, 22.55, 22.38, 22.24, 21.79, 21.81, 21.74,
> 21.67, 21.39, 20.68, 20.17, 20.3, 20.45, 19.92, 19.55, 19.24,
> 19.19, 19.36, 19.25, 19.03, 18.94, 18.59, 18.18, 18.26, 18.47,
> 18.25, 18.32, 17.99, 18.15, 18.27, 18.32, 18.25, 18.42, 18.65,
> 19.31, 19.42, 19.87, 20.07, 20.46, 21.1, 21.38, 21.77, 22.37,
> 22.33, 22.59, 23.44, 22.78, 22.92, 22.7, 23.13, 23.55, 23.92,
> 24.24, 24.91, 25.05, 25.69, 26.19, 26.72, 27.12, 27.63, 28.19,
> 29.01, 29.42, 29.83, 30.27, 30.87, 31.39, 31.71, 32.02, 32.05,
> 32.37, 32.8, 33.22, 33.52, 34.04, 34.51, 34.78, 35.11, 35.17,
> 35.29, 35.07, 35.5, 35.98, 36.23, 36.67, 36.59, 36.56, 36.69,
> 37.1, 37.12, 37.01, 37.28, 37.31, 37.2, 37.25, 37.17, 37.38,
> 37.34, 37.48, 37.52, 37.39, 37.42, 37.32, 37.11, 37.01, 36.81,
> 36.51, 36.19, 35.73, 35.26, 34.94, 34.57, 34.2, 33.8, 33.4, 32.84,
> 32.37, 32, 31.66, 31.43, 31.08, 30.84, 30.74, 30.4, 30.16, 29.81,
> 29.43, 29.04, 28.51, 28.15, 27.82, 27.61, 27.39, 27.07, 26.8,
> 26.42, 26.03, 25.61, 25.15, 24.83, 24.55, 24.34, 24.12, 23.87,
> 23.57, 23.3, 23.08, 22.78, 22.66, 22.36, 22.18, 22.11, 22.01,
> 21.61, 21.79, 21.5, 21.15, 20.83, 20.6, 20.58, 20.51, 20.19,
> 20.16, 20.07, 20.09, 19.97, 19.67, 19.37, 19.36, 19.39, 19.09,
> 18.82, 19, 19.06, 19.06, 18.83, 18.74, 19.42, 19.78, 20.22, 20.86,
> 20.86, 20.63, 20.97, 21.48, 21.41, 22.07, 22.31, 22.45, 22.56,
> 22.91, 23.14, 23.7, 24.04, 25.13, 25.38, 25.88, 26.29, 27.75,
> 27.59, 27.76, 28.44, 28.79, 29.25, 30.15, 30.5, 30.76, 31.17,
> 31.63, 32.24, 32.65, 32.98, 33.5, 33.66, 34.26, 34.91, 35.37,
> 35.67, 35.92, 36.18, 36.56, 36.71, 37.2, 37.43, 37.61, 38.18,
> 37.97, 38.15, 38.42, 38.35, 38.16, 38.42, 38.69, 38.85, 38.94,
> 38.97, 39.11, 39.49, 39.03, 39.17, 39.08, 39.09, 39.09, 39.16,
> 39.04, 38.79, 38.81, 38.43, 37.88, 37.46, 36.88, 36.37, 35.93,
> 35.63, 35.38, 35.15, 34.88, 34.51, 34.08, 33.59, 33.04, 32.45,
> 31.95, 31.54, 31.11, 30.72, 30.38, 30.08, 29.78, 29.44, 29.05,
> 28.86, 28.53, 28.24, 28.16, 27.88, 27.55, 27.21, 26.88, 26.56,
> 26.31, 26.08, 25.79, 25.47, 25.18, 24.92, 24.69, 24.5, 24.32,
> 24.1, 23.86, 23.63, 23.49, 23.4, 23.19, 23.01, 22.87, 22.65,
> 22.54, 22.42, 22.25, 22.1, 21.63, 21.54, 21.74, 21.42, 21.23,
> 21.42, 21.24, 20.92, 20.63, 20.38, 20.53, 20.32, 20.19, 20.01,
> 20.03, 19.88, 19.77, 19.76, 20.09, 20.25, 20.6, 20.98, 21.56,
> 21.99, 21.51, 21.96, 21.73, 21.99, 22.08, 22.35, 22.91, 23.17,
> 23.39, 23.58, 23.82, 24.19, 24.57, 25.11, 25.58, 26.04, 26.15,
> 26.77, 27.19, 27.87, 28.44, 29.1, 29.58, 29.78, 30.17, 30.78,
> 31.37, 31.78, 32.45, 32.98, 33.31, 33.78, 34.49, 34.32, 34.69,
> 35.2, 35.79, 36.18, 36.6, 36.86, 37.17, 37.21, 37.96, 37.6, 38.06,
> 38.15, 39.13, 38.59, 38.39, 38.68, 38.65, 38.53, 38.81, 38.68,
> 39.43, 39.02, 38.92, 39.07, 38.82, 38.05, 37.91, 37.72, 37.59,
> 37.38, 37.19, 37.11, 36.92, 36.74, 36.54, 36.06, 35.6, 35.32,
> 34.97, 34.5, 34.14, 33.87, 33.52, 33.03, 32.54, 32.14, 31.83,
> 31.48, 31.11, 30.62, 30.27, 30.12, 29.79, 29.48, 29.02, 28.68,
> 28.45, 28.17, 27.88, 27.55, 27.12, 26.68, 26.55, 26.41, 26.02,
> 25.63, 25.34, 25.1, 24.91, 24.67, 24.43, 24.23, 23.75, 23.28,
> 23.07, 22.72, 22.4, 22.27, 22.08, 21.95, 21.7, 21.25, 21.09,
> 20.77, 20.48, 20.56, 20.16, 20.27, 20.5, 20.23, 20.29, 20.66,
> 20.62, 20.35, 19.82, 19.35, 19.2, 18.92, 18.99, 18.99, 18.63,
> 18.34, 18.6, 18.36, 18.88, 18.89, 19.03, 19.99, 20.2, 20.27,
> 20.92, 21.96, 21.37, 21.32, 21.36, 21.61, 22.2, 22.28, 22.54,
> 23.02, 23.28, 24.42, 24.58, 24.91, 25.53, 26.02, 26.29, 26.68,
> 27.5, 28.24, 28.59, 29.23, 29.2, 29.76, 30.54, 30.87, 31.04,
> 31.71, 32.04, 32.44, 33.52, 33.17, 33.98, 34.54, 34.68, 35.13,
> 34.75, 35.4, 35.62, 35.44, 35.66, 36.03, 36.26, 36.83, 36.88,
> 37.78, 37.49, 37.4, 38.12, 38.74, 38.48, 38.72, 38.41, 38.29,
> 38.49, 38.07, 37.99, 38.25, 38.02, 38.53, 39.06, 38.26, 38.77,
> 38.29, 38.16, 38.5, 38.04, 38.06, 37.91, 37.58, 37.42, 37.11,
> 36.44, 35.58, 34.36, 33.8, 33.4, 33.11, 32.74, 32.49, 32.02,
> 31.74, 31.52, 31.18, 30.77, 30.28, 29.79, 29.75, 29.49, 29.03,
> 28.76, 28.49, 28.09, 27.74, 27.65, 27.43, 27.12, 26.82, 26.41,
> 26.14, 25.96, 25.8, 25.75, 25.7, 25.49, 24.99, 24.74, 24.88,
> 24.65, 24.26, 24.03, 23.93, 23.73, 23.48, 23.37, 23.23, 23.09,
> 22.88, 22.7, 22.43, 22.27, 22.02, 21.86, 21.8, 21.52, 21.24,
> 21.21, 21.16, 20.79, 20.54, 20.39, 20.62, 20.65, 20.3, 20.45,
> 20.67, 19.95, 19.79, 19.95, 19.98, 20.61, 20.79, 20.95, 20.95,
> 20.84, 21.02, 21.43, 21.82, 21.95, 22.28, 22.49, 22.34, 22.59,
> 22.87, 23.27, 23.7, 24.03, 24.45, 24.97, 25.13, 25.7, 26.58,
> 26.82, 27.42, 28.83, 28.5, 28.61, 29.18, 28.95, 29.39, 30.38,
> 30.8, 31.57, 31.91, 32.44, 32.71, 33.13, 33.44, 33.68, 34.27,
> 33.92, 34.19, 34.85, 35.18, 35.48, 35.89, 36.02, 36.24, 36.47,
> 35.99, 35.98, 36.66, 36.32, 36.85, 36.95, 36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, 1, 1, 1, 1, 1, 1, 1,
> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
> 1, 1, 1, 1, 1, 1, 1, 1, 1)), .Names = c("Fecha", "Ta", "V1"), class =
> "data.frame", row.names = c(NA,
> 863L))
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list