[R] Some more help needed...

Christian Hennig fm3a004 at math.uni-hamburg.de
Mon Jan 19 18:19:13 CET 2004


Try help(par).

Christian

On Mon, 19 Jan 2004, v.demart at libero.it wrote:

> As an absolute beginner, still reading  "Modern Applied Statistics with S" and exercising with its examples, I'm frequently stopped by what it looks to be R poor help system (or is it my gigantic ignorance?). I mean that using help many arguments of a command seems to be given for granted like for instance:
> ...............................
> ?lines
>  lines(x, ...)
> 
>      ## Default S3 method:
>      lines(x, y = NULL, type = "l", col = par("col"),
>            lty = par("lty"), ...)
> 
> Arguments:
> 
>     x, y: coordinate vectors of points to join.
> 
>     type: character indicating the type of plotting; actually any of
>           the 'type's as in 'plot'.
> 
>      col: color to use. This can be vector of length greater than one,
>           but only the first value will be used.
> 
>      lty: line type to use.
> 
>      ...: Further graphical parameters (see 'par') may also be supplied
>           as arguments, particularly, line type, 'lty' and line width,
>           'lwd'.
> ................................
> 
> How could I quickly know during an R-session what values should be "col" set to have red, how could I set "lty" etc.?
> 
> Vittorio
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

***********************************************************************
Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
#######################################################################
ich empfehle www.boag-online.de




More information about the R-help mailing list