How does one use the maType command inside RSI ?

I want to call something like RSI(price,n=2,maType=list(SMA,n=2))

Also, in the RSI help file is the following code-what is it doing with the
maUp and maDown?
Can't figure it out either:

# Case of two different 'maType's for both MAs
  rsiMA2 <- RSI(price, n=14, maType=list(maUp=list(EMA,ratio=1/5),
                maDown=list(WMA,wts=1:10)))
Thanks.

	[[alternative HTML version deleted]]

