Displaying 2 results from an estimated 2 matches for "pct_inv_left".
2010 Dec 09
4
[lattice xyplot] Help needed in help in customizing the panel.abline() function
...Is there a way I can give panel.abline() input from a which.max() function?
Essentially I need the vertical line to be drawn at the week_num
corresponding to the max (cnt_gt50pct_disc).
Thanks in advance,
-Girish
===========================================
Lines <- "sku_num week_num pct_inv_left cnt_gt50pct_disc
1 1 99.88 47
1 2 99.54 109
1 3 98.7 260
1 4 97.83 202
1 5 96.53 389
1 6 94.11 450
1 7 90.42 459
1 8 86.63 448
1 9 83.39 411
1 10 77 478
1 11 71.65 476
1 12 67.3 463
1 13 62.45 472
1 14 52.47 488
1...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...input from a which.max() function?
> Essentially I need the vertical line to be drawn at the week_num
> corresponding to the max (cnt_gt50pct_disc).
>
> Thanks in advance,
>
> -Girish
>
> ===========================================
> Lines <- "sku_num week_num ? ?pct_inv_left ? ?cnt_gt50pct_disc
> 1 ? 1 ? 99.88 ? 47
> 1 ? 2 ? 99.54 ? 109
> 1 ? 3 ? 98.7 ? ?260
> 1 ? 4 ? 97.83 ? 202
> 1 ? 5 ? 96.53 ? 389
> 1 ? 6 ? 94.11 ? 450
> 1 ? 7 ? 90.42 ? 459
> 1 ? 8 ? 86.63 ? 448
> 1 ? 9 ? 83.39 ? 411
> 1 ? 10 ?77 ?478
> 1 ? 11 ?71.65 ? 476
> 1 ?...