skip to main
|
skip to sidebar
SAS it up
getting down with SAS.
Monday, March 17, 2008
magic code to transform R data with 'NA' for missing to SAS '.'
array inc dlfib--dlcrp;
do i = 1 to 4;
if
inc[i]='
NA
' then inc[i]=.;
end;
drop i;
run;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
My Blog List
SAS on UNIX@hsph
direct filename with path to a file
13 years ago
SAS Tips | Published Tips
Labels
categorize
format
histogram
missing data
mixed models
plot
R
recode
Blog Archive
►
2009
(1)
►
July
(1)
▼
2008
(2)
►
July
(1)
▼
March
(1)
magic code to transform R data with 'NA' for missi...
►
2007
(7)
►
July
(1)
►
June
(1)
►
May
(1)
►
February
(4)
No comments:
Post a Comment