Map range: Difference between revisions

Content added Content deleted
(Added solution for Action!)
m (→‎{{header|R}}: Syntax highlighting.)
Line 2,491: Line 2,491:
>>> </lang>
>>> </lang>
=={{header|R}}==
=={{header|R}}==
<lang R>tRange <- function(aRange, bRange, s)
<lang rsplus>tRange <- function(aRange, bRange, s)
{
{
#Guard clauses. We could write some proper error messages, but this is all we really need.
#Guard clauses. We could write some proper error messages, but this is all we really need.