| To: | "Splus Mailing List" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Problems with sort.col |
| From: | "Jonathan Dakin" <jdakin@overwey.demon.co.uk> |
| Date: | Sun, 25 Jun 2006 08:52:09 +0100 |
| Importance: | Normal |
|
Could anyone explain this ? I've a dataframe I've been trying to order with respect to multiple columns. However, if one of the columns is a date, I'm having problems. Example: eg <- data.frame("name"=c("smith", "smith", "jones"),
Then
name DOB
No problem. But: sort.col(eg, columns.to.sort="@ALL", columns.to.sort.by=c("DOB", "name")) Results in: Problem in seq: argument along= not matched: seq(along = ..1)
This is not the only error I've had, a similar request resulted in: Problem in rle(values.to.sort.by[values.order]): Argument must have an atomic mode
Is there something very obvious I'm missing ? Or is there a bug ? Any help much appreciated. I'm using Splus 6.1 under W2K. Jonathan Dakin |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Visualising data by cleveland, Frank E Harrell Jr |
|---|---|
| Next by Date: | Re: help (Time series of XL data), Paul Matthias Diderichsen |
| Previous by Thread: | Visualising data by cleveland, Jonathan Dakin |
| Next by Thread: | Re: Problems with sort.col, Paul Matthias Diderichsen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |