\name{MAtoR}
\alias{MAtoR}
\title{Calculate the red intensity values from the M and A values given.}
\description{
  \code{MAtoR} This function calculates the red intensity values if one has only M and A values. 
}
\usage{
MAtoR(M,A)
}
\arguments{
  \item{M}{A vector (or matrix) of M values}
  \item{A}{A vector (or matrix) of A values}
}
\details{
M values are defined by the formula \code{M = log2(R/G)} and the A values by \code{A = 1/2 * log2(R*G)}. This function simply calculates from the M and A values back to the R (red) intensity values.
}
\author{Johannes Rainer}

\seealso{
	\code{\link{MAtoG}}
}

\keyword{utilities}