authors: Marc Chamberland and Mario Martelli
published: Journal of Difference Equations and Applications, Volume 13, Issue 7 July 2007, pages 577 - 583
This was trivial, but I just want to have it for reference. Median-maps can be constructed in R with very simple code:
>
> nums = c(3,4,11)
>
> for (idx in 1:100) {
+ nextTerm = ( median(nums) * ( length(nums)+1 ) ) - sum(nums);
+ nums[length(nums)+1] = nextTerm;
+ }
> plot(nums, type="l")
>