| To: | Kyle Roberts <kroberts@unt.edu>, chuck@insightful.com, s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re: as.character problem |
| From: | "Richard M. Heiberger" <rmh@temple.edu> |
| Date: | Wed, 10 Nov 2004 19:38:33 -0500 |
You need to explicitly convert the input character string to formula
with as.formula.
> x <- 1:10
> y <- rnorm(10)
> xyplot("y ~ x")
Problem in setup.2d.trellis(formula, data = data, gro..: invalid formula
> xyplot(as.formula("y ~ x"))
>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | guiPlot within a function, Huso, Manuela |
|---|---|
| Next by Date: | Problem with fuzzy clustering (fanny) in S-PLUS 2000 on Win2000, Till Stoeckenius |
| Previous by Thread: | Re: as.character problem, Sundar Dorai-Raj |
| Next by Thread: | exporting data directly to SQL Server, Bos, Roger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |