[Rd] deprecated 'codes' function in 'factor' docs (PR#6590)

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Feb 17 08:54:42 MET 2004


This is already changed in the R-devel sources.

On Tue, 17 Feb 2004 axs2pdx at yahoo.com wrote:

> Full_Name: Andrew Stryker
> Version: 1.8.1
> OS: Linux/Win XP
> Submission from: (NULL) (65.124.252.58)
> 
> 
> >From ?factor:
> 
>     See Also:
> 
>         '[.factor' for subsetting of factors.
> 
>         'gl' for construction of "balanced" factors and 'C' for factors
>         with specified contrasts. 'levels' and 'nlevels' for accessing the
>         levels, and 'codes' to get integer codes.
> 
> `codes` is deprecated.  `unclass` also gives the integer codes.  Perhaps
> `unclass` is a better choice?
> 
> Regards (and thanks for this wonderfull free software),
> 
> Andrew Stryker
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list