Revision 68994912262e9c2ae98bff7968c23cd4cc8b9e8b authored by Martin Schlather on 24 August 2008, 00:00 UTC, committed by Gabor Csardi on 24 August 2008, 00:00 UTC
1 parent 3774b0f
userinput.Rd
\name{userinput}
\alias{userinput}
\title{General input function}
\description{
The function provides a general functionality to read and
}
\usage{
userinput(fct, info=NULL, prompt, n,  type="n", pch=par()$pch, cex=par()$cex, ...)
}
\arguments{
\item{info}{arbitrary object; tracing information that is useful
in case the user likes to edit the stored sequence of inputs}
}
\value{
If \code{fct="readline"} then a character vector of length one is
returned.

If \code{fct="locator"} then the function returns a
list containing 'x' and 'y' components which are the coordinates
of the identified points in the user coordinate system, i.e., the
one specified by 'par("usr")'.

}
\details{
The behaviour of \command{userinput} depends on the
the value of \code{action} set by \command{\link{useraction}},
}
\seealso{