Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-15 Thread Jim Lemon
Hi Bogdan, There seem to be three problems. One is that if you want a logarithmic x axis you shouldn't have a zero (or a negative number) in your data. The second is that you have to ask for a logarithmic axis. The third is that you have limited your x axis to less than the range of the data in "b"

Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-15 Thread Bogdan Tanasa
Hi Jeff, thank you again for your help, and for your suggestion to subset the data : DF500 <- subset( DF, LENGTH < 500 ) yes, I did run the code, and I believe that it is easier to present/defend the results, after using "subset". -- bogdan On Sat, Jul 14, 2018 at 11:07 PM, Jeff Newmiller wro

[R] (no subject)

2018-07-15 Thread Nelson Sibanda via R-help
UNSCRIBE [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provi

[R] (no subject)

2018-07-15 Thread Atanasio Alberto Tembe Tembe
Hello! Is there anyone who can help me to this the error bellow? Ijust started using R recently. Thank you while sum(abs(Sb-D-Sc-t(Pi))>1E-5{Error: unexpected symbol in "while sum"> > k=K+1> > for(i in 1:nrow(c1)){+ + for(j in 1:ncol(c1)){+ + if

Re: [R] (no subject)

2018-07-15 Thread Jeff Newmiller
I think you are missing a parenthesis around your condition [1][2]. For future reference: a) You should post the code you ran as well as the error message... it is unusual for the error message alone to be enough to figure out the problem. In fact, try to make a "reproducible example" [3][4][5].

[R] undo compile? (or: remove bytecode from closure)

2018-07-15 Thread Benjamin Tyner
Hi Given a closure which has been compiled, what's the recommended way to recover the original? For example,     > f <- function(x) x+1     > fc <- cmpfun(f)     > rm(f)     > fc     function(x) x+1     what's the best way to recover f from fc ? Regards Ben ___

[R] Help in debugging a script

2018-07-15 Thread Frederic Ntirenganya
Dear Friends, I would like to ask for help. I am plotting monthly data as seasonal by adding particular months but I am getting an unexpected graph. What I want is why and what can be another alternative? Here is the data and R script busoro <- read.csv("G:/Fredo/PAPER/Malaria climate paper/data

Re: [R] (no subject)

2018-07-15 Thread Thierry Onkelinx
Dear Laura, I came across the anipaths package (https://cran.r-project.org/web/packages/anipaths/vignettes/anipaths.html) It might be useful for you. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK /