Displaying 2 results from an estimated 2 matches for "approcaes".
Did you mean:
approaces
2007 Jan 30
2
Simple Date problems with cbind
..."2006/01/23")
> xx <- as.Date(cc, "%y/%m/%d")
> xx
[1] NA NA NA NA
> class(xx)
[1] "Date"
And on to the cbind problem
jj <- 1:5
cbind(jj,max)
jj max
[1,] 1 8092
[2,] 2 8092
[3,] 3 8048
[4,] 4 8093
[5,] 5 8066
I have tried various as.Date etc approcaes
It is probably something blindingly simple but can
anyone suggest something?
Thanks
2007 Jan 31
0
Fwd: Re: Simple Date problems with cbind
...; > > jj <- 1:5
> > > cbind(jj,max)
> > >
> > > jj max
> > > [1,] 1 8092
> > > [2,] 2 8092
> > > [3,] 3 8048
> > > [4,] 4 8093
> > > [5,] 5 8066
> > >
> > > I have tried various as.Date etc approcaes
> > >
> > > It is probably something blindingly simple but
> can
> > > anyone suggest something?
> > >
> > > Thanks
> >
> > In this case, you are trying to cbind() a numeric
> > vector and a Date
> > vector into a matrix. S...