My question is regarding How do you adjust/control the scale in a treemap (using the 'portfolio' library) in R?.
I modified seq(-1,0
to seq(0,1
as recommended in one of the answers. I then copied and pasted the entire map.market
function into R, but am unable to call the modified version that I just pasted. When I type map.market
, the original definition of the function "portfolio" is printed within the R editor window. How can I run the version that I just pasted?