Open gzbib opened 3 years ago
Hi Ghida,
This is a good question. I'm unsure if one can store R's base level graphing functions into a higher level function (such as your display1
function). I can look into this further and update you on my progress.
Hello Sir,
It actually worked, after all, I missed calling the arguments in RMD at first.
I have another question regarding part 3 where I am trying to create my cartogram but I am not getting any display, although I tried to change the (xmin, xmax, ymin, ymax):
The appearance of the legend makes me think this may just be an RStudio chunk issue. Is it possible for you to see the graph after knitting the RMD file?
I wanted to test the knitting part but for some reason, I started getting a new error as below. I tried clearing the environment and re-run everything, but it is not working:
Hi Ghida,
The error message is a bit verbose but it provides you the information you need to debug this error:
You're creating a data frame named df
whose dimensions are not uniforn; said differently, one of the columns within this data frame has more elements than the other. Isolate which one that is, understand why, and then update the code.
Let me know how it goes!
Hello @cenuno ,
I was checking some functions that I can move from RMD to .R file, however, there were given only 2 functions ( jplot and compafe_dfs). Should we look for other functions to create on our own?
I tried creating the below functions but when I called them from my RMD file, nothing happened:
I used the following here() function:
import:: here ("display1", .from = here:: here ("labs/wk03/utilities-lab03.R"), .character_only = TRUE)
import:: here ("display2", .from = here:: here ("labs/wk03/utilities-lab03.R"), .character_only = TRUE)
I am not sure what is the issue exactly because there is no error message.
Thanks a million.