Posts by user55546 • 475 points
26 posts
-
2
votes1
answer36
viewsQ: Heterocesarean mixed effects model via lmer function
I am adjusting a mixed effects model which due to observed heterocedasticity was necessary to include an effect to accommodate it. For this purpose, using the function lme package nlme this was easy…
-
2
votes1
answer39
viewsQ: Diagnostic analysis in mixed effects models via Plot Half-Normal chart
I am intending to perform the Plot half-normal chart for a mixed effects model that has been adjusted using the package lme4. To visualize the diagnostic analysis of this model, I intend to use…
-
0
votes1
answer35
viewsQ: Problems adjusting a mixed effects model using the gamlss package
I’m trying to adjust a mixed effects model considering the package gamlss. The data is here: https://drive.google.com/file/d/1q4XuSPnZXx7TsrT3JVoucFyxeOSegWFz/view?usp=sharing The model I’m…
-
1
votes1
answer53
views -
0
votes1
answer69
viewsQ: Plot half-normal chart for mixed models adjusted with nlme package
I’m trying to realize the Plot half-normal chart for a mixed effects model adjusted through function lme package nlme. Dice:…
-
4
votes1
answer113
viewsQ: Line segments leaving the interior of a map of brazil using package ggrepel
I am trying to reproduce the format of the map below, however, I have been facing some problems to insert these "straights" on the map. After a search, I found the package ggrepel that brings with…
-
3
votes1
answer85
viewsQ: Coloring a map with differing color intensity in ggplot2
I’m trying to create the Plot of a color map of Brazil with a specific color, the "#2D3E50". However, using this color on the map to color from the smallest area (light shade) to the largest area…
-
0
votes1
answer92
viewsA: Overlay graphics in ggplot2 considering adjusted lines
It is known that ggplot2 has its layered structure, so the solution was structured in organizing the syntax step by step in such a way that the desired specifics were incorporated. Solution:…
-
1
votes1
answer92
viewsQ: Overlay graphics in ggplot2 considering adjusted lines
I am trying to superimpose two graphs made in ggplot2, in which the first contains the line adjusted by means of a polynomial model of degree 2 and the other contains the adjusted lines of a model…
-
0
votes1
answer84
viewsQ: Adjusted line of the binomial regression model made in ggplot2
I am trying to adjust the line of the binomial model in the graph of observations, however, one observes a problem in the code. The data is below:…
-
1
votes1
answer65
viewsQ: half-normal waste graph Plots no ggplot2
I am trying to realize the graph presented below regarding the residues in the half-normal Plot in ggplot2. However, I am facing an error entitled Error: data must be a data frame, or other Object…
-
1
votes2
answers62
viewsQ: Mixed effects model residue plots using ggplot2
I am trying to perform the residue graph of the mixed effects model by means of the ggplot2 function. However, after performing a search I found some available functions but what seems to me is that…
-
2
votes1
answer28
viewsQ: Overlay the legend of the estimated lines using the stat_poly_eq function
I adjusted different models considering the response variable (massaseca) as a function of (time) for each treatment level (content) using the ggplot2 package combined with the stat_poly_eq…
-
1
votes1
answer37
viewsQ: Adjusted regression line considering different factors in ggplot2
I’m trying to reproduce the graph below, where the internal lines are the adjusted regression lines: However, for some factor is not being plotted what should, ie, is being presented a single line,…
-
0
votes1
answer54
viewsQ: Plot of the CL50 Curve in R using ggplot2 with estimates obtained in Stan
I am trying to make the following graph below in ggplot2. Note that I am adjusting a logistic regression model under the Bayesian approach using the Stan package. dice:…
-
2
votes1
answer56
viewsQ: Error when colorizing bar graph and caption with the pal.bands function
I’m trying to reproduce the chart below: However, I am not able to color my chart through the function pal.bands according to the information that is in the spreadsheet below: The data is found in…
-
1
votes1
answer138
viewsQ: Combine with grid.arrange two residue charts (lme vs. lm)
I’m trying to put in the same image, side by side, the residue graphs adjusted by the linear model and the mixed linear model. However, I consulted the following links below and still my error…
-
0
votes1
answer66
viewsQ: Problems with the lme function with nested variables (any(notIntX <- ! apply(X, 2, const))
I’m trying to adjust a mixed effects model in which I have covariables that are nested (Varx5 | Varx6) and are considered fixed effects. However, I am trying to adjust the data and the following…
-
1
votes1
answer45
views -
0
votes1
answer349
viewsQ: Average and median boxplot legend in ggplot2 function
I am trying to add a caption identifying that the "ball" is the mean and the "line" is the median of the boxplot chart as follows: mediasCon1 = tapply(dados$FS, dados$Trat, mean) boxplot(dados$FS ~…
-
1
votes1
answer49
viewsQ: Problems Adjusting Linear Regression in Stan
I’m having trouble adjusting a linear regression model in Stan. When observing the error message, note the identification in the part of the transformed parameters block. See below the structure of…
-
3
votes1
answer111
views -
0
votes1
answer78
viewsQ: Error fitdist "should not have NA or Nan values"
I have been trying to adjust the distributions and lognormal in the data and have been facing the following error: --should not have NA or Nan values--. Dice:…
-
2
votes1
answer95
viewsQ: Fitdist problems in beta distribution
I am using fitdist to estimate the parameters of the beta distribution and adjust them to a data set as follows as it presents the codes. I would like to understand why it is not adjusting to the…
-
0
votes2
answers220
viewsQ: Interaction graph using ggplot2
all right? I am trying to make a graph of interaction between the subjects (Variable S) being these subjects colored in 5 colors (which are the groups (variable G), but is giving the following…
-
4
votes1
answer114
viewsQ: Problems in the covariance structure
Hi guys All right? I’m having some problems about defining the covariance structure in R. I need to adjust the following covariance matrices: AIR GUN compSymm Uniform. As you can see in the code…