Script started on Mon 25 Jan 2016 12:04:54 PM AST pawan@dev:~/public_html/4477/notes/week04$ echo ""m""s"e"l"e"c"t" "*" "f"r"o"m" "d"a"t"a"b"a"""s"e"t"0"1"""""""""s"""s""c"u"s"t"""""s"_"m"a"c"b"u"r"n"i"e"."c"u"s"t"_""""""c"u"s"t"_"m"o"n"t"h"_"s"p"e"n"d"_"v"i"s"i"t" \ > | ysmysql -u s_macburnie -p > cust_cust_month_spend_visit.csv Enter password: pawan@dev:~/public_html/4477/notes/week04$ ls cust_month_spend_visit.csv jan25-2.txt typescript pawan@dev:~/public_html/4477/notes/week04$ more less cust_month_spend_visit.csv [?1049h[?1h= customer_sk visits revenue month 20660110 34 2146.77983 March 20666033 52 2585.48941 March 20687544 17 1340.61972 March 20688412 54 2433.82960 March 20691957 30 1451.84973 March 20693643 39 3291.67957 March 20697030 23 2153.50957 February 20698259 34 2480.31958 March 20718561 37 2428.66969 April 20732494 31 1864.92978 March 20739146 34 3480.26925 March 20745662 47 1439.63963 April 20755175 34 1931.01992 March 20759298 50 2576.73964 January 20771796 35 2276.27961 March 20783969 15 1895.84979 March 20784435 11 1422.36972 February 20784444 14 2012.92970 April 20784457 22 1655.85972 March 20784526 25 1492.05980 April 20784710 21 2082.02967 March 20788623 41 2196.19965 January 20789485 20 1992.07928 March 20789487 38 1453.38979 April 20794099 60 1579.12983 March 20798338 27 1395.33983 April 20799844 29 2002.63991 March 20802419 48 2068.28981 March 20808033 35 1453.39965 March 20811625 16 1716.65971 January 20821005 23 1621.83992 March 20821419 57 1485.23003 March 20842848 19 1790.15975 March cust_month_spend_visit.csv 20846015 15 2124.12972 March : 20847879 11 1460.26978 April : 20848665 28 3614.82917 March : 20872162 27 1530.87961 February : 20887638 25 1678.20970 March : 20900176 32 1742.63965 March : 20921783 15 1765.00977 March : 20943825 49 3232.97987 March : 20947933 30 1932.35975 March : 20949611 38 1785.11962 March : 20968252 22 2056.60982 April : 20982798 47 1816.89984 January : 21015957 10 2327.13930 April : 21044154 44 1374.55985 March : 21046999 55 1341.47988 March : 21123217 38 3132.05921 March : 21123450 44 2459.53976 March : 21127061 47 1930.14972 March : 21151391 32 1703.67990 January : 21152997 16 1455.91976 March : 21153229 23 1385.56990 March : 21155028 26 2122.70964 March : 21155065 20 1339.30979 April : 21155117 53 4128.70953 March : 21155118 117 2304.19979 March : 21155434 13 1362.17970 April : 21156649 17 1406.38990 March : 21156904 40 1493.00996 March : 21157851 16 1556.64968 March : 21158986 62 1455.90979 March : 21159049 51 4262.59923 March : 21161644 31 1942.81971 March : 21164677 39 1798.40961 January : 21167621 33 1867.49974 March : 21173320 56 2785.36975 March : 21173357 64 1506.98977 March : 21200702 35 1414.22972 March : 21232652 27 1941.71978 March : 21233363 32 1568.68989 March : 21270530 22 1865.79991 February : 21272846 11 2645.62964 March : 21273617 18 1941.63828 March : 21287812 21 1428.85978 March : 21325967 60 1494.01980 March : : [?1l>[?1049lpawan@dev:~/public_html/4477/notes/week04$ R R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > fdata = read.csv()")")c")u")s")t")_month_spend_visit.csv"),) )s)e)p)=)")")\")t"),) )h)e)a)d)e)r)=)t)r)u)e)))))T) > data customer_sk visits revenue month 1 20660110 34 2146.780 March 2 20666033 52 2585.489 March 3 20687544 17 1340.620 March 4 20688412 54 2433.830 March 5 20691957 30 1451.850 March 6 20693643 39 3291.680 March 7 20697030 23 2153.510 February 8 20698259 34 2480.320 March 9 20718561 37 2428.670 April 10 20732494 31 1864.930 March 11 20739146 34 3480.269 March 12 20745662 47 1439.640 April 13 20755175 34 1931.020 March 14 20759298 50 2576.740 January 15 20771796 35 2276.280 March 16 20783969 15 1895.850 March 17 20784435 11 1422.370 February 18 20784444 14 2012.930 April 19 20784457 22 1655.860 March 20 20784526 25 1492.060 April 21 20784710 21 2082.030 March 22 20788623 41 2196.200 January 23 20789485 20 1992.079 March 24 20789487 38 1453.390 April 25 20794099 60 1579.130 March 26 20798338 27 1395.340 April 27 20799844 29 2002.640 March 28 20802419 48 2068.290 March 29 20808033 35 1453.400 March 30 20811625 16 1716.660 January 31 20821005 23 1621.840 March 32 20821419 57 1485.230 March 33 20842848 19 1790.160 March 34 20846015 15 2124.130 March 35 20847879 11 1460.270 April 36 20848665 28 3614.829 March 37 20872162 27 1530.880 February 38 20887638 25 1678.210 March 39 20900176 32 1742.640 March 40 20921783 15 1765.010 March 41 20943825 49 3232.980 March 42 20947933 30 1932.360 March 43 20949611 38 1785.120 March 44 20968252 22 2056.610 April 45 20982798 47 1816.900 January 46 21015957 10 2327.139 April 47 21044154 44 1374.560 March 48 21046999 55 1341.480 March 49 21123217 38 3132.059 March 50 21123450 44 2459.540 March 51 21127061 47 1930.150 March 52 21151391 32 1703.680 January 53 21152997 16 1455.920 March 54 21153229 23 1385.570 March 55 21155028 26 2122.710 March 56 21155065 20 1339.310 April 57 21155117 53 4128.710 March 58 21155118 117 2304.200 March 59 21155434 13 1362.180 April 60 21156649 17 1406.390 March 61 21156904 40 1493.010 March 62 21157851 16 1556.650 March 63 21158986 62 1455.910 March 64 21159049 51 4262.599 March 65 21161644 31 1942.820 March 66 21164677 39 1798.410 January 67 21167621 33 1867.500 March 68 21173320 56 2785.370 March 69 21173357 64 1506.990 March 70 21200702 35 1414.230 March 71 21232652 27 1941.720 March 72 21233363 32 1568.690 March 73 21270530 22 1865.800 February 74 21272846 11 2645.630 March 75 21273617 18 1941.638 March 76 21287812 21 1428.860 March 77 21325967 60 1494.020 March 78 21328881 9 1621.480 February 79 21329954 22 1839.090 April 80 21352079 28 1690.280 April 81 21352906 64 3674.699 March 82 21355393 43 1673.160 March 83 21381706 25 1743.630 April 84 21384385 21 2175.350 March 85 21384489 39 1884.900 March 86 21388456 46 2482.089 March 87 21389700 30 1580.100 March 88 21429920 93 1871.370 March 89 21431498 41 1335.710 January 90 21431603 45 2100.860 April 91 21432110 31 1916.250 March 92 21432192 33 2700.909 March 93 21432198 60 2224.260 March 94 21436695 23 1590.460 March 95 21439778 19 1788.120 April 96 21440894 20 1743.040 February 97 21441097 51 1967.240 March 98 21444732 40 3427.399 April 99 21452032 17 2629.859 March 100 21454149 46 1584.300 March 101 21458111 33 1691.980 March 102 21459047 29 1452.160 March 103 21472963 103 3943.099 January 104 21475796 28 1365.460 March 105 21476196 40 2453.779 April 106 21476267 24 3770.440 March 107 21476596 17 1372.410 April 108 21561441 43 2977.530 March 109 21566188 18 1605.270 January 110 21567503 17 1804.790 April 111 21567516 66 1689.280 March 112 21569991 20 2441.560 March 113 21577503 39 1961.570 March 114 21584436 290 3037.680 June 115 21591648 33 1551.560 March 116 21592137 124 3514.809 January 117 21598434 19 1730.990 March 118 21598638 27 1373.620 March 119 21602710 17 1473.410 March 120 21602722 32 1386.270 March 121 21603050 63 1742.860 March 122 21607101 30 1372.340 March 123 21607650 45 1673.230 March 124 21619730 28 2434.879 January 125 21619819 38 1584.850 March 126 21619883 58 1600.890 March 127 21621964 56 2720.549 March 128 21625134 50 1806.150 March 129 21629635 21 1539.750 March 130 21630632 45 1398.820 March 131 21630636 50 1805.900 March 132 21634517 14 1525.680 March 133 21635263 46 2366.090 March 134 21637630 207 1692.770 March 135 21656683 35 2524.210 April 136 21688234 36 3165.039 March 137 21688304 88 2338.850 March 138 21688941 26 1897.390 March 139 21692464 29 1944.970 March 140 21699909 81 1886.670 March 141 21701323 39 3096.669 March 142 21702815 100 1683.150 March 143 21703010 50 4063.009 March 144 21703021 101 3579.660 March 145 22009786 17 1343.970 March 146 22111568 61 1632.410 March 147 22113293 111 2061.820 March 148 22114125 110 2545.450 March 149 22114137 198 1393.720 February 150 22114167 80 2726.828 March 151 22114191 72 1385.580 March 152 22114197 20 3628.349 March 153 22114221 34 1586.130 March 154 22114222 27 2064.070 April 155 22114258 27 3963.849 March 156 22114378 86 2025.290 March 157 22114381 34 1923.520 April 158 22114409 14 1434.660 March 159 22114425 171 2600.260 April 160 22114712 126 1361.350 March 161 22114727 19 2243.290 April 162 22114746 24 1848.210 January 163 22114791 100 2648.410 March 164 22117533 196 1538.020 March 165 22131525 101 2010.180 March 166 22172749 22 1457.010 March 167 22179005 35 1357.290 March 168 22185178 14 1693.410 April 169 22185191 37 1846.010 February 170 22189491 26 1423.260 March 171 22189511 23 1351.050 March 172 22203725 67 2066.560 March 173 22205330 79 1431.170 March 174 22206723 47 3107.539 March 175 22207323 43 1974.260 March 176 22208939 28 2225.130 March 177 22208951 38 2059.660 March 178 22208959 18 2040.510 March 179 22208972 75 2680.990 March 180 22211615 39 1836.280 March 181 22211953 66 2247.370 March 182 22242219 57 2386.720 March 183 22251095 10 1392.380 March 184 22268511 34 1424.900 January 185 22282671 29 1428.370 March 186 22283241 31 4157.089 April 187 22283251 50 3502.010 March 188 22283257 45 3182.579 March 189 22283777 38 2826.049 March 190 22283800 104 3580.079 March 191 22283801 19 1457.020 April 192 22284349 22 1957.850 February 193 22284372 25 2220.489 March 194 22284380 47 1368.010 March 195 22286346 20 1804.980 March 196 22286348 66 2999.490 February 197 22286370 33 3736.019 March 198 22287890 88 1826.840 March 199 22287906 37 2969.089 March 200 22288083 65 2060.430 March 201 22288093 27 2031.550 March 202 22288121 15 1341.830 February 203 22288611 79 2066.230 March 204 22300456 42 1553.610 March 205 22300853 65 2491.300 March 206 22301160 62 3078.689 April 207 22301194 27 1750.270 April 208 22301205 18 1926.160 March 209 22301303 28 1539.010 January 210 22302612 14 1464.290 March 211 22302616 75 2695.200 March 212 22305510 52 1528.850 March 213 22308266 40 1623.430 March 214 22318684 90 2004.520 March 215 22338510 45 1667.520 March 216 22339213 45 1374.480 February 217 22340716 39 1738.120 March 218 22351981 14 1944.880 April 219 22351989 31 2133.180 March 220 22386928 36 1585.320 March 221 22437962 29 1527.020 March 222 22448137 65 2825.680 March 223 22451401 25 1809.250 March 224 22473505 86 2088.989 January 225 22540295 88 2617.970 March 226 22562109 25 2672.910 March 227 22566147 55 1796.870 March 228 22595068 21 1727.600 March 229 22609804 36 1748.920 March 230 22610271 57 1472.560 March 231 22615697 52 1880.150 January 232 22642065 21 2677.740 March 233 22643595 45 1472.850 March 234 22746387 34 2291.320 March 235 22752008 103 1851.840 March 236 22760111 29 1700.850 March 237 22760738 66 2572.740 March 238 22762599 26 1508.360 March 239 22842722 30 1487.270 March 240 22843658 79 2053.640 March 241 22844597 31 1755.490 March 242 22848790 55 2322.390 March 243 22848973 33 1524.820 March 244 22906919 37 1337.090 March 245 22964956 30 1936.140 March 246 22981918 31 2362.540 March 247 22985887 23 1921.800 March 248 23179654 44 1707.540 March 249 23182448 33 2066.130 March 250 23278412 19 2439.270 March 251 23318352 24 1470.310 March 252 23325520 51 1542.130 March 253 23326023 23 1333.530 March 254 23352695 44 2152.060 March 255 23444328 50 1619.380 March 256 23604268 52 1628.800 April 257 23617181 19 1577.290 April 258 23625408 26 2505.370 April 259 23635344 36 2757.670 March 260 23642931 17 1672.990 January 261 23644288 17 1526.500 February 262 23654220 78 1391.980 March 263 23654583 43 1691.450 March 264 23673082 25 1482.430 April 265 23717387 52 2143.309 March 266 23722085 26 3162.579 March 267 23740691 21 1551.720 April 268 23742520 25 1826.080 January 269 23743254 20 2444.970 March 270 23748348 61 2117.050 March 271 23748350 55 1358.780 March 272 23748375 18 1794.970 March 273 23777359 10 2116.869 March 274 23785580 69 1430.990 March 275 23791664 31 2029.890 January 276 23792066 33 1596.660 March 277 24350417 12 1361.400 March 278 25221181 52 1686.960 March 279 25336169 22 3206.139 April 280 25407622 45 1628.460 March 281 25763791 45 2321.500 March 282 25954236 19 1575.080 February 283 26034751 38 1465.840 March 284 26128243 98 1385.670 March 285 26241848 16 1427.000 March 286 26306410 15 1754.710 April 287 27958910 63 1569.580 March 288 28172236 43 1896.660 March 289 28181258 57 2282.970 April 290 28210412 34 4328.369 January 291 28310674 63 1856.420 March 292 28313518 29 5123.068 March 293 28665663 39 2034.070 March 294 28665932 37 2310.470 March 295 28741424 27 1762.390 February 296 28859647 45 1735.029 March 297 28891485 44 1384.730 March 298 29341897 51 1476.420 March 299 29354169 37 1685.930 March 300 29926497 34 2054.980 March 301 29934093 62 1733.460 March 302 29939439 24 1520.100 March 303 31682231 26 1594.330 February 304 31746197 55 1826.200 March 305 31829264 27 2173.329 March 306 31919946 40 1864.680 March 307 33415240 26 1507.900 March 308 33415888 42 1428.280 April 309 33444987 61 2460.270 March 310 34343937 35 3578.179 April 311 34376317 27 1458.320 January 312 34384213 52 1419.650 March 313 34416508 48 1345.580 March 314 34438715 71 2474.290 March 315 34462715 24 1524.710 March 316 34467422 146 1366.710 March 317 34816717 23 1700.670 March 318 34917312 35 2342.360 February 319 34919532 47 1727.530 April 320 34920290 86 2356.369 May 321 34927053 83 1788.309 March 322 34940104 33 1461.530 March 323 35071976 11 1787.680 March 324 35076749 43 1910.270 March 325 35094805 89 2132.290 May 326 35109326 69 2682.220 June 327 35110054 74 1528.050 July 328 36038182 57 1629.660 April 329 36038367 39 1386.660 March 330 36041019 51 1443.240 June 331 36164600 32 2984.850 March 332 36177706 41 1412.220 February 333 36338607 139 3491.180 March 334 36352584 108 2048.590 March 335 36376264 40 1484.210 March 336 36512592 32 1769.940 March 337 36513577 55 1360.220 March 338 36557632 68 1362.360 April 339 36769106 27 3119.389 February 340 36784251 76 1795.540 June 341 36785334 39 1348.250 March 342 36785532 93 2003.270 June 343 36790262 47 1354.080 March 344 36791222 27 2409.640 April 345 36794922 38 1505.480 March 346 36799049 36 1518.600 April 347 36876754 15 1535.610 February 348 37048073 58 1521.530 March 349 37049794 13 1489.700 March 350 37054827 70 1451.500 March 351 37054837 16 1578.990 March 352 37057354 40 2000.400 March 353 37058303 17 1645.000 April 354 37062722 205 1696.520 March 355 37073057 61 1439.230 February 356 37107316 63 3096.220 March 357 37120692 28 1332.610 March 358 37125526 40 1764.930 March 359 37141162 52 1480.470 April 360 37143504 21 2190.400 March 361 37143973 68 6194.909 February 362 37146688 22 1521.780 April 363 37153512 13 3560.949 March 364 37156501 84 1363.210 March 365 37161495 30 3978.339 March 366 37163139 17 1394.400 March 367 37350043 49 3791.120 February 368 37351319 64 1556.760 March 369 37353924 37 3012.210 March 370 37363943 81 1523.610 March 371 37380276 81 1737.130 March 372 37383984 64 1879.910 March 373 37465404 47 1515.600 February 374 37465709 35 1440.840 April 375 37468790 29 1487.000 March 376 37470629 18 1364.670 March 377 37632766 22 2124.490 March 378 37702347 56 2220.500 March 379 37727303 19 1510.250 March 380 37731962 38 1720.870 May 381 38864422 102 2075.260 February 382 38875516 23 1844.340 March 383 38884632 22 1478.720 March 384 38975879 54 1598.480 March 385 38981350 24 2401.800 March 386 38981467 58 2035.180 March 387 38983543 105 3104.510 March 388 38988153 56 2922.000 March 389 38989214 43 1387.790 March 390 39000445 13 1746.700 March 391 39307935 16 2250.929 April 392 39314414 18 2681.140 March 393 39317622 59 2985.420 March 394 39349118 48 1397.210 January 395 39349752 39 1823.190 March 396 39354169 32 1832.740 March 397 39355141 35 1594.660 March 398 39356029 38 2103.300 March 399 39356075 34 1349.060 March 400 39356203 101 1956.330 April 401 39357794 21 1523.210 March 402 39357989 30 1802.310 May 403 39423469 25 1467.990 March 404 39425711 77 1840.250 March 405 39446850 44 1601.370 March 406 39449903 56 1633.870 March 407 39450222 56 2018.910 March 408 39451065 39 1337.670 March 409 39454404 49 1571.380 March 410 39456646 34 1453.290 April 411 39529839 42 1493.500 March 412 39536181 31 1627.840 March 413 39537548 35 1666.320 March 414 39551566 19 1605.140 March 415 39557811 28 1511.860 April 416 39617406 11 2123.040 March 417 39622051 34 2010.060 June 418 39630131 58 2348.760 March 419 39631791 53 1731.800 March 420 39649111 25 2219.570 March 421 39649112 17 1514.980 March 422 39650200 41 1724.440 March 423 39652421 19 1757.309 May 424 39655640 47 1545.330 March 425 39731355 104 1458.230 January 426 39741082 35 2836.230 May 427 39745841 24 2186.450 March 428 39747934 29 1342.400 February 429 39755604 22 1428.460 March 430 39819616 16 1946.040 March 431 39832780 38 1412.920 March 432 39833337 74 1378.800 March 433 39845946 23 1405.570 January 434 39916096 80 1455.440 April 435 39937223 21 3117.659 March 436 39943819 14 1570.850 March 437 40035819 12 2411.089 April 438 40042656 189 1637.810 March 439 40044841 28 1492.410 March 440 40045752 51 1711.950 February 441 40046066 27 2082.390 March 442 40047305 38 2639.650 March 443 40048475 27 1425.920 March 444 40052217 74 1960.910 March 445 40118638 17 1444.670 March 446 40121353 15 1727.810 March 447 40122702 21 1452.860 March 448 40131507 8 1577.620 March 449 40142225 35 1336.620 March 450 40167736 26 1512.460 March 451 40167740 21 2102.350 March 452 40170289 54 1519.540 March 453 40171874 32 1568.740 June 454 40172924 17 1350.390 March 455 40173100 21 2063.220 April 456 40173104 18 2295.540 February 457 40174216 47 1869.320 March 458 40175568 49 1483.390 March 459 40180297 21 1359.280 March 460 40180526 80 4587.140 June 461 40182351 15 1471.710 March 462 40237193 28 1435.710 February 463 41509991 17 1829.960 March 464 41531987 51 1830.370 June 465 41535889 62 1404.970 April 466 41538512 47 2990.949 April 467 42476412 85 1798.780 June 468 46670865 25 1501.370 March 469 50224363 80 1442.540 February 470 50672204 32 1379.250 April 471 51032040 65 1355.230 March 472 51032169 30 2041.010 March 473 51084146 73 1765.660 March 474 51288842 62 2318.020 March 475 51344878 246 1439.260 March 476 51389472 30 1763.990 March 477 51676274 19 1532.770 March 478 51688908 29 1443.070 March 479 51829265 21 2534.470 April 480 51835173 29 2719.780 March 481 51841511 48 1776.780 March 482 51843234 34 1868.180 April 483 51902158 27 1610.720 March 484 51910357 43 1483.380 January 485 51918167 18 1427.180 March 486 51920735 53 1469.680 March 487 51927741 35 1457.460 March 488 51929097 17 1505.210 March 489 52035302 24 1812.720 March 490 52233098 95 1641.340 March 491 52236223 140 4135.979 March 492 52236260 37 1656.720 March 493 52548469 52 1478.670 March 494 52620857 14 1660.140 March 495 52621382 39 1338.650 April 496 52624918 60 1824.160 March 497 52626786 81 1395.470 March 498 52628986 49 1799.490 March 499 52634309 26 1969.360 April 500 52639074 17 1505.810 January 501 52884223 28 1843.700 March 502 52997126 107 1852.490 March 503 53015058 53 1333.390 March 504 53130748 32 1877.820 August 505 53242007 25 1535.330 March 506 53316841 55 1483.020 March 507 53318848 77 1331.290 April 508 53325366 42 2218.300 January 509 53388441 20 1592.910 March 510 53473575 20 1450.640 March 511 53543082 62 1520.960 March 512 53553936 38 1465.610 April 513 53557613 34 1347.760 March 514 53633998 28 1397.810 March 515 53661108 30 1668.009 March 516 53712438 29 2302.380 February 517 53782952 13 1444.180 April 518 54013758 77 3044.260 April 519 58232219 72 1875.890 August 520 58234395 38 2520.300 August 521 58237558 25 2675.660 August 522 58239439 70 3162.109 July 523 58240099 38 3287.169 August 524 58240520 43 1611.300 August 525 58243703 27 1389.340 August 526 58246473 10 2158.980 August 527 58253810 26 1488.060 August 528 58258258 65 2303.870 July 529 58262625 36 3573.050 July 530 58265434 9 1741.510 August 531 58266455 51 2873.959 August 532 58279511 60 1693.600 August 533 58283072 42 2734.330 August 534 58294441 31 1747.020 August 535 58299728 29 2951.379 June 536 58304871 58 2261.940 August 537 58313027 36 1894.880 August 538 58316607 34 1610.570 July 539 58316609 53 1407.210 July 540 58323501 45 1520.380 July 541 58327318 35 2605.390 August 542 58327891 20 1409.950 August 543 58337779 9 2021.670 June 544 58338197 19 1754.350 June 545 58338206 30 2299.460 July 546 58338429 29 3232.759 July 547 58341594 60 2670.450 July 548 58342336 37 1388.680 July 549 58353292 52 2211.320 August 550 58358135 52 2067.029 May 551 58358415 19 2487.580 August 552 58369408 21 1414.010 July 553 58369756 66 1635.830 August 554 58380722 24 2098.280 August 555 58383341 20 1746.230 July 556 58392864 31 3485.779 July 557 58397685 40 1648.500 August 558 58414384 18 1401.160 July 559 58425257 41 2028.080 August 560 58428440 19 1958.800 July 561 58433544 30 1554.140 July 562 58441451 21 1590.830 July 563 58452703 32 3383.820 July 564 58470022 43 1677.920 May 565 58470154 28 1561.770 July 566 58473493 27 1629.000 July 567 58474854 61 2647.799 August 568 58489862 28 2099.990 July 569 58501745 77 2450.040 August 570 58502082 91 1963.290 July 571 58506014 13 1369.620 July 572 58528520 19 2145.349 August 573 58553768 59 1364.230 July 574 58613964 38 3121.469 July 575 58614163 43 1883.710 July 576 58638337 50 1753.160 August 577 58639014 33 1843.280 August 578 58639229 72 1777.420 August 579 58640418 66 1357.460 May 580 58640449 17 1437.080 July 581 58642186 31 2541.180 August 582 58642220 39 1682.760 August 583 58642266 52 3697.390 July 584 58642267 119 2174.990 July 585 58642440 31 1776.270 June 586 58643587 35 1362.670 July 587 58643607 18 1459.590 July 588 58645609 20 3087.049 July 589 58645614 97 2033.760 July 590 58645616 14 1442.890 July 591 58645662 40 3129.269 August 592 58647934 28 1843.440 June 593 58650481 42 2340.750 August 594 58652978 27 1517.420 July 595 58657920 71 2908.050 July 596 58657951 82 1511.430 July 597 58681017 53 1656.260 July 598 58705512 87 1826.290 August 599 58730772 23 1878.150 May 600 58741080 25 1906.110 August 601 58755459 25 1879.260 June 602 58772464 13 1383.230 August 603 58779565 21 1427.490 July 604 58786783 79 1461.970 July 605 58789962 31 1760.600 August 606 58792496 40 1516.260 July 607 58807562 27 1777.850 July 608 58808222 59 2822.729 July 609 58810237 53 1728.100 August 610 58814824 41 1732.040 August 611 58831091 31 2826.340 July 612 58833257 18 1909.070 July 613 58833348 52 1967.880 August 614 58836509 40 2457.999 July 615 58839759 42 1751.790 July 616 58842600 76 1637.770 July 617 58855247 36 1377.720 July 618 58870832 18 3212.989 July 619 58870891 130 2219.120 August 620 58872306 46 1989.350 July 621 58872376 51 2178.110 July 622 58872751 72 2086.330 August 623 58872822 49 2708.410 August 624 58872891 22 1427.650 July 625 58872897 59 1961.770 August 626 58880483 26 2077.840 July 627 58883863 42 3546.889 July 628 58883904 125 1535.170 May 629 58889706 20 1514.610 August 630 58889707 23 2172.829 July 631 58889845 22 1343.970 August 632 58890024 27 1861.380 July 633 58890202 77 1494.560 August 634 58890296 23 2632.409 July 635 58892130 43 1430.720 July 636 58892513 41 1721.120 June 637 58895440 37 1905.460 August 638 58896056 56 2413.930 July 639 58896150 26 1450.230 August 640 58907175 14 1663.150 August 641 58907353 21 1453.800 August 642 58907705 42 1572.670 August 643 58907751 117 3952.599 July 644 58910197 17 1602.860 July 645 58910480 40 2961.129 July 646 58910528 55 1866.010 August 647 58910536 30 2243.350 July 648 58983522 60 2333.070 July 649 58983956 48 3178.730 July 650 58987912 20 1794.180 May 651 58989046 58 1434.310 August 652 58989233 51 1562.620 July 653 58997375 47 2249.870 August 654 59003455 35 2138.060 July 655 59003863 119 2585.570 August 656 59012628 17 1383.730 August 657 59012639 25 1333.220 July 658 59012917 74 1853.760 August 659 59016223 34 1331.290 August 660 59016293 19 1356.030 July 661 59016692 53 2244.760 July 662 59017019 49 1494.060 August 663 59019400 85 1834.260 July 664 59025961 23 1424.440 August 665 59026858 33 2181.850 June 666 59026928 76 1891.810 July 667 59026983 82 1587.200 July 668 59027377 36 2057.610 August 669 59035790 68 2400.450 August 670 59035793 36 1477.990 July 671 59039674 71 3101.130 July 672 59041668 242 1934.820 May 673 59044970 37 1485.650 August 674 59057988 31 3177.810 July 675 59072117 35 1347.010 July 676 59076986 51 3762.409 July 677 59077043 104 2572.740 July 678 59077582 40 2540.820 August 679 59080517 59 1358.990 August 680 59080575 67 2294.100 July 681 59081023 18 1532.450 August 682 59086636 92 2012.090 August 683 59087787 32 2206.899 July 684 59088980 96 1581.080 July 685 59089143 56 3931.169 July 686 59106914 21 2713.519 August 687 59343265 18 1354.230 August 688 59425861 71 1647.620 August 689 59427035 115 2031.690 August 690 59427703 127 2662.060 June 691 59427712 246 1511.040 July 692 59427733 82 2846.258 August 693 59427750 54 1406.210 August 694 59427751 89 1513.180 July 695 59427755 23 4640.339 August 696 59427771 30 1648.230 July 697 59427773 31 1339.330 July 698 59427796 44 3982.319 July 699 59427889 91 2051.190 August 700 59427891 42 2160.719 July 701 59427895 53 1513.310 July 702 59427912 12 1359.150 August 703 59427920 60 2454.550 June 704 59427924 187 2028.760 July 705 59428142 19 1375.870 August 706 59428151 72 1549.840 July 707 59428154 131 1415.120 August 708 59428165 29 2083.790 July 709 59428166 38 1943.710 June 710 59428177 44 4140.620 August 711 59428206 90 2129.250 July 712 59428846 35 1762.330 July 713 59431336 121 1412.620 August 714 59431868 45 1625.730 July 715 59441963 95 1773.900 July 716 59459473 19 2685.970 August 717 59485466 42 2082.290 August 718 59487318 31 2583.520 July 719 59489003 36 1940.920 August 720 59489017 33 1669.520 August 721 59489151 64 1364.960 August 722 59490408 171 3847.979 June 723 59499673 21 1554.570 August 724 59500430 64 2467.389 July 725 59501317 17 1547.800 July 726 59501737 90 1816.810 August 727 59502886 46 2967.240 July 728 59502896 21 1831.480 June 729 59503350 66 2427.110 August 730 59504641 33 2140.890 August 731 59504650 40 2067.520 July 732 59504655 19 1989.770 August 733 59504665 81 3021.140 July 734 59506824 54 1507.410 August 735 59506837 39 1645.040 July 736 59507113 38 1798.560 July 737 59531190 46 2664.310 July 738 59538248 12 1491.410 August 739 59563569 30 1333.820 July 740 59564012 44 1361.420 August 741 59564026 37 4734.239 August 742 59564034 50 3612.250 May 743 59564039 47 3082.349 July 744 59564442 57 3365.880 August 745 59564457 104 4243.689 July 746 59564458 24 1494.790 August 747 59564876 37 2715.690 May 748 59564896 35 2524.699 August 749 59566474 75 2812.780 July 750 59566489 27 3220.449 August 751 59567676 131 1708.360 July 752 59567703 120 2177.250 June 753 59567717 26 2022.229 July 754 59567719 81 1805.140 August 755 59567850 67 1879.770 July 756 59567857 44 2316.599 July 757 59568271 75 1731.450 August 758 59577626 17 1394.590 July 759 59577659 19 1454.170 May 760 59577674 43 1400.700 June 761 59577999 97 2775.910 August 762 59578232 88 3858.069 July 763 59578253 31 2078.250 July 764 59578262 20 1533.720 July 765 59579353 54 2030.160 August 766 59579360 23 1702.560 May 767 59579364 93 2763.810 August 768 59581595 56 1495.280 July 769 59583005 55 1659.680 July 770 59583072 140 1520.060 August 771 59599910 59 1586.810 July 772 59607596 25 2918.020 July 773 59608204 103 1392.090 August 774 59608220 93 1480.910 July 775 59608231 70 1593.700 July 776 59609425 38 1535.740 August 777 59609429 56 2296.930 August 778 59618282 18 2323.930 July 779 59618289 58 2605.520 July 780 59618323 21 1461.120 August 781 59618368 23 2067.970 July 782 59637196 70 1619.370 August 783 59646387 16 2085.430 July 784 59651716 59 1996.040 August 785 59654978 41 1436.760 July 786 59671058 26 1333.500 July 787 59691053 87 3154.819 June 788 59693562 26 1667.370 August 789 59707651 63 1390.450 August 790 59741274 35 1603.080 August 791 59744561 58 1851.660 July 792 59751318 51 2568.280 August 793 59752418 94 2795.940 July 794 59772586 70 1887.780 July 795 59788688 56 1764.330 August 796 59793790 47 3365.599 August 797 59794466 108 2939.290 August 798 59803565 19 1437.369 July 799 59804783 37 1700.060 August 800 59805125 59 1345.800 July 801 59809290 66 1880.240 May 802 59810692 44 1844.930 July 803 59829841 23 2641.220 July 804 59830917 49 2060.940 August 805 59910413 56 2905.049 August 806 59913622 34 3205.270 July 807 59914051 114 1944.670 August 808 59919127 69 1728.810 June 809 59920039 79 2791.370 August 810 59921275 38 2490.660 July 811 59970601 61 1348.980 July 812 59971310 18 1558.600 July 813 59977416 17 1639.649 July 814 59980569 16 1393.910 May 815 59981468 96 2197.500 August 816 59982058 34 1383.360 July 817 59983679 57 1405.980 July 818 59984689 55 1663.060 August 819 59984800 80 2267.440 August 820 60007125 150 1846.570 August 821 60028479 42 1356.100 July 822 60071794 35 1737.680 July 823 60084673 40 2910.130 August 824 60160013 47 1369.290 August 825 60194995 35 1515.390 June 826 60228583 52 1899.400 July 827 60287816 17 1393.340 August 828 60298425 23 2413.910 July 829 60299979 42 1872.540 July 830 60326154 38 2477.970 August 831 60331500 55 1643.910 August 832 60349370 43 2542.619 August 833 60351280 23 1814.650 August 834 60404185 78 1412.850 July 835 60408874 35 1608.290 July 836 60412658 49 1597.880 June 837 60415522 49 1619.880 July 838 60416191 53 1823.720 August 839 60416645 129 2920.799 August 840 60434066 79 6068.589 August 841 60451034 30 2253.070 July 842 60484817 19 1651.460 August 843 60484819 53 1636.060 August 844 60484821 51 2514.240 August 845 60523385 84 1706.770 July 846 60524342 63 2061.930 August 847 60533913 22 1480.730 August 848 60538342 65 1404.500 July 849 60540209 34 3668.369 July 850 60547813 34 2007.210 August 851 60549933 39 2191.950 July 852 60553551 26 1705.060 August 853 60553788 16 1507.750 July 854 60554618 31 1401.330 August 855 60575842 35 1747.570 August 856 60613178 50 1999.469 June 857 60615674 145 2106.960 August 858 60616860 19 2237.990 August 859 60623136 41 2461.520 August 860 60625676 73 1521.720 July 861 60636849 33 1502.790 July 862 60637075 105 1479.950 July 863 60637096 26 2565.290 July 864 60641227 70 1705.710 July 865 60641249 34 2426.999 July 866 60664447 18 3037.929 July 867 60670133 54 1413.370 July 868 60674740 27 2282.630 July 869 60675071 39 1589.870 May 870 60676826 29 3502.559 August 871 60678405 49 1355.600 August 872 60693794 17 1518.470 July 873 60739851 61 1470.230 August 874 60816995 53 1756.280 July 875 60899623 52 3535.830 July 876 60913112 37 1390.560 July 877 60913306 34 1440.900 August 878 60915693 38 2282.980 July 879 60919676 17 1417.820 August 880 60920848 36 1468.420 July 881 60943606 20 1743.820 June 882 60984659 38 2067.170 August 883 60996390 60 1706.340 July 884 60997170 42 1872.240 July 885 61018459 22 1669.350 July 886 61039843 38 1565.530 August 887 61044591 51 4347.769 July 888 61045226 22 3393.210 August 889 61045242 70 1785.930 August 890 61051451 66 1516.650 August 891 61054986 39 1429.560 August 892 61055943 58 1368.470 July 893 61056436 25 5045.318 August 894 61059661 57 1396.410 August 895 61105967 30 1384.260 August 896 61115230 59 1381.970 July 897 61151213 41 1502.160 July 898 61152879 67 1560.640 July 899 61153326 66 1612.460 August 900 61154597 53 3884.459 July 901 61165795 50 1350.480 August 902 61188805 98 1496.790 July 903 61290435 57 1777.440 August 904 61315883 25 1609.180 July 905 61349461 39 1687.910 July 906 61351776 48 1498.850 July 907 61353661 59 2199.270 July 908 61368000 26 1351.360 July 909 61368870 26 1377.470 August 910 61373866 87 2671.220 July 911 61453445 25 1846.360 August 912 61480367 143 1391.600 May 913 61520360 18 1424.050 August 914 61695877 41 1599.120 August 915 61755919 96 1767.180 August 916 61764366 46 1380.880 August 917 61765847 41 3934.339 August 918 61766591 77 1560.000 August 919 61768114 35 1431.120 June 920 61770642 27 1377.980 July 921 61771396 48 1573.820 July 922 61786992 94 2312.649 July 923 61787691 43 1736.940 June 924 61807629 32 1865.330 July 925 61809069 52 2111.760 August 926 61813890 12 2508.380 July 927 61814485 116 1533.660 May 928 61814650 71 1772.420 August 929 61815631 45 1346.510 July 930 61824154 91 1817.480 July 931 61827378 12 1474.110 June 932 61851994 23 1338.370 July 933 61872196 24 1864.610 August 934 61900823 30 1551.460 August 935 61910078 49 1457.070 June 936 61978529 33 1958.160 July 937 62301350 22 3405.629 July 938 62319212 18 2424.050 June 939 62331451 42 1420.310 August 940 62335012 16 1361.300 August 941 62335013 40 1375.270 July 942 62335036 18 1736.820 July 943 62339574 87 1916.370 July 944 62341505 16 1826.460 August 945 62342853 20 1370.070 July 946 62344524 72 2622.400 August 947 62348261 24 1384.030 August 948 62349068 26 2716.350 August 949 62355275 29 1718.250 July 950 62366514 40 1411.180 June 951 62368000 44 1549.030 August 952 62370973 36 2277.750 July 953 62374273 67 1984.590 June 954 62384714 21 1657.960 July 955 62396030 42 2224.430 August 956 62430433 33 2595.320 August 957 62445133 112 1410.330 July 958 62463802 26 1378.430 June 959 62472245 40 1570.210 July 960 62512800 44 1928.540 July 961 62520084 87 1854.310 August 962 62538399 45 1472.400 July 963 62615702 48 2019.079 August 964 62617371 39 1731.920 July 965 62676750 105 1753.460 August 966 62705967 25 1543.750 June 967 63035305 32 1628.090 July 968 63109943 45 1788.640 August 969 63648191 26 1504.600 July 970 63842902 23 1490.020 July 971 63889194 6 1454.850 August 972 63944816 77 1902.270 August 973 63984745 32 1336.780 July 974 64011176 29 1419.100 July 975 64015975 44 1386.580 June 976 64016105 52 1519.890 July 977 64057117 31 1370.620 August 978 64151004 24 1890.239 August 979 64453330 76 1344.060 July 980 64453353 87 1636.700 July 981 64492018 44 1624.070 July 982 64593270 138 5619.109 June 983 64602427 91 1414.670 July 984 64611677 63 1467.560 August 985 64611939 10 1447.550 July 986 64621590 32 1437.840 June 987 64682276 74 1358.720 July 988 64699617 30 1455.840 July 989 64738530 54 1545.550 August 990 64804208 35 1714.860 July 991 64910548 33 1330.010 July 992 64921775 32 2458.759 August 993 64947261 205 5760.750 July 994 64960662 80 1367.290 July 995 64971794 47 1499.410 August 996 65216085 28 1430.680 May 997 65310916 125 1985.750 July 998 65763755 66 1480.980 July 999 66095154 37 1347.520 July 1000 66145523 24 1529.910 July > head data()d)a)t)a) customer_sk visits revenue month 1 20660110 34 2146.780 March 2 20666033 52 2585.489 March 3 20687544 17 1340.620 March 4 20688412 54 2433.830 March 5 20691957 30 1451.850 March 6 20693643 39 3291.680 March > library()r)e)s)h)a)p)e) > pps = cast()d)a)))d)a)t)a),)c)u)s)t)o)m)e)r)_)s)k)`))~)m)o)n)t)h),)v)a)l)u)e)=)r)e)v)e)n)u)e) Error in cast(data, customer_sk ~ month, value = revenue) : object 'revenue' not found > ps = cast(data,customer_sk~month,value=revenue)')'revenue') > head(ps) customer_sk April August February January July June March May 1 20660110 NA NA NA NA NA NA 2146.780 NA 2 20666033 NA NA NA NA NA NA 2585.489 NA 3 20687544 NA NA NA NA NA NA 1340.620 NA 4 20688412 NA NA NA NA NA NA 2433.830 NA 5 20691957 NA NA NA NA NA NA 1451.850 NA 6 20693643 NA NA NA NA NA NA 3291.680 NA > tail(ps) customer_sk April August February January July June March May 995 64971794 NA 1499.41 NA NA NA NA NA NA 996 65216085 NA NA NA NA NA NA NA 1430.68 997 65310916 NA NA NA NA 1985.75 NA NA NA 998 65763755 NA NA NA NA 1480.98 NA NA NA 999 66095154 NA NA NA NA 1347.52 NA NA NA 1000 66145523 NA NA NA NA 1529.91 NA NA NA > ps[is.na()p)s)] = 0 > ps[is.na(ps)] = 0 tail(ps) head(ps) customer_sk April August February January July June March May 1 20660110 0 0 0 0 0 0 2146.780 0 2 20666033 0 0 0 0 0 0 2585.489 0 3 20687544 0 0 0 0 0 0 1340.620 0 4 20688412 0 0 0 0 0 0 2433.830 0 5 20691957 0 0 0 0 0 0 1451.850 0 6 20693643 0 0 0 0 0 0 3291.680 0 > head(ps) ps[is.na(ps)] = 0 tail(ps) customer_sk April August February January July June March May 995 64971794 0 1499.41 0 0 0.00 0 0 0.00 996 65216085 0 0.00 0 0 0.00 0 0 1430.68 997 65310916 0 0.00 0 0 1985.75 0 0 0.00 998 65763755 0 0.00 0 0 1480.98 0 0 0.00 999 66095154 0 0.00 0 0 1347.52 0 0 0.00 1000 66145523 0 0.00 0 0 1529.91 0 0 0.00 > pv = cast()d)a)t)a),) )c)u)s)t)o)m)e)r)_)s)k)`))~)m)o)n)t)h),) )v)a)l)u)e)=)')')v')i')s')i')t') Error in data.frame(data[, c(variables), drop = FALSE], result = data$value) : arguments imply differing number of rows: 1000, 0 > pv = cast(data, customer_sk~month, value='visit')s') > head(pv) customer_sk April August February January July June March May 1 20660110 NA NA NA NA NA NA 34 NA 2 20666033 NA NA NA NA NA NA 52 NA 3 20687544 NA NA NA NA NA NA 17 NA 4 20688412 NA NA NA NA NA NA 54 NA 5 20691957 NA NA NA NA NA NA 30 NA 6 20693643 NA NA NA NA NA NA 39 NA > tail(pv) customer_sk April August February January July June March May 995 64971794 NA 47 NA NA NA NA NA NA 996 65216085 NA NA NA NA NA NA NA 28 997 65310916 NA NA NA NA 125 NA NA NA 998 65763755 NA NA NA NA 66 NA NA NA 999 66095154 NA NA NA NA 37 NA NA NA 1000 66145523 NA NA NA NA 24 NA NA NA > tail(pv) head(pv) pv = cast(data, customer_sk~month, value='visits')') tail(ps) head(ps) ps[is.na(ps)] = 0[1@v > pv[is.na(ps)] = 0 tail(pv) customer_sk April August February January July June March May 995 64971794 NA 47 NA NA NA NA NA NA 996 65216085 NA NA NA NA NA NA NA 28 997 65310916 NA NA NA NA 125 NA NA NA 998 65763755 NA NA NA NA 66 NA NA NA 999 66095154 NA NA NA NA 37 NA NA NA 1000 66145523 NA NA NA NA 24 NA NA NA > tail(pv) pv[is.na(ps)] = 0 tail(pv) head(pv) customer_sk April August February January July June March May 1 20660110 NA NA NA NA NA NA 34 NA 2 20666033 NA NA NA NA NA NA 52 NA 3 20687544 NA NA NA NA NA NA 17 NA 4 20688412 NA NA NA NA NA NA 54 NA 5 20691957 NA NA NA NA NA NA 30 NA 6 20693643 NA NA NA NA NA NA 39 NA > head(pv) tail(pv) pv[is.na(ps)] = 0[1@v > pv[is.na(pv)] = 0 head(pv) tail(pv) customer_sk April August February January July June March May 995 64971794 0 47 0 0 0 0 0 0 996 65216085 0 0 0 0 0 0 0 28 997 65310916 0 0 0 0 125 0 0 0 998 65763755 0 0 0 0 66 0 0 0 999 66095154 0 0 0 0 37 0 0 0 1000 66145523 0 0 0 0 24 0 0 0 > tail(pv) pv[is.na(pv)] = 0 head(pv) tail(pv) pv[is.na(ps)] = 0 tail(pv) head(pv) pv = cast(data, customer_sk~month, value='visits') > pv = cast(data, customer_sk~month, value='visits') tail(pv) pv[is.na(pv)] = 0 > pv[is.na(pv)] = 0  = cast(data, customer_sk~month, value='visits') tail(pv) customer_sk April August February January July June March May 995 64971794 0 47 0 0 0 0 0 0 996 65216085 0 0 0 0 0 0 0 28 997 65310916 0 0 0 0 125 0 0 0 998 65763755 0 0 0 0 66 0 0 0 999 66095154 0 0 0 0 37 0 0 0 1000 66145523 0 0 0 0 24 0 0 0 > tail(pv) pv[is.na(pv)] = 0  = cast(data, customer_sk~month, value='visits') tail(pv) pv[is.na(pv)] = 0 head(pv) customer_sk April August February January July June March May 1 20660110 0 0 0 0 0 0 34 0 2 20666033 0 0 0 0 0 0 52 0 3 20687544 0 0 0 0 0 0 17 0 4 20688412 0 0 0 0 0 0 54 0 5 20691957 0 0 0 0 0 0 30 0 6 20693643 0 0 0 0 0 0 39 0 > head(ps) customer_sk April August February January July June March May 1 20660110 0 0 0 0 0 0 2146.780 0 2 20666033 0 0 0 0 0 0 2585.489 0 3 20687544 0 0 0 0 0 0 1340.620 0 4 20688412 0 0 0 0 0 0 2433.830 0 5 20691957 0 0 0 0 0 0 1451.850 0 6 20693643 0 0 0 0 0 0 3291.680 0 > head(tailtai(l(ps) customer_sk April August February January July June March May 995 64971794 0 1499.41 0 0 0.00 0 0 0.00 996 65216085 0 0.00 0 0 0.00 0 0 1430.68 997 65310916 0 0.00 0 0 1985.75 0 0 0.00 998 65763755 0 0.00 0 0 1480.98 0 0 0.00 999 66095154 0 0.00 0 0 1347.52 0 0 0.00 1000 66145523 0 0.00 0 0 1529.91 0 0 0.00 > psv = cbind(ps[],], pv[],]2]:]n]c]o]l](]p]v])]) > head(psv) customer_sk April August February January July June March May April August 1 20660110 0 0 0 0 0 0 2146.780 0 0 0 2 20666033 0 0 0 0 0 0 2585.489 0 0 0 3 20687544 0 0 0 0 0 0 1340.620 0 0 0 4 20688412 0 0 0 0 0 0 2433.830 0 0 0 5 20691957 0 0 0 0 0 0 1451.850 0 0 0 6 20693643 0 0 0 0 0 0 3291.680 0 0 0 February January July June March May 1 0 0 0 0 34 0 2 0 0 0 0 52 0 3 0 0 0 0 17 0 4 0 0 0 0 54 0 5 0 0 0 0 30 0 6 0 0 0 0 39 0 > write.csv()p)s)c))v),) )f)i)l)e)=)")")p")s")v").")c")s")v") > sHighLowhiloiloHilooLo0oo = source()b)a)d)r)H)i)g)h)))))))))")")b")a")d")rHighLow.r") > highLow()ow()customerHiLo=cbind(done[,1],highLow(done[,2:10]),highLow(done[11:19])) Error in cbind(done[, 1], highLow(done[, 2:10]), highLow(done[11:19])) : object 'done' not found > customerHiLo=cbind(done[,1],highLow(done[,2:10]),highLow(done[11:19]))[,1],highLow(done[,2:10]),highLow(done[11:19])) [,1],highLow(done[,2:10]),highLow(done[11:19])) [,1],highLow(done[,2:10]),highLow(done[11:19])) [,1],highLow(done[,2:10]),highLow(done[11:19])) p[,1],highLow(done[,2:10]),highLow(done[11:19])) s[,1],highLow(done[,2:10]),highLow(done[11:19])) v[,1],highLow(done[,2:10]),highLow(done[11:19])) [,2:10]),highLow(done[11:19]))[,2:10]),highLow(done[11:19]))[,2:10]),highLow(done[11:19]))[,2:10]),highLow(done[11:19]))p[,2:10]),highLow(done[11:19]))s[,2:10]),highLow(done[11:19]))v[,2:10]),highLow(done[11:19]))one[11:19]))ne[11:19]))e[11:19]))[11:19]))p[11:19]))s[11:19]))v[11:19]))]),highLow(psv[11:19]))1]),highLow(psv[11:19]))]),highLow(psv[11:19]))]),highLow(psv[11:19]))9]),highLow(psv[11:19])):19])):19]))1:19]))0:19]))]))7])) > customerHiLo)hcustomerHiLo) ecustomerHiLo) acustomerHiLo) dcustomerHiLo) (customerHiLo)  [,1] [,2] [,3] [,4] [,5] [1,] 20660110 -490.6538 1027.3488 -7.770815 16.270815 [2,] 20666033 -590.9224 1237.2947 -11.884776 24.884776 [3,] 20687544 -306.4032 641.5581 -3.885408 8.135408 [4,] 20688412 -556.2600 1164.7174 -12.341883 25.841883 [5,] 20691957 -331.8252 694.7876 -6.856602 14.356602 [6,] 20693643 -752.3245 1575.2444 -8.913582 18.663582 > km - = kmean() Save workspace image? [y/n/c]: y pawan@dev:~/public_html/4477/notes/week04$ exit Script done on Mon 25 Jan 2016 12:49:08 PM AST