Questions tagged [sjplot]

sjPlot is a collection of several plotting and table output functions for data visualization o R.

About

Its a collection of several plotting and table output functions for data visualization. Results of several statistical analyses (that are commonly used in social sciences) can be visualized using this package, including simple and cross tabulated frequencies, histograms, box plots, (generalized) linear models (forest plots), PCA, correlations, cluster analyses, scatter plots etc.

Links

280 questions
0
votes
2 answers

How to put my own label values on sjp.grpfrq() bar plot

How can I set my own percentage value labels on a bar plot generated with sjp.grpfrq() function from sjPlot package? Here is an example: v <- structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,…
user2641103
  • 704
  • 9
  • 25
0
votes
1 answer

"there is no package called" error during installation of sjPlot

library("sjPlot", lib.loc="~/R/win-library/3.2") Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘pbkrtest’ Error: package or namespace load failed for ‘sjPlot’ > sjp.lmer(fitted2,…
Bikash Deb
  • 55
  • 1
  • 7
0
votes
1 answer

lost information when not all values have "value labels" in sjmisc sjPlot

In sjmisc / sjPlot r packages I've got a variable in which not all the values have 'value labels'. See example: library ("sjmisc") library ("sjPlot") agreement <- sample (1:5, 40, replace = TRUE) agreement <- set_labels(agreement, c(`1` = "Full…
0
votes
1 answer

R Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 5, 3

So I'm using sjp.likert function from de 'sjPlot' package, to make a series of plots of different dataframes in which their columns correspond to different questions that follow a likert format. The exact dataframe is reproduced below: col_1 <-…
csmontt
  • 614
  • 8
  • 15
0
votes
1 answer

PrimeFaces Bar Chart Formatting

I'm trying to do 2 things on my Bar Chart: Change the format of the number of yaxis to ###,###(12000) instead of ######(12000); Changing the mouse tooltip to show just the y axis value. 14554 in instead of 1,14554 I've tried using custom extender,…
-1
votes
1 answer

Can you change the shape of the points in ggeffects or Sjplot?

I can't figure out how to change the shape of the points in sjplot or ggeffects - I have in sJplot: p<-plot_model(my.lm, type = "pred", terms = c("Var1", "Var2", "Var3")) This makes the points of Var 2 different colors, but I need them to be…
Katie Tetzloff
  • 55
  • 1
  • 1
  • 6
-1
votes
1 answer

How to improve line quality and edit axis in sjPlot

I am wanting to improve a plot made with the package sjPlot. When plotting the code below, plot produced looks like this I just have two concerns with this, the first one is that lines seem a bit pixelated (mainly the lines red and green), and I…
user12257
  • 11
  • 4
-1
votes
1 answer

How to change sjp.int y-axis label

How do you change the y-axis label using sjp.int? I see axis.title for changing the x-axis but nothing for changing the y-axis.
Sarah J.
  • 1
  • 1
  • 2
-1
votes
2 answers

sjplot sjt.frq in new window / tab

I'm working with sjPlot in order to get "pretty" tables. I managed to create a really nice contingency and another table providing me with frequencies of a variable. Everything is just nice and the way it should be - except for one thing: I work…
RJW
  • 13
  • 1
  • 1
  • 5
-2
votes
1 answer

plotting fixed effects from lme4

I am plotting the estimates from the fixed effects model. Is there a way to only plot some of the fixed effects, rather than all? sjp.lmer (model.name, type = "ri.pc", facet.grid = FALSE) I am also using lmerTest to obtain p values for…
sar
  • 182
  • 6
  • 26
1 2 3
18
19