home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Green CD 8
/
BGCD_8_Dev.iso
/
NEXTSTEP
/
UNIX
/
Educational
/
R-0.49-MI
/
R-0.49-I
/
help
/
base
/
codes
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-04-23
|
331 b
|
18 lines
_F_a_c_t_o_r _C_o_d_e_s
codes(x)
codes(x) <- y
_V_a_l_u_e:
THis function retrieves the underlying integer codes
used for the levels of a factor and also be used to
reset (a subset of) these codes.
_E_x_a_m_p_l_e_s:
x <- gl(3,5,15)
codes(x)[3] <- 2