hi R users

I have a large 1D dataset and some of them is NA value .

I found I cound get the spectrum by such a command.

ua=c（10，30 ，40，50，NA）
spectrum(ua)
 and I could not use na.rm just like mean or sd function

How could I get the spectrum of ua ?

 thank you .

-- 
TANG Jie

	[[alternative HTML version deleted]]

