Displaying 3 results from an estimated 3 matches for "jon_d_cook".
Did you mean:
jon_d_cooke
2011 Feb 14
3
how to order POSIXt objects ?
I have a problem ordering by descending magnitude a POSIXt object. Can
someone help please and let me know how to work around this. My goal is to
be able to order my data by DATE and then by descending TIME.
I have tried to include as much info as possible below. The problem stems
from trying to read in times from a CSV file. I have converted the character
time values to a POSIXt object using the
2011 Mar 03
3
creating a count variable in R
Hi R helpers,
I'm trying to create a count in R , but as there is no retain function like
in SAS I'm running into difficulties.
I have the following :
Date_var and wish to obtain Date_var
Count_var
01/01/2011 01/01/2011
1
01/01/2011
2011 Feb 28
3
Problems using unique function and !duplicated
Hi, I am trying to simultaneously remove duplicate variables from two or more
variables in a small R data.frame. I am trying to reproduce the SAS
statements from a Proc Sort with Nodupkey for those familiar with SAS.
Here's my example data :
test <- read.csv("test.csv", sep=",", as.is=TRUE)
> test
date var1 var2 num1 num2
1 28/01/11 a 1 213 71
2