[R] New Eyes Needed to See Syntax Error

Mercier Eloi emercier at chibi.ubc.ca
Fri May 18 01:41:14 CEST 2012


On 12-05-17 04:34 PM, Rich Shepard wrote:
> hco32 <- qqmath(~ log10(HCO3 | factor(basin), data = surfchem.cast, 
> main = 'Bicarbonate (Log10)',
>   prepanel = prepanel.qqmathline,
>   panel = function(x, ...) {
>     panel.qqmathline(x, ...)
>     panel.qqmath(x, ...)
>   }) 
Missing a closing parenthesis after log10.
It should be :
log10(HCO3 | factor(basin))

Eloi

-- 
Eloi Mercier
Bioinformatics PhD Student, UBC
Paul Pavlidis Lab
2185 East Mall
University of British Columbia
Vancouver BC V6T1Z4



More information about the R-help mailing list