Hi, Having a dataframe 'l1' (dput output is below): >dim(l1) 1274 2 >l1[1:12,] Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30 1 6 1988-02-01 5 7 1988-02-08 4 8 1988-02-14 1 9 1988-02-16 1 10 1988-02-18 4 11 1988-02-24 2 12 1988-03-04 1 I want to extract the times "1988-01", "1988-02",...,"2005-12" are present, in order to know, for example, that 1988-01 = 5 days 1988-02 = 6 days and so on. The Freq column doesn't matter in this case, just the Var1 column I've been trying with: regexpr("2005-03-",l1$Var1) But the result is not satisfactory since I need to find and count where these values are. Thanks Antonio dput(l1,control="all") structure(list(Var1 = structure(as.integer(c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274)), .Label = c("1988-01-13", "1988-01-16", "1988-01-20", "1988-01-25", "1988-01-30", "1988-02-01", "1988-02-08", "1988-02-14", "1988-02-16", "1988-02-18", "1988-02-24", "1988-03-04", "1988-03-07", "1988-03-14", "1988-03-21", "1988-03-29", "1988-04-06", "1988-04-08", "1988-04-11", "1988-04-14", "1988-04-21", "1988-04-28", "1988-05-01", "1988-05-13", "1988-05-16", "1988-05-25", "1988-05-30", "1988-06-06", "1988-06-16", "1988-06-26", "1988-07-02", "1988-07-07", "1988-07-10", "1988-07-12", "1988-07-15", "1988-07-18", "1988-07-31", "1988-08-05", "1988-08-10", "1988-08-14", "1988-08-25", "1988-09-01", "1988-09-05", "1988-09-09", "1988-09-12", "1988-09-19", "1988-09-24", "1988-09-29", "1988-10-02", "1988-10-06", "1988-10-11", "1988-10-15", "1988-10-17", "1988-10-25", "1988-10-29", "1988-10-31", "1988-11-09", "1988-11-11", "1988-11-17", "1988-11-20", "1988-11-24", "1988-11-28", "1988-12-01", "1988-12-04", "1988-12-06", "1988-12-09", "1988-12-17", "1988-12-21", "1989-01-13", "1989-01-17", "1989-01-19", "1989-01-22", "1989-01-29", "1989-01-31", "1989-02-04", "1989-02-09", "1989-02-28", "1989-03-07", "1989-03-15", "1989-03-22", "1989-03-30", "1989-04-05", "1989-04-11", "1989-04-18", "1989-04-20", "1989-04-22", "1989-04-28", "1989-05-01", "1989-05-12", "1989-05-15", "1989-05-24", "1989-05-30", "1989-06-03", "1989-06-06", "1989-06-09", "1989-06-11", "1989-06-21", "1989-06-26", "1989-06-30", "1989-07-02", "1989-07-06", "1989-07-11", "1989-07-14", "1989-07-21", "1989-07-26", "1989-07-31", "1989-08-02", "1989-08-09", "1989-08-12", "1989-08-21", "1989-08-29", "1989-09-04", "1989-09-06", "1989-09-10", "1989-09-19", "1989-09-23", "1989-09-26", "1989-09-30", "1989-10-08", "1989-10-13", "1989-10-22", "1989-10-28", "1989-11-02", "1989-11-06", "1989-11-14", "1989-11-17", "1989-11-24", "1989-11-27", "1989-12-09", "1989-12-11", "1989-12-19", "1989-12-29", "1990-01-02", "1990-01-04", "1990-01-07", "1990-01-10", "1990-01-13", "1990-01-30", "1990-02-11", "1990-02-21", "1990-02-28", "1990-03-09", "1990-03-12", "1990-03-15", "1990-03-19", "1990-03-28", "1990-04-02", "1990-04-06", "1990-04-11", "1990-04-25", "1990-04-29", "1990-05-04", "1990-05-10", "1990-05-16", "1990-05-19", "1990-05-29", "1990-06-02", "1990-06-09", "1990-06-13", "1990-06-16", "1990-06-21", "1990-06-25", "1990-06-27", "1990-07-07", "1990-07-15", "1990-07-21", "1990-07-28", "1990-08-01", "1990-08-06", "1990-08-10", "1990-08-14", "1990-08-28", "1990-09-06", "1990-09-27", "1990-10-02", "1990-10-04", "1990-10-12", "1990-10-17", "1990-10-20", "1990-10-23", "1990-10-31", "1990-11-12", "1990-11-18", "1990-11-23", "1990-11-27", "1990-12-04", "1990-12-07", "1990-12-13", "1990-12-16", "1990-12-18", "1990-12-27", "1991-01-09", "1991-01-12", "1991-01-14", "1991-01-19", "1991-01-24", "1991-02-04", "1991-02-07", "1991-02-10", "1991-02-12", "1991-02-14", "1991-02-20", "1991-02-25", "1991-02-27", "1991-03-02", "1991-03-09", "1991-03-15", "1991-03-26", "1991-03-28", "1991-04-04", "1991-04-07", "1991-04-17", "1991-04-21", "1991-05-04", "1991-05-11", "1991-05-18", "1991-05-21", "1991-05-25", "1991-05-31", "1991-06-02", "1991-06-08", "1991-06-20", "1991-07-04", "1991-07-07", "1991-07-10", "1991-07-13", "1991-07-23", "1991-07-26", "1991-07-29", "1991-08-01", "1991-08-07", "1991-08-10", "1991-08-15", "1991-08-21", "1991-08-31", "1991-09-03", "1991-09-15", "1991-09-19", "1991-09-25", "1991-10-02", "1991-10-06", "1991-10-10", "1991-10-13", "1991-10-17", "1991-10-19", "1991-10-23", "1991-11-04", "1991-11-11", "1991-11-22", "1991-11-24", "1991-11-28", "1991-12-02", "1991-12-08", "1991-12-11", "1991-12-17", "1991-12-21", "1991-12-26", "1991-12-30", "1992-01-05", "1992-01-07", "1992-01-09", "1992-01-12", "1992-01-15", "1992-01-20", "1992-01-25", "1992-02-02", "1992-02-12", "1992-02-16", "1992-02-24", "1992-02-28", "1992-03-01", "1992-03-03", "1992-03-10", "1992-03-21", "1992-03-29", "1992-04-01", "1992-04-10", "1992-04-18", "1992-04-26", "1992-04-30", "1992-05-04", "1992-05-12", "1992-05-16", "1992-05-24", "1992-05-26", "1992-05-29", "1992-06-08", "1992-06-14", "1992-06-19", "1992-06-25", "1992-07-01", "1992-07-07", "1992-07-09", "1992-07-13", "1992-07-18", "1992-07-20", "1992-07-26", "1992-07-29", "1992-08-01", "1992-08-04", "1992-08-07", "1992-08-09", "1992-08-13", "1992-08-23", "1992-08-28", "1992-08-31", "1992-09-08", "1992-09-14", "1992-09-19", "1992-09-21", "1992-09-25", "1992-10-01", "1992-10-08", "1992-10-10", "1992-10-15", "1992-10-27", "1992-11-01", "1992-11-15", "1992-11-18", "1992-11-20", "1992-12-04", "1992-12-07", "1992-12-13", "1992-12-18", "1992-12-22", "1992-12-26", "1992-12-28", "1993-01-02", "1993-01-05", "1993-01-11", "1993-01-19", "1993-01-21", "1993-01-30", "1993-02-02", "1993-02-09", "1993-02-13", "1993-02-19", "1993-03-02", "1993-03-06", "1993-03-10", "1993-03-14", "1993-03-18", "1993-03-21", "1993-03-23", "1993-03-29", "1993-04-03", "1993-04-06", "1993-04-10", "1993-04-17", "1993-04-21", "1993-04-23", "1993-04-27", "1993-04-29", "1993-05-05", "1993-05-07", "1993-05-10", "1993-05-12", "1993-05-17", "1993-05-23", "1993-05-27", "1993-05-31", "1993-06-15", "1993-06-18", "1993-06-21", "1993-06-25", "1993-06-28", "1993-07-03", "1993-07-06", "1993-07-09", "1993-07-12", "1993-07-22", "1993-07-26", "1993-08-01", "1993-08-03", "1993-08-07", "1993-08-09", "1993-08-12", "1993-08-24", "1993-08-31", "1993-09-03", "1993-09-08", "1993-09-17", "1993-09-20", "1993-09-24", "1993-09-28", "1993-10-01", "1993-10-05", "1993-10-08", "1993-10-14", "1993-10-17", "1993-10-23", "1993-11-02", "1993-11-04", "1993-11-13", "1993-11-15", "1993-11-18", "1993-11-21", "1993-11-24", "1993-11-30", "1993-12-03", "1993-12-06", "1993-12-08", "1993-12-12", "1993-12-15", "1993-12-19", "1993-12-24", "1994-01-03", "1994-01-08", "1994-01-11", "1994-01-15", "1994-01-23", "1994-01-27", "1994-01-30", "1994-02-06", "1994-02-13", "1994-02-16", "1994-02-21", "1994-02-25", "1994-03-03", "1994-03-08", "1994-03-14", "1994-03-19", "1994-03-25", "1994-03-27", "1994-04-01", "1994-04-13", "1994-04-17", "1994-04-23", "1994-05-09", "1994-05-18", "1994-05-26", "1994-06-01", "1994-06-09", "1994-06-11", "1994-06-17", "1994-06-19", "1994-06-27", "1994-07-02", "1994-07-10", "1994-07-17", "1994-07-25", "1994-07-29", "1994-08-02", "1994-08-04", "1994-08-11", "1994-08-15", "1994-08-18", "1994-08-23", "1994-08-26", "1994-08-30", "1994-09-02", "1994-09-05", "1994-09-14", "1994-09-19", "1994-09-23", "1994-09-27", "1994-10-08", "1994-10-10", "1994-10-17", "1994-10-27", "1994-10-30", "1994-11-05", "1994-11-13", "1994-11-23", "1994-11-28", "1994-12-07", "1994-12-10", "1994-12-21", "1994-12-29", "1995-01-02", "1995-01-11", "1995-01-14", "1995-01-17", "1995-01-20", "1995-01-26", "1995-01-30", "1995-02-03", "1995-02-08", "1995-02-14", "1995-02-19", "1995-02-23", "1995-02-25", "1995-03-04", "1995-03-08", "1995-03-11", "1995-03-14", "1995-03-18", "1995-03-22", "1995-03-24", "1995-03-28", "1995-04-04", "1995-04-08", "1995-04-10", "1995-04-16", "1995-04-24", "1995-04-26", "1995-04-28", "1995-04-30", "1995-05-09", "1995-05-18", "1995-05-21", "1995-05-28", "1995-06-01", "1995-06-04", "1995-06-09", "1995-06-14", "1995-06-20", "1995-06-24", "1995-06-26", "1995-07-03", "1995-07-10", "1995-07-14", "1995-07-20", "1995-07-25", "1995-07-27", "1995-08-03", "1995-08-09", "1995-08-17", "1995-08-21", "1995-08-25", "1995-09-01", "1995-09-05", "1995-09-10", "1995-09-17", "1995-09-26", "1995-10-01", "1995-10-05", "1995-10-10", "1995-10-17", "1995-10-20", "1995-10-24", "1995-11-02", "1995-11-05", "1995-11-09", "1995-11-13", "1995-11-17", "1995-11-21", "1995-11-27", "1995-11-30", "1995-12-02", "1995-12-09", "1995-12-13", "1995-12-16", "1995-12-28", "1996-01-03", "1996-01-13", "1996-01-15", "1996-01-18", "1996-01-26", "1996-02-02", "1996-02-07", "1996-02-12", "1996-02-18", "1996-02-22", "1996-02-28", "1996-03-04", "1996-03-07", "1996-03-12", "1996-03-16", "1996-03-18", "1996-03-25", "1996-03-30", "1996-04-02", "1996-04-04", "1996-04-06", "1996-04-13", "1996-04-15", "1996-04-18", "1996-04-22", "1996-04-24", "1996-04-27", "1996-04-29", "1996-05-04", "1996-05-09", "1996-05-12", "1996-05-19", "1996-05-23", "1996-05-29", "1996-06-04", "1996-06-08", "1996-06-11", "1996-06-17", "1996-06-25", "1996-06-30", "1996-07-03", "1996-07-12", "1996-07-15", "1996-07-21", "1996-07-23", "1996-07-28", "1996-07-31", "1996-08-03", "1996-08-08", "1996-08-20", "1996-08-31", "1996-09-02", "1996-09-04", "1996-09-06", "1996-09-11", "1996-09-16", "1996-09-24", "1996-09-26", "1996-09-30", "1996-10-03", "1996-10-07", "1996-10-10", "1996-10-16", "1996-10-19", "1996-10-25", "1996-10-29", "1996-11-02", "1996-11-09", "1996-11-14", "1996-11-19", "1996-11-23", "1996-11-25", "1996-11-29", "1996-12-02", "1996-12-09", "1996-12-15", "1996-12-25", "1997-01-06", "1997-01-10", "1997-01-16", "1997-01-20", "1997-01-22", "1997-01-27", "1997-02-01", "1997-02-04", "1997-02-10", "1997-02-17", "1997-02-26", "1997-03-04", "1997-03-09", "1997-03-13", "1997-03-15", "1997-03-22", "1997-03-29", "1997-04-04", "1997-04-12", "1997-04-17", "1997-04-25", "1997-04-29", "1997-05-02", "1997-05-04", "1997-05-08", "1997-05-12", "1997-05-15", "1997-05-18", "1997-05-21", "1997-05-27", "1997-05-31", "1997-06-04", "1997-06-06", "1997-06-10", "1997-06-18", "1997-06-21", "1997-06-26", "1997-07-02", "1997-07-06", "1997-07-11", "1997-07-15", "1997-07-17", "1997-07-22", "1997-07-30", "1997-08-04", "1997-08-07", "1997-08-10", "1997-08-12", "1997-08-17", "1997-08-27", "1997-09-03", "1997-09-07", "1997-09-13", "1997-09-15", "1997-09-29", "1997-10-02", "1997-10-07", "1997-10-10", "1997-10-15", "1997-10-21", "1997-10-24", "1997-11-09", "1997-11-13", "1997-11-17", "1997-11-19", "1997-11-22", "1997-11-27", "1997-11-30", "1997-12-03", "1997-12-08", "1997-12-12", "1997-12-15", "1997-12-20", "1997-12-26", "1997-12-28", "1998-01-01", "1998-01-08", "1998-01-17", "1998-01-25", "1998-01-28", "1998-02-06", "1998-02-09", "1998-02-19", "1998-02-26", "1998-03-03", "1998-03-14", "1998-03-23", "1998-03-30", "1998-04-03", "1998-04-07", "1998-04-14", "1998-04-16", "1998-04-21", "1998-04-27", "1998-05-06", "1998-05-12", "1998-05-14", "1998-05-26", "1998-05-28", "1998-05-31", "1998-06-06", "1998-06-17", "1998-06-21", "1998-06-27", "1998-07-16", "1998-07-21", "1998-07-29", "1998-08-04", "1998-08-12", "1998-08-18", "1998-08-21", "1998-08-25", "1998-08-27", "1998-09-05", "1998-09-08", "1998-09-12", "1998-09-16", "1998-09-25", "1998-09-27", "1998-10-03", "1998-10-10", "1998-10-18", "1998-10-20", "1998-10-26", "1998-11-04", "1998-11-10", "1998-11-17", "1998-11-23", "1998-11-27", "1998-12-01", "1998-12-03", "1998-12-07", "1998-12-12", "1998-12-18", "1998-12-23", "1998-12-28", "1999-01-05", "1999-01-09", "1999-01-13", "1999-01-15", "1999-01-18", "1999-01-20", "1999-01-27", "1999-02-01", "1999-02-04", "1999-02-07", "1999-02-09", "1999-02-11", "1999-02-15", "1999-02-20", "1999-03-02", "1999-03-05", "1999-03-09", "1999-03-15", "1999-03-22", "1999-03-28", "1999-03-31", "1999-04-03", "1999-04-05", "1999-04-08", "1999-04-11", "1999-04-19", "1999-04-21", "1999-04-23", "1999-04-25", "1999-04-28", "1999-05-01", "1999-05-11", "1999-05-18", "1999-05-22", "1999-05-29", "1999-06-01", "1999-06-06", "1999-06-11", "1999-06-19", "1999-06-22", "1999-06-27", "1999-07-01", "1999-07-07", "1999-07-09", "1999-07-15", "1999-07-19", "1999-07-23", "1999-07-26", "1999-08-02", "1999-08-07", "1999-08-09", "1999-08-14", "1999-08-23", "1999-08-27", "1999-09-05", "1999-09-16", "1999-09-20", "1999-09-22", "1999-09-24", "1999-09-30", "1999-10-04", "1999-10-10", "1999-10-14", "1999-10-16", "1999-10-18", "1999-10-25", "1999-11-03", "1999-11-05", "1999-11-08", "1999-11-18", "1999-11-22", "1999-12-03", "1999-12-06", "1999-12-12", "1999-12-17", "1999-12-21", "1999-12-27", "2000-01-01", "2000-01-04", "2000-01-07", "2000-01-11", "2000-01-15", "2000-01-21", "2000-01-28", "2000-02-08", "2000-02-13", "2000-02-21", "2000-02-25", "2000-02-27", "2000-03-02", "2000-03-07", "2000-03-10", "2000-03-12", "2000-03-14", "2000-03-17", "2000-03-23", "2000-03-25", "2000-03-28", "2000-04-06", "2000-04-10", "2000-04-17", "2000-04-21", "2000-04-25", "2000-04-28", "2000-04-30", "2000-05-02", "2000-05-05", "2000-05-09", "2000-05-14", "2000-05-19", "2000-05-25", "2000-06-01", "2000-06-07", "2000-06-13", "2000-06-16", "2000-06-20", "2000-06-26", "2000-06-28", "2000-07-03", "2000-07-13", "2000-07-17", "2000-07-19", "2000-07-27", "2000-07-30", "2000-08-05", "2000-08-11", "2000-08-16", "2000-08-18", "2000-08-21", "2000-08-25", "2000-08-28", "2000-09-01", "2000-09-06", "2000-09-17", "2000-09-20", "2000-10-01", "2000-10-14", "2000-10-20", "2000-10-25", "2000-10-28", "2000-11-05", "2000-11-07", "2000-11-14", "2000-11-16", "2000-11-19", "2000-11-23", "2000-11-27", "2000-12-01", "2000-12-08", "2000-12-14", "2000-12-18", "2000-12-29", "2001-01-02", "2001-01-07", "2001-01-13", "2001-01-16", "2001-01-19", "2001-01-22", "2001-02-01", "2001-02-05", "2001-02-11", "2001-02-14", "2001-02-23", "2001-02-28", "2001-03-07", "2001-03-12", "2001-03-15", "2001-03-20", "2001-03-27", "2001-03-29", "2001-04-02", "2001-04-06", "2001-04-09", "2001-04-17", "2001-04-22", "2001-04-28", "2001-05-05", "2001-05-09", "2001-05-12", "2001-05-14", "2001-05-18", "2001-05-23", "2001-05-27", "2001-06-03", "2001-06-07", "2001-06-12", "2001-06-15", "2001-06-19", "2001-06-22", "2001-06-24", "2001-06-28", "2001-07-01", "2001-07-05", "2001-07-14", "2001-07-23", "2001-08-02", "2001-08-09", "2001-08-11", "2001-08-16", "2001-08-22", "2001-08-30", "2001-09-08", "2001-09-11", "2001-09-16", "2001-09-23", "2001-09-26", "2001-09-28", "2001-10-04", "2001-10-08", "2001-10-11", "2001-10-13", "2001-10-17", "2001-10-21", "2001-10-24", "2001-10-28", "2001-11-05", "2001-11-12", "2001-11-16", "2001-11-19", "2001-11-24", "2001-11-29", "2001-12-03", "2001-12-08", "2001-12-11", "2001-12-14", "2001-12-18", "2001-12-22", "2001-12-25", "2002-01-03", "2002-01-08", "2002-01-15", "2002-01-21", "2002-01-24", "2002-01-31", "2002-02-03", "2002-02-06", "2002-02-14", "2002-02-16", "2002-02-22", "2002-03-07", "2002-03-11", "2002-03-18", "2002-03-25", "2002-03-28", "2002-03-31", "2002-04-04", "2002-04-08", "2002-04-10", "2002-04-15", "2002-04-24", "2002-05-02", "2002-05-11", "2002-05-15", "2002-05-17", "2002-05-21", "2002-06-01", "2002-06-04", "2002-06-11", "2002-06-14", "2002-06-21", "2002-06-25", "2002-06-28", "2002-07-09", "2002-07-15", "2002-07-23", "2002-08-03", "2002-08-06", "2002-08-10", "2002-08-20", "2002-08-31", "2002-09-03", "2002-09-14", "2002-09-16", "2002-09-18", "2002-10-01", "2002-10-08", "2002-10-11", "2002-10-15", "2002-10-19", "2002-10-23", "2002-10-26", "2002-10-29", "2002-11-04", "2002-11-07", "2002-11-12", "2002-11-18", "2002-11-25", "2002-12-03", "2002-12-07", "2002-12-11", "2002-12-14", "2002-12-19", "2002-12-22", "2002-12-28", "2002-12-30", "2003-01-02", "2003-01-11", "2003-01-13", "2003-01-15", "2003-01-18", "2003-01-22", "2003-02-02", "2003-02-06", "2003-02-12", "2003-02-16", "2003-02-18", "2003-02-22", "2003-02-27", "2003-03-06", "2003-03-13", "2003-03-19", "2003-03-22", "2003-03-24", "2003-03-26", "2003-03-28", "2003-04-01", "2003-04-07", "2003-04-09", "2003-04-18", "2003-04-23", "2003-04-25", "2003-04-28", "2003-05-08", "2003-05-14", "2003-05-18", "2003-05-21", "2003-05-26", "2003-06-01", "2003-06-04", "2003-06-09", "2003-06-15", "2003-06-19", "2003-06-25", "2003-06-27", "2003-07-02", "2003-07-07", "2003-07-12", "2003-07-21", "2003-07-27", "2003-07-29", "2003-08-05", "2003-08-09", "2003-08-13", "2003-08-16", "2003-08-21", "2003-08-24", "2003-09-02", "2003-09-09", "2003-09-16", "2003-09-22", "2003-09-29", "2003-10-03", "2003-10-06", "2003-10-11", "2003-10-14", "2003-10-17", "2003-10-20", "2003-10-22", "2003-10-24", "2003-10-30", "2003-11-04", "2003-11-07", "2003-11-10", "2003-11-18", "2003-11-21", "2003-11-26", "2003-11-30", "2003-12-05", "2003-12-07", "2003-12-17", "2003-12-20", "2003-12-25", "2003-12-28", "2004-01-04", "2004-01-07", "2004-01-11", "2004-01-16", "2004-01-19", "2004-01-22", "2004-01-27", "2004-02-05", "2004-02-09", "2004-02-18", "2004-02-24", "2004-02-28", "2004-03-03", "2004-03-10", "2004-03-12", "2004-03-15", "2004-03-24", "2004-03-26", "2004-03-30", "2004-04-02", "2004-04-07", "2004-04-09", "2004-04-11", "2004-04-18", "2004-04-21", "2004-04-30", "2004-05-06", "2004-05-13", "2004-05-26", "2004-06-02", "2004-06-09", "2004-06-13", "2004-06-23", "2004-06-29", "2004-07-08", "2004-07-13", "2004-07-26", "2004-08-04", "2004-08-07", "2004-08-13", "2004-08-17", "2004-08-20", "2004-08-25", "2004-09-09", "2004-09-14", "2004-09-16", "2004-09-21", "2004-09-28", "2004-09-30", "2004-10-02", "2004-10-10", "2004-10-13", "2004-10-18", "2004-10-21", "2004-10-24", "2004-10-29", "2004-11-01", "2004-11-03", "2004-11-14", "2004-11-18", "2004-11-22", "2004-11-25", "2004-12-04", "2004-12-06", "2004-12-11", "2004-12-15", "2004-12-17", "2004-12-24", "2004-12-28", "2004-12-31", "2005-01-08", "2005-01-15", "2005-01-21", "2005-01-25", "2005-01-28", "2005-01-30", "2005-02-01", "2005-02-04", "2005-02-08", "2005-02-12", "2005-02-15", "2005-02-22", "2005-02-25", "2005-03-01", "2005-03-06", "2005-03-16", "2005-03-18", "2005-03-21", "2005-03-23", "2005-03-28", "2005-03-30", "2005-04-05", "2005-04-10", "2005-04-17", "2005-05-03", "2005-05-05", "2005-05-10", "2005-05-13", "2005-05-19", "2005-05-24", "2005-05-27", "2005-05-31", "2005-06-05", "2005-06-11", "2005-06-15", "2005-06-23", "2005-06-29", "2005-07-08", "2005-07-16", "2005-07-24", "2005-07-26", "2005-07-29", "2005-08-03", "2005-08-09", "2005-08-14", "2005-08-16", "2005-08-21", "2005-08-26", "2005-09-05", "2005-09-13", "2005-09-18", "2005-09-24", "2005-09-27", "2005-09-29", "2005-10-03", "2005-10-07", "2005-10-10", "2005-10-13", "2005-10-17", "2005-10-26", "2005-10-28", "2005-10-31", "2005-11-03", "2005-11-06", "2005-11-11", "2005-11-15", "2005-11-23", "2005-11-27", "2005-11-30", "2005-12-03", "2005-12-12", "2005-12-19", "2005-12-24", "2005-12-30"), class = "factor"), Freq = as.integer(c(1, 1, 3, 2, 1, 5, 4, 1, 1, 4, 2, 1, 1, 1, 7, 1, 1, 2, 2, 2, 4, 2, 2, 1, 5, 4, 1, 8, 5, 4, 4, 2, 1, 2, 2, 2, 3, 3, 2, 5, 1, 3, 1, 2, 6, 3, 3, 1, 2, 2, 3, 1, 2, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 1, 1, 1, 3, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 4, 3, 5, 1, 1, 2, 1, 4, 2, 7, 3, 3, 1, 1, 1, 2, 3, 1, 1, 3, 1, 2, 5, 2, 1, 1, 4, 1, 5, 3, 2, 1, 3, 5, 3, 2, 1, 1, 1, 3, 1, 1, 1, 6, 2, 1, 1, 3, 1, 3, 2, 1, 1, 2, 2, 1, 9, 3, 6, 6, 3, 1, 1, 2, 7, 2, 1, 1, 2, 2, 4, 3, 3, 1, 9, 3, 6, 2, 1, 4, 2, 1, 4, 6, 2, 4, 2, 3, 3, 2, 8, 2, 3, 3, 1, 6, 1, 1, 2, 2, 2, 5, 4, 1, 4, 1, 1, 1, 1, 1, 1, 2, 1, 4, 3, 2, 1, 1, 1, 1, 2, 1, 1, 1, 3, 2, 3, 1, 5, 2, 6, 2, 10, 1, 6, 2, 3, 3, 1, 4, 1, 6, 1, 2, 2, 1, 1, 1, 2, 3, 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3, 1, 1, 2, 6, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 7, 6, 1, 2, 1))), .Names = c("Var1", "Freq"), row.names = as.integer(c(NA, 1274)), class = "data.frame")
On Wed, 2006-11-22 at 20:27 +0100, antonio rodriguez wrote:> Hi, > > Having a dataframe 'l1' (dput output is below): > > >dim(l1) > 1274 2 > > >l1[1:12,] > > Var1 Freq > 1 1988-01-13 1 > 2 1988-01-16 1 > 3 1988-01-20 3 > 4 1988-01-25 2 > 5 1988-01-30 1 > 6 1988-02-01 5 > 7 1988-02-08 4 > 8 1988-02-14 1 > 9 1988-02-16 1 > 10 1988-02-18 4 > 11 1988-02-24 2 > 12 1988-03-04 1 > > > I want to extract the times "1988-01", "1988-02",...,"2005-12" are > present, in order to know, for example, that 1988-01 = 5 days 1988-02 > = 6 days and so on. The Freq column doesn't matter in this case, just > the Var1 column > > I've been trying with: > > regexpr("2005-03-",l1$Var1) > > But the result is not satisfactory since I need to find and count where > these values are. > > Thanks > > AntonioUsing just the example data:> table(substr(DF$Var1, 1, 7))1988-01 1988-02 1988-03 5 6 1 See ?substr for more information. HTH, Marc Schwartz
If x is the object at the end of your post: library(zoo) z <- zoo(x$Freq, as.Date(x$Var1)) aggregate(z, as.yearmon, length) If out contains the result of aggregate then coredata(out) are the counts and time(out) are the corresponding year-months. See ?yearmon On 11/22/06, antonio rodriguez <antonio.raju at gmail.com> wrote:> Hi, > > Having a dataframe 'l1' (dput output is below): > > >dim(l1) > 1274 2 > > >l1[1:12,] > > Var1 Freq > 1 1988-01-13 1 > 2 1988-01-16 1 > 3 1988-01-20 3 > 4 1988-01-25 2 > 5 1988-01-30 1 > 6 1988-02-01 5 > 7 1988-02-08 4 > 8 1988-02-14 1 > 9 1988-02-16 1 > 10 1988-02-18 4 > 11 1988-02-24 2 > 12 1988-03-04 1 > > > I want to extract the times "1988-01", "1988-02",...,"2005-12" are > present, in order to know, for example, that 1988-01 = 5 days 1988-02 > = 6 days and so on. The Freq column doesn't matter in this case, just > the Var1 column > > I've been trying with: > > regexpr("2005-03-",l1$Var1) > > But the result is not satisfactory since I need to find and count where > these values are. > > Thanks > > Antonio > > > dput(l1,control="all") > > structure(list(Var1 = structure(as.integer(c(1, 2, 3, 4, 5, 6, > 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, > 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, > 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, > 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, > 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, > 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, > 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, > 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, > 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, > 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, > 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, > 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, > 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, > 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, > 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, > 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, > 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, > 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, > 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, > 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, > 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, > 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, > 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, > 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, > 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, > 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, > 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, > 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, > 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, > 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, > 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, > 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, > 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, > 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, > 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, > 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, > 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, > 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, > 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, > 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, > 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, > 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, > 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, > 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, > 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, > 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, > 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, > 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, > 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, > 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, > 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, > 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, > 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, > 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, > 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, > 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, > 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, > 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, > 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, > 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, > 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, > 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, > 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, > 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, > 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, > 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, > 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, > 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, > 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, > 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, > 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, > 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, > 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, > 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, > 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, > 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, > 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, > 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, > 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, > 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, > 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, > 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, > 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, > 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, > 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, > 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, > 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, > 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, > 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, > 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, > 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, > 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, > 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, > 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, > 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, > 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, > 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, > 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, > 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, > 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, > 1274)), .Label = c("1988-01-13", "1988-01-16", "1988-01-20", > "1988-01-25", "1988-01-30", "1988-02-01", "1988-02-08", "1988-02-14", > "1988-02-16", "1988-02-18", "1988-02-24", "1988-03-04", "1988-03-07", > "1988-03-14", "1988-03-21", "1988-03-29", "1988-04-06", "1988-04-08", > "1988-04-11", "1988-04-14", "1988-04-21", "1988-04-28", "1988-05-01", > "1988-05-13", "1988-05-16", "1988-05-25", "1988-05-30", "1988-06-06", > "1988-06-16", "1988-06-26", "1988-07-02", "1988-07-07", "1988-07-10", > "1988-07-12", "1988-07-15", "1988-07-18", "1988-07-31", "1988-08-05", > "1988-08-10", "1988-08-14", "1988-08-25", "1988-09-01", "1988-09-05", > "1988-09-09", "1988-09-12", "1988-09-19", "1988-09-24", "1988-09-29", > "1988-10-02", "1988-10-06", "1988-10-11", "1988-10-15", "1988-10-17", > "1988-10-25", "1988-10-29", "1988-10-31", "1988-11-09", "1988-11-11", > "1988-11-17", "1988-11-20", "1988-11-24", "1988-11-28", "1988-12-01", > "1988-12-04", "1988-12-06", "1988-12-09", "1988-12-17", "1988-12-21", > "1989-01-13", "1989-01-17", "1989-01-19", "1989-01-22", "1989-01-29", > "1989-01-31", "1989-02-04", "1989-02-09", "1989-02-28", "1989-03-07", > "1989-03-15", "1989-03-22", "1989-03-30", "1989-04-05", "1989-04-11", > "1989-04-18", "1989-04-20", "1989-04-22", "1989-04-28", "1989-05-01", > "1989-05-12", "1989-05-15", "1989-05-24", "1989-05-30", "1989-06-03", > "1989-06-06", "1989-06-09", "1989-06-11", "1989-06-21", "1989-06-26", > "1989-06-30", "1989-07-02", "1989-07-06", "1989-07-11", "1989-07-14", > "1989-07-21", "1989-07-26", "1989-07-31", "1989-08-02", "1989-08-09", > "1989-08-12", "1989-08-21", "1989-08-29", "1989-09-04", "1989-09-06", > "1989-09-10", "1989-09-19", "1989-09-23", "1989-09-26", "1989-09-30", > "1989-10-08", "1989-10-13", "1989-10-22", "1989-10-28", "1989-11-02", > "1989-11-06", "1989-11-14", "1989-11-17", "1989-11-24", "1989-11-27", > "1989-12-09", "1989-12-11", "1989-12-19", "1989-12-29", "1990-01-02", > "1990-01-04", "1990-01-07", "1990-01-10", "1990-01-13", "1990-01-30", > "1990-02-11", "1990-02-21", "1990-02-28", "1990-03-09", "1990-03-12", > "1990-03-15", "1990-03-19", "1990-03-28", "1990-04-02", "1990-04-06", > "1990-04-11", "1990-04-25", "1990-04-29", "1990-05-04", "1990-05-10", > "1990-05-16", "1990-05-19", "1990-05-29", "1990-06-02", "1990-06-09", > "1990-06-13", "1990-06-16", "1990-06-21", "1990-06-25", "1990-06-27", > "1990-07-07", "1990-07-15", "1990-07-21", "1990-07-28", "1990-08-01", > "1990-08-06", "1990-08-10", "1990-08-14", "1990-08-28", "1990-09-06", > "1990-09-27", "1990-10-02", "1990-10-04", "1990-10-12", "1990-10-17", > "1990-10-20", "1990-10-23", "1990-10-31", "1990-11-12", "1990-11-18", > "1990-11-23", "1990-11-27", "1990-12-04", "1990-12-07", "1990-12-13", > "1990-12-16", "1990-12-18", "1990-12-27", "1991-01-09", "1991-01-12", > "1991-01-14", "1991-01-19", "1991-01-24", "1991-02-04", "1991-02-07", > "1991-02-10", "1991-02-12", "1991-02-14", "1991-02-20", "1991-02-25", > "1991-02-27", "1991-03-02", "1991-03-09", "1991-03-15", "1991-03-26", > "1991-03-28", "1991-04-04", "1991-04-07", "1991-04-17", "1991-04-21", > "1991-05-04", "1991-05-11", "1991-05-18", "1991-05-21", "1991-05-25", > "1991-05-31", "1991-06-02", "1991-06-08", "1991-06-20", "1991-07-04", > "1991-07-07", "1991-07-10", "1991-07-13", "1991-07-23", "1991-07-26", > "1991-07-29", "1991-08-01", "1991-08-07", "1991-08-10", "1991-08-15", > "1991-08-21", "1991-08-31", "1991-09-03", "1991-09-15", "1991-09-19", > "1991-09-25", "1991-10-02", "1991-10-06", "1991-10-10", "1991-10-13", > "1991-10-17", "1991-10-19", "1991-10-23", "1991-11-04", "1991-11-11", > "1991-11-22", "1991-11-24", "1991-11-28", "1991-12-02", "1991-12-08", > "1991-12-11", "1991-12-17", "1991-12-21", "1991-12-26", "1991-12-30", > "1992-01-05", "1992-01-07", "1992-01-09", "1992-01-12", "1992-01-15", > "1992-01-20", "1992-01-25", "1992-02-02", "1992-02-12", "1992-02-16", > "1992-02-24", "1992-02-28", "1992-03-01", "1992-03-03", "1992-03-10", > "1992-03-21", "1992-03-29", "1992-04-01", "1992-04-10", "1992-04-18", > "1992-04-26", "1992-04-30", "1992-05-04", "1992-05-12", "1992-05-16", > "1992-05-24", "1992-05-26", "1992-05-29", "1992-06-08", "1992-06-14", > "1992-06-19", "1992-06-25", "1992-07-01", "1992-07-07", "1992-07-09", > "1992-07-13", "1992-07-18", "1992-07-20", "1992-07-26", "1992-07-29", > "1992-08-01", "1992-08-04", "1992-08-07", "1992-08-09", "1992-08-13", > "1992-08-23", "1992-08-28", "1992-08-31", "1992-09-08", "1992-09-14", > "1992-09-19", "1992-09-21", "1992-09-25", "1992-10-01", "1992-10-08", > "1992-10-10", "1992-10-15", "1992-10-27", "1992-11-01", "1992-11-15", > "1992-11-18", "1992-11-20", "1992-12-04", "1992-12-07", "1992-12-13", > "1992-12-18", "1992-12-22", "1992-12-26", "1992-12-28", "1993-01-02", > "1993-01-05", "1993-01-11", "1993-01-19", "1993-01-21", "1993-01-30", > "1993-02-02", "1993-02-09", "1993-02-13", "1993-02-19", "1993-03-02", > "1993-03-06", "1993-03-10", "1993-03-14", "1993-03-18", "1993-03-21", > "1993-03-23", "1993-03-29", "1993-04-03", "1993-04-06", "1993-04-10", > "1993-04-17", "1993-04-21", "1993-04-23", "1993-04-27", "1993-04-29", > "1993-05-05", "1993-05-07", "1993-05-10", "1993-05-12", "1993-05-17", > "1993-05-23", "1993-05-27", "1993-05-31", "1993-06-15", "1993-06-18", > "1993-06-21", "1993-06-25", "1993-06-28", "1993-07-03", "1993-07-06", > "1993-07-09", "1993-07-12", "1993-07-22", "1993-07-26", "1993-08-01", > "1993-08-03", "1993-08-07", "1993-08-09", "1993-08-12", "1993-08-24", > "1993-08-31", "1993-09-03", "1993-09-08", "1993-09-17", "1993-09-20", > "1993-09-24", "1993-09-28", "1993-10-01", "1993-10-05", "1993-10-08", > "1993-10-14", "1993-10-17", "1993-10-23", "1993-11-02", "1993-11-04", > "1993-11-13", "1993-11-15", "1993-11-18", "1993-11-21", "1993-11-24", > "1993-11-30", "1993-12-03", "1993-12-06", "1993-12-08", "1993-12-12", > "1993-12-15", "1993-12-19", "1993-12-24", "1994-01-03", "1994-01-08", > "1994-01-11", "1994-01-15", "1994-01-23", "1994-01-27", "1994-01-30", > "1994-02-06", "1994-02-13", "1994-02-16", "1994-02-21", "1994-02-25", > "1994-03-03", "1994-03-08", "1994-03-14", "1994-03-19", "1994-03-25", > "1994-03-27", "1994-04-01", "1994-04-13", "1994-04-17", "1994-04-23", > "1994-05-09", "1994-05-18", "1994-05-26", "1994-06-01", "1994-06-09", > "1994-06-11", "1994-06-17", "1994-06-19", "1994-06-27", "1994-07-02", > "1994-07-10", "1994-07-17", "1994-07-25", "1994-07-29", "1994-08-02", > "1994-08-04", "1994-08-11", "1994-08-15", "1994-08-18", "1994-08-23", > "1994-08-26", "1994-08-30", "1994-09-02", "1994-09-05", "1994-09-14", > "1994-09-19", "1994-09-23", "1994-09-27", "1994-10-08", "1994-10-10", > "1994-10-17", "1994-10-27", "1994-10-30", "1994-11-05", "1994-11-13", > "1994-11-23", "1994-11-28", "1994-12-07", "1994-12-10", "1994-12-21", > "1994-12-29", "1995-01-02", "1995-01-11", "1995-01-14", "1995-01-17", > "1995-01-20", "1995-01-26", "1995-01-30", "1995-02-03", "1995-02-08", > "1995-02-14", "1995-02-19", "1995-02-23", "1995-02-25", "1995-03-04", > "1995-03-08", "1995-03-11", "1995-03-14", "1995-03-18", "1995-03-22", > "1995-03-24", "1995-03-28", "1995-04-04", "1995-04-08", "1995-04-10", > "1995-04-16", "1995-04-24", "1995-04-26", "1995-04-28", "1995-04-30", > "1995-05-09", "1995-05-18", "1995-05-21", "1995-05-28", "1995-06-01", > "1995-06-04", "1995-06-09", "1995-06-14", "1995-06-20", "1995-06-24", > "1995-06-26", "1995-07-03", "1995-07-10", "1995-07-14", "1995-07-20", > "1995-07-25", "1995-07-27", "1995-08-03", "1995-08-09", "1995-08-17", > "1995-08-21", "1995-08-25", "1995-09-01", "1995-09-05", "1995-09-10", > "1995-09-17", "1995-09-26", "1995-10-01", "1995-10-05", "1995-10-10", > "1995-10-17", "1995-10-20", "1995-10-24", "1995-11-02", "1995-11-05", > "1995-11-09", "1995-11-13", "1995-11-17", "1995-11-21", "1995-11-27", > "1995-11-30", "1995-12-02", "1995-12-09", "1995-12-13", "1995-12-16", > "1995-12-28", "1996-01-03", "1996-01-13", "1996-01-15", "1996-01-18", > "1996-01-26", "1996-02-02", "1996-02-07", "1996-02-12", "1996-02-18", > "1996-02-22", "1996-02-28", "1996-03-04", "1996-03-07", "1996-03-12", > "1996-03-16", "1996-03-18", "1996-03-25", "1996-03-30", "1996-04-02", > "1996-04-04", "1996-04-06", "1996-04-13", "1996-04-15", "1996-04-18", > "1996-04-22", "1996-04-24", "1996-04-27", "1996-04-29", "1996-05-04", > "1996-05-09", "1996-05-12", "1996-05-19", "1996-05-23", "1996-05-29", > "1996-06-04", "1996-06-08", "1996-06-11", "1996-06-17", "1996-06-25", > "1996-06-30", "1996-07-03", "1996-07-12", "1996-07-15", "1996-07-21", > "1996-07-23", "1996-07-28", "1996-07-31", "1996-08-03", "1996-08-08", > "1996-08-20", "1996-08-31", "1996-09-02", "1996-09-04", "1996-09-06", > "1996-09-11", "1996-09-16", "1996-09-24", "1996-09-26", "1996-09-30", > "1996-10-03", "1996-10-07", "1996-10-10", "1996-10-16", "1996-10-19", > "1996-10-25", "1996-10-29", "1996-11-02", "1996-11-09", "1996-11-14", > "1996-11-19", "1996-11-23", "1996-11-25", "1996-11-29", "1996-12-02", > "1996-12-09", "1996-12-15", "1996-12-25", "1997-01-06", "1997-01-10", > "1997-01-16", "1997-01-20", "1997-01-22", "1997-01-27", "1997-02-01", > "1997-02-04", "1997-02-10", "1997-02-17", "1997-02-26", "1997-03-04", > "1997-03-09", "1997-03-13", "1997-03-15", "1997-03-22", "1997-03-29", > "1997-04-04", "1997-04-12", "1997-04-17", "1997-04-25", "1997-04-29", > "1997-05-02", "1997-05-04", "1997-05-08", "1997-05-12", "1997-05-15", > "1997-05-18", "1997-05-21", "1997-05-27", "1997-05-31", "1997-06-04", > "1997-06-06", "1997-06-10", "1997-06-18", "1997-06-21", "1997-06-26", > "1997-07-02", "1997-07-06", "1997-07-11", "1997-07-15", "1997-07-17", > "1997-07-22", "1997-07-30", "1997-08-04", "1997-08-07", "1997-08-10", > "1997-08-12", "1997-08-17", "1997-08-27", "1997-09-03", "1997-09-07", > "1997-09-13", "1997-09-15", "1997-09-29", "1997-10-02", "1997-10-07", > "1997-10-10", "1997-10-15", "1997-10-21", "1997-10-24", "1997-11-09", > "1997-11-13", "1997-11-17", "1997-11-19", "1997-11-22", "1997-11-27", > "1997-11-30", "1997-12-03", "1997-12-08", "1997-12-12", "1997-12-15", > "1997-12-20", "1997-12-26", "1997-12-28", "1998-01-01", "1998-01-08", > "1998-01-17", "1998-01-25", "1998-01-28", "1998-02-06", "1998-02-09", > "1998-02-19", "1998-02-26", "1998-03-03", "1998-03-14", "1998-03-23", > "1998-03-30", "1998-04-03", "1998-04-07", "1998-04-14", "1998-04-16", > "1998-04-21", "1998-04-27", "1998-05-06", "1998-05-12", "1998-05-14", > "1998-05-26", "1998-05-28", "1998-05-31", "1998-06-06", "1998-06-17", > "1998-06-21", "1998-06-27", "1998-07-16", "1998-07-21", "1998-07-29", > "1998-08-04", "1998-08-12", "1998-08-18", "1998-08-21", "1998-08-25", > "1998-08-27", "1998-09-05", "1998-09-08", "1998-09-12", "1998-09-16", > "1998-09-25", "1998-09-27", "1998-10-03", "1998-10-10", "1998-10-18", > "1998-10-20", "1998-10-26", "1998-11-04", "1998-11-10", "1998-11-17", > "1998-11-23", "1998-11-27", "1998-12-01", "1998-12-03", "1998-12-07", > "1998-12-12", "1998-12-18", "1998-12-23", "1998-12-28", "1999-01-05", > "1999-01-09", "1999-01-13", "1999-01-15", "1999-01-18", "1999-01-20", > "1999-01-27", "1999-02-01", "1999-02-04", "1999-02-07", "1999-02-09", > "1999-02-11", "1999-02-15", "1999-02-20", "1999-03-02", "1999-03-05", > "1999-03-09", "1999-03-15", "1999-03-22", "1999-03-28", "1999-03-31", > "1999-04-03", "1999-04-05", "1999-04-08", "1999-04-11", "1999-04-19", > "1999-04-21", "1999-04-23", "1999-04-25", "1999-04-28", "1999-05-01", > "1999-05-11", "1999-05-18", "1999-05-22", "1999-05-29", "1999-06-01", > "1999-06-06", "1999-06-11", "1999-06-19", "1999-06-22", "1999-06-27", > "1999-07-01", "1999-07-07", "1999-07-09", "1999-07-15", "1999-07-19", > "1999-07-23", "1999-07-26", "1999-08-02", "1999-08-07", "1999-08-09", > "1999-08-14", "1999-08-23", "1999-08-27", "1999-09-05", "1999-09-16", > "1999-09-20", "1999-09-22", "1999-09-24", "1999-09-30", "1999-10-04", > "1999-10-10", "1999-10-14", "1999-10-16", "1999-10-18", "1999-10-25", > "1999-11-03", "1999-11-05", "1999-11-08", "1999-11-18", "1999-11-22", > "1999-12-03", "1999-12-06", "1999-12-12", "1999-12-17", "1999-12-21", > "1999-12-27", "2000-01-01", "2000-01-04", "2000-01-07", "2000-01-11", > "2000-01-15", "2000-01-21", "2000-01-28", "2000-02-08", "2000-02-13", > "2000-02-21", "2000-02-25", "2000-02-27", "2000-03-02", "2000-03-07", > "2000-03-10", "2000-03-12", "2000-03-14", "2000-03-17", "2000-03-23", > "2000-03-25", "2000-03-28", "2000-04-06", "2000-04-10", "2000-04-17", > "2000-04-21", "2000-04-25", "2000-04-28", "2000-04-30", "2000-05-02", > "2000-05-05", "2000-05-09", "2000-05-14", "2000-05-19", "2000-05-25", > "2000-06-01", "2000-06-07", "2000-06-13", "2000-06-16", "2000-06-20", > "2000-06-26", "2000-06-28", "2000-07-03", "2000-07-13", "2000-07-17", > "2000-07-19", "2000-07-27", "2000-07-30", "2000-08-05", "2000-08-11", > "2000-08-16", "2000-08-18", "2000-08-21", "2000-08-25", "2000-08-28", > "2000-09-01", "2000-09-06", "2000-09-17", "2000-09-20", "2000-10-01", > "2000-10-14", "2000-10-20", "2000-10-25", "2000-10-28", "2000-11-05", > "2000-11-07", "2000-11-14", "2000-11-16", "2000-11-19", "2000-11-23", > "2000-11-27", "2000-12-01", "2000-12-08", "2000-12-14", "2000-12-18", > "2000-12-29", "2001-01-02", "2001-01-07", "2001-01-13", "2001-01-16", > "2001-01-19", "2001-01-22", "2001-02-01", "2001-02-05", "2001-02-11", > "2001-02-14", "2001-02-23", "2001-02-28", "2001-03-07", "2001-03-12", > "2001-03-15", "2001-03-20", "2001-03-27", "2001-03-29", "2001-04-02", > "2001-04-06", "2001-04-09", "2001-04-17", "2001-04-22", "2001-04-28", > "2001-05-05", "2001-05-09", "2001-05-12", "2001-05-14", "2001-05-18", > "2001-05-23", "2001-05-27", "2001-06-03", "2001-06-07", "2001-06-12", > "2001-06-15", "2001-06-19", "2001-06-22", "2001-06-24", "2001-06-28", > "2001-07-01", "2001-07-05", "2001-07-14", "2001-07-23", "2001-08-02", > "2001-08-09", "2001-08-11", "2001-08-16", "2001-08-22", "2001-08-30", > "2001-09-08", "2001-09-11", "2001-09-16", "2001-09-23", "2001-09-26", > "2001-09-28", "2001-10-04", "2001-10-08", "2001-10-11", "2001-10-13", > "2001-10-17", "2001-10-21", "2001-10-24", "2001-10-28", "2001-11-05", > "2001-11-12", "2001-11-16", "2001-11-19", "2001-11-24", "2001-11-29", > "2001-12-03", "2001-12-08", "2001-12-11", "2001-12-14", "2001-12-18", > "2001-12-22", "2001-12-25", "2002-01-03", "2002-01-08", "2002-01-15", > "2002-01-21", "2002-01-24", "2002-01-31", "2002-02-03", "2002-02-06", > "2002-02-14", "2002-02-16", "2002-02-22", "2002-03-07", "2002-03-11", > "2002-03-18", "2002-03-25", "2002-03-28", "2002-03-31", "2002-04-04", > "2002-04-08", "2002-04-10", "2002-04-15", "2002-04-24", "2002-05-02", > "2002-05-11", "2002-05-15", "2002-05-17", "2002-05-21", "2002-06-01", > "2002-06-04", "2002-06-11", "2002-06-14", "2002-06-21", "2002-06-25", > "2002-06-28", "2002-07-09", "2002-07-15", "2002-07-23", "2002-08-03", > "2002-08-06", "2002-08-10", "2002-08-20", "2002-08-31", "2002-09-03", > "2002-09-14", "2002-09-16", "2002-09-18", "2002-10-01", "2002-10-08", > "2002-10-11", "2002-10-15", "2002-10-19", "2002-10-23", "2002-10-26", > "2002-10-29", "2002-11-04", "2002-11-07", "2002-11-12", "2002-11-18", > "2002-11-25", "2002-12-03", "2002-12-07", "2002-12-11", "2002-12-14", > "2002-12-19", "2002-12-22", "2002-12-28", "2002-12-30", "2003-01-02", > "2003-01-11", "2003-01-13", "2003-01-15", "2003-01-18", "2003-01-22", > "2003-02-02", "2003-02-06", "2003-02-12", "2003-02-16", "2003-02-18", > "2003-02-22", "2003-02-27", "2003-03-06", "2003-03-13", "2003-03-19", > "2003-03-22", "2003-03-24", "2003-03-26", "2003-03-28", "2003-04-01", > "2003-04-07", "2003-04-09", "2003-04-18", "2003-04-23", "2003-04-25", > "2003-04-28", "2003-05-08", "2003-05-14", "2003-05-18", "2003-05-21", > "2003-05-26", "2003-06-01", "2003-06-04", "2003-06-09", "2003-06-15", > "2003-06-19", "2003-06-25", "2003-06-27", "2003-07-02", "2003-07-07", > "2003-07-12", "2003-07-21", "2003-07-27", "2003-07-29", "2003-08-05", > "2003-08-09", "2003-08-13", "2003-08-16", "2003-08-21", "2003-08-24", > "2003-09-02", "2003-09-09", "2003-09-16", "2003-09-22", "2003-09-29", > "2003-10-03", "2003-10-06", "2003-10-11", "2003-10-14", "2003-10-17", > "2003-10-20", "2003-10-22", "2003-10-24", "2003-10-30", "2003-11-04", > "2003-11-07", "2003-11-10", "2003-11-18", "2003-11-21", "2003-11-26", > "2003-11-30", "2003-12-05", "2003-12-07", "2003-12-17", "2003-12-20", > "2003-12-25", "2003-12-28", "2004-01-04", "2004-01-07", "2004-01-11", > "2004-01-16", "2004-01-19", "2004-01-22", "2004-01-27", "2004-02-05", > "2004-02-09", "2004-02-18", "2004-02-24", "2004-02-28", "2004-03-03", > "2004-03-10", "2004-03-12", "2004-03-15", "2004-03-24", "2004-03-26", > "2004-03-30", "2004-04-02", "2004-04-07", "2004-04-09", "2004-04-11", > "2004-04-18", "2004-04-21", "2004-04-30", "2004-05-06", "2004-05-13", > "2004-05-26", "2004-06-02", "2004-06-09", "2004-06-13", "2004-06-23", > "2004-06-29", "2004-07-08", "2004-07-13", "2004-07-26", "2004-08-04", > "2004-08-07", "2004-08-13", "2004-08-17", "2004-08-20", "2004-08-25", > "2004-09-09", "2004-09-14", "2004-09-16", "2004-09-21", "2004-09-28", > "2004-09-30", "2004-10-02", "2004-10-10", "2004-10-13", "2004-10-18", > "2004-10-21", "2004-10-24", "2004-10-29", "2004-11-01", "2004-11-03", > "2004-11-14", "2004-11-18", "2004-11-22", "2004-11-25", "2004-12-04", > "2004-12-06", "2004-12-11", "2004-12-15", "2004-12-17", "2004-12-24", > "2004-12-28", "2004-12-31", "2005-01-08", "2005-01-15", "2005-01-21", > "2005-01-25", "2005-01-28", "2005-01-30", "2005-02-01", "2005-02-04", > "2005-02-08", "2005-02-12", "2005-02-15", "2005-02-22", "2005-02-25", > "2005-03-01", "2005-03-06", "2005-03-16", "2005-03-18", "2005-03-21", > "2005-03-23", "2005-03-28", "2005-03-30", "2005-04-05", "2005-04-10", > "2005-04-17", "2005-05-03", "2005-05-05", "2005-05-10", "2005-05-13", > "2005-05-19", "2005-05-24", "2005-05-27", "2005-05-31", "2005-06-05", > "2005-06-11", "2005-06-15", "2005-06-23", "2005-06-29", "2005-07-08", > "2005-07-16", "2005-07-24", "2005-07-26", "2005-07-29", "2005-08-03", > "2005-08-09", "2005-08-14", "2005-08-16", "2005-08-21", "2005-08-26", > "2005-09-05", "2005-09-13", "2005-09-18", "2005-09-24", "2005-09-27", > "2005-09-29", "2005-10-03", "2005-10-07", "2005-10-10", "2005-10-13", > "2005-10-17", "2005-10-26", "2005-10-28", "2005-10-31", "2005-11-03", > "2005-11-06", "2005-11-11", "2005-11-15", "2005-11-23", "2005-11-27", > "2005-11-30", "2005-12-03", "2005-12-12", "2005-12-19", "2005-12-24", > "2005-12-30"), class = "factor"), Freq = as.integer(c(1, 1, 3, > 2, 1, 5, 4, 1, 1, 4, 2, 1, 1, 1, 7, 1, 1, 2, 2, 2, 4, 2, 2, 1, > 5, 4, 1, 8, 5, 4, 4, 2, 1, 2, 2, 2, 3, 3, 2, 5, 1, 3, 1, 2, 6, > 3, 3, 1, 2, 2, 3, 1, 2, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 1, 1, 1, > 3, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 4, 3, 5, 1, 1, 2, 1, > 4, 2, 7, 3, 3, 1, 1, 1, 2, 3, 1, 1, 3, 1, 2, 5, 2, 1, 1, 4, 1, > 5, 3, 2, 1, 3, 5, 3, 2, 1, 1, 1, 3, 1, 1, 1, 6, 2, 1, 1, 3, 1, > 3, 2, 1, 1, 2, 2, 1, 9, 3, 6, 6, 3, 1, 1, 2, 7, 2, 1, 1, 2, 2, > 4, 3, 3, 1, 9, 3, 6, 2, 1, 4, 2, 1, 4, 6, 2, 4, 2, 3, 3, 2, 8, > 2, 3, 3, 1, 6, 1, 1, 2, 2, 2, 5, 4, 1, 4, 1, 1, 1, 1, 1, 1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1, 6, 1, 4, 1, 2, 1, 1, 1, 2, 2, 2, 6, 1, 2, 1, > 5, 1, 1, 1, 1, 1, 5, 2, 5, 13, 1, 1, 2, 3, 1, 2, 1, 3, 2, 3, > 7, 4, 1, 1, 7, 1, 2, 1, 3, 4, 1, 3, 3, 8, 7, 3, 5, 2, 1, 3, 3, > 1, 1, 2, 6, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 7, 6, 1, 2, 1))), .Names > c("Var1", > "Freq"), row.names = as.integer(c(NA, 1274)), class = "data.frame") > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Marc Schwartz escribi?:> Using just the example data: > > >> table(substr(DF$Var1, 1, 7)) >> > > 1988-01 1988-02 1988-03 > 5 6 1 >This is just what I wanted! Many thanks Marc! BR Antonio> See ?substr for more information. > > HTH, > > Marc Schwartz > > > >