Posts by Milton de Paula • 305 points
10 posts
-
0
votes0
answers34
viewsQ: Editing y axes in ggplot2
How do I edit the y axes according to the value scale of each column? The y-axis on the right is with a range of values well above, and the bars do not appear: Reproductive example…
-
2
votes2
answers39
viewsQ: Graphic editing in ggplot2
How should I proceed to replace the caption text in the chart below "Mean.est" and "Mean.Obs" to "est" and "Obs"? Reproductive example: ano<-c("2009", "2011",…
-
2
votes1
answer88
viewsQ: Graph of trends in ggplot2
How to play the chart below using ggplot2? Data and ggplot2 code I’m trying ano<-c("2009", "2011", "2013","2014","2016","2017","2018","2019") mean.est<-c(0.975, 1.204, 1.504, 1.741,…
-
1
votes0
answers17
viewsQ: Convert CODA object to CSV
I’m using "Hierarchical Modelling of Species Communities (HMSC)", and I used the "convertToCodaObject" command to view the model’s empirical information (e.g., mean and sd). However, I’m having…
-
3
votes1
answer46
viewsQ: Composition Graph using ggplot2
How can I produce a composition chart using ggplot2 reproducing the same model as the figure below? Sample matrix: x<-c(0, 1.52, 8.12, 0, 0.29, 0, 3, 4, 1.2, 1.1) y<-c(4.8, 3.03, 6.82, 9.76,…
-
1
votes2
answers84
viewsQ: Warning message: Those produced when calculating confidence intervals
I am trying to estimate the upper and lower limits using the 95% confidence interval, but the R returns the following message: Warning message: In rnorm(nrow(df), media/-0.832, media/-0.399) : NAs…
rasked Milton de Paula 305 -
2
votes1
answer241
viewsQ: Confidence interval using ggplot2
How to include 95% confidence interval in graph columns using ggplot2? Data frame I’m using x<-c(0.005, 0.178, 0.031, 0.058, 0.032, 0.196, 0.123, 0.159, 0.474, 0.153, 0.003, 0.012, 0.097, 0.022,…
-
2
votes2
answers172
viewsQ: Error when trying to run nls
The following error appears: "Error in numericDeriv(form[[3L]], Names(Ind), env, ifelse(internalPars < : Obtained missing or infinite value when evaluating the model" When I try to run an nls by…
rasked Milton de Paula 305 -
1
votes1
answer47
viewsQ: Curve does not fit on the Lines
I’m trying to include the curve predicted in my graph, but it doesn’t fit. I’m using the following argument: plot(df$n.kill, df$body) lines(df$n.kill,predict(fit,df$n.kill)) Dice:…
rasked Milton de Paula 305 -
4
votes1
answer68
viewsQ: Error in nls: step factor 4.65661e-10 reduced below 'minFactor' of 9.31323e-10
I’m trying to run an analysis "nls", but the following error appears: "step factor 4.65661e-10 reduced below 'minFactor' of 9.31323e-10" I am using the following data sets and formula:…
rasked Milton de Paula 305