11.11
> 11D 30-Mar-1111.15
> 12D 29-Mar-1111.17
>
>
> I need to rearrange this data as new new data.frame
>
> rat_dat_new as
>
> periodA B C D
> 31-Mar-11 10.42 12.62 14.1011.11
> 3
I need to rearrange this data as new new data.frame
>
> rat_dat_new as
>
> periodA B C D
> 31-Mar-11 10.42 12.62 14.1011.11
> 30-Mar-11 10.46 12.65 14.1211.15
> 29-Mar-11 10.37 12.61 14.0811
w data.frame
rat_dat_new as
period A B C D
31-Mar-11 10.42 12.62 14.10 11.11
30-Mar-11 10.46 12.65 14.12 11.15
29-Mar-11 10.37 12.61 14.08 11.17
I once again apologize for mistake on my part.
I tried to the sol
Try this:
1)
xtabs(values ~ name + period + cy_date, rat_dat)
2)
as.Date(rat_dat$cy_date, '%d-%b-%y') - as.Date(rat_dat$period, '%d-%b-%y')
On Thu, Apr 7, 2011 at 9:03 AM, Sandeepa Ramakrishnan
wrote:
>
>
>
>
>
>
>
>
>
> Dear R forum
>
> I have just started my venture with R. While I am trying
Dear R forum
I have just started my venture with R. While I am trying to learn R through the
tutorials, I think the current problem I need to address to is beyond my
knowledge about R.
I have a dataframe as defined below -
rat_dat = data.frame(name = c("A", "A", "A", "B", "B", "B", "
5 matches
Mail list logo