broom Questions

2

Solved

I would like to plot the results of a GAM as dot-and-whisker plots using the dwplot() command in the dotwhisker R package. The example in the package documentation is as follows: #Package preload ...
Crescint asked 2/4, 2020 at 20:56

3

Solved

I've just updated R to version 3.6.2 "dark and stormy night" released December 12th last year. I've tried installing the following packages but have received the same error, "installation of packag...
Aubervilliers asked 28/1, 2020 at 1:56

3

Solved

Alright, I'm waving my white flag. I'm trying to compute a loess regression on my dataset. I want loess to compute a different set of points that plots as a smooth line for each group. The pro...
Leastwise asked 3/5, 2018 at 20:8

1

Solved

I installed broom.mixed package via conda conda install -c conda-forge r-broom.mixed, however, it doesn't import and shows error message: library(broom.mixed) Error: package or namespace load fail...
Kosak asked 16/1, 2022 at 5:3

3

Solved

In the most recent version of ggplot2, ?fortify returns: Description Rather than using this function, I now recomend using the broom package, which implements a much wider range of methods. ...
Brenza asked 31/12, 2015 at 8:31

1

I am using dplyr and broom to compute kmeans for my data. My data contains a test and training set of X and Y coordinates and are grouped by a some parameter value (lambda in this case): mds.test...
Discordancy asked 18/10, 2016 at 4:40

1

Solved

I am using a dataset from an online practice tutorial and the code can be found at the bottom of Page 4 (https://tomhouslay.files.wordpress.com/2017/02/indivvar_mv_tutorial_asreml.pdf) In the tutor...
Rebane asked 16/11, 2020 at 9:2

3

The answer to this question clearly explains how to retrieve tidy regression results by group when running a regression through a dplyr pipe, but the solution is no longer reproducible. How can one...
Staphylo asked 18/7, 2020 at 19:21

2

Solved

I am trying to learn how to automate running 3 or more regression models over subsets of a dataset using the purrr and broom packages in R. I am doing this with the nest %>% mutate(map()) %>% unnes...
Clericals asked 2/1, 2020 at 20:13

1

Solved

I would like to calculate Wald confidence intervals of the coefficients of a glm on a somewhat large data set, and use broom for a tidy output. mydata <- data.frame(y = rbinom(1e5,1,0.8), x1 ...
Plantation asked 31/10, 2018 at 20:34

2

Solved

I am trying to plot a dot-whisker plot of the confidence intervals for 4 different regression models. The data is available here. #first importing data Q1<-read.table("~/Q1.txt", header=T) #...
Vat asked 16/10, 2018 at 20:43

3

I have been using the broom package's tidy() function in R to print my model summaries. However, the tidy() function returns p-values without stars, which makes it a bit weird for many people who ...
Valenza asked 20/2, 2018 at 3:36

2

Solved

I have several models such as the example below for which I have estimates, standard errors, p-values, r2 etc. as data.frames in tidy format, but I don't have the original model objects (analysis w...
Radie asked 26/8, 2018 at 15:41

2

Solved

I have the following data frame: library(tidyverse) dat <- structure(list(charge.Group3 = c(0.167, 0.167, 0.1, 0.067, 0.033, 0.033, 0.067, 0.133, 0.2, 0.067, 0.133, 0.114, 0.167, 0.033, 0....
Frisco asked 14/8, 2018 at 9:16

2

Solved

This is related to rolling regression by group in the tidyverse? Consider again this simple example library(dplyr) library(purrr) library(broom) library(zoo) library(lubridate) mydata = data_fra...
Televise asked 8/8, 2018 at 18:13

3

Solved

I'm looking for a Tidyverse / broom solution that can solve this puzzle: Let's say I have different DVs and a specific set of IVS and I want to perform a regression that considers every DV and th...
Grillroom asked 1/8, 2018 at 20:57

4

Solved

There are many questions about rolling regression in R, but here I am specifically looking for something that uses dplyr, broom and (if needed) purrr. This is what makes this question different. ...
Provitamin asked 10/4, 2018 at 20:9

1

Solved

all. I want to obtain the p-value from a correlation matrix using dplyr and/or broom packages and testing multiple variables at the same time. I'm aware of other methods, but dplyr seems easier and...
Poirier asked 22/5, 2018 at 1:42

1

Solved

I am trying to use augment on a loess fit, but I receive the following error: Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 32, 11 In the error mess...
Lazulite asked 2/4, 2018 at 18:6

4

Solved

Consider the following data / example. Each dataset contains a number of samples with one observation and one estimate: library(tidyverse) library(broom) data = read.table(text = ' dataset sample...
Tripe asked 5/2, 2018 at 16:23

3

Solved

I often like to fit and examine multiple models that relate two variables in an R dataframe. I can do that using syntax like this: require(tidyverse) require(broom) models <- list(hp ~ exp(cyl...
Strapped asked 2/2, 2018 at 17:30

3

Solved

I would like to draw SpatialPolygons from library sp with holes in ggplot2. Thanks to others questions on stackoverflow, I know that this is allowed while dealing with clockwise written polygons: h...
Tho asked 23/5, 2017 at 16:45

2

Solved

I know there are several ways to compare regression models. One way it to create models (from linear to multiple) and compare R2, Adjusted R2, etc: Mod1: y=b0+b1 Mod2: y=b0+b1+b2 Mod3: y=b0+b1+b2+...
Barca asked 28/11, 2017 at 23:22

2

I am using the getData function from the raster package to retrieve the map of Argentina. I would like to plot the resulting map using ggplot2, so I am converting to a dataframe using the tidy func...
Griggs asked 13/11, 2016 at 17:1

4

Solved

I have a dataframe with one column of a response variable, and several columns of predictor variables. I want to fit models for the response variable using each of the predictor variables separatel...
Investigator asked 20/12, 2016 at 16:42

© 2022 - 2025 — McMap. All rights reserved.