-3
votes
1answer
65 views

Bayesian Data Analysis [on hold]

I started recently studying the Bayesian Data Analysis. I installed R studio, BEST and JAGS. I ran this analysis on two groups of means (...
0
votes
0answers
25 views

Visualize a large binary matrix with instances and three classes

I have a matrix with 9500 columns and 1000 rows. Each row represents an instance. I have three classes and an instance belongs to a class. Each column represents a binary feature. That is, each cell ...
0
votes
1answer
19 views

Bivariate Kernel Density plot

Suppose that I have two variables, $X$ and $Y$ that I want to correlate, i.e. in the manner of a scatterplot of $(X_i,Y_i)$. But I also want to show the density of each variable. A scatterplot ...
1
vote
1answer
23 views

Plot one predictor and its quadratic term versus response variable (GLM binomial distribution)

I have the following model with four independent variables: Model_A <- glm(GRSP~ppt+tem+density+land+I(land^2), family=binomial()) When I plot the variable ...
0
votes
0answers
16 views

Residuals plot from ripley K function on spatstat

I am a rookie on R and on spatstat package. I would like some help with the Kres function on spatstat. As is always wise to plot the residuals from any kind of ...
6
votes
4answers
529 views

For plotting with R, should I learn ggplot2 or ggvis?

For plotting with R, should I learn ggplot2 or ggvis? I don't necessarily want to learn both if one of them is superior in any regard. Why R community keeps creating new packages with overlapping ...
4
votes
2answers
100 views

Tournament Plotting: Who is good against whom?

I would like to get insight into who is good against whom. Imagine a tournament setting* of 40 contestants and you're interested in seeing who is good against who in the top 10: how could we make this ...
2
votes
1answer
36 views

How to check my data set is following non-linear to linear regression?

I have two data sets with y and X1,X2,X3,....,X6 all Xi's are independent variables and y is dependent variable. Instructor said that one data set will follow linear regression and other will follow ...
0
votes
0answers
34 views

Plot 2D view of 3D joint ecdf with isolines

I have this matrix, histDict, which is a dictionary of data of variable X for each value of variable ...
1
vote
2answers
67 views

Graph with 2 interacted continuous predictor vatiable

When using glm(link=logit), I detected a significant interaction between two continuous predictor variables. How can I present the results visually using R?
0
votes
0answers
47 views

Bootstrapping interaction effects with boot() and the effects package - environment problems?

UPDATE AT BOTTOM - workaround and exciting new roadblock! UPDATE #2: SOLVED. Details at bottom. This is a combination stats/programming question, so I apologize if it should go somewhere else. I'm ...
0
votes
0answers
15 views

How can I reach the plot of outlier effetc of a TC outlier?

In this article there is a plot of the outlier effect. Detecting Outliers in Time Series (LS/AO/TC) using tsoutliers package in R. How to represent outliers in equation format? How can I have this ...
11
votes
3answers
565 views

How to present box plot with an extreme outlier?

I could use some guidance about presenting some data. This first plot is a case-control comparison for the cytokine IL-10. I've manually set the y axis to include 99% of the data. The reason I ...
4
votes
2answers
52 views

Name for combining related graphics

Often we combine related graphics to help us better understand a problem. We do this for poster talks in research (though we include text). Many info-graphics also do this as do this as do ...
0
votes
0answers
23 views

APA-style forest plot using metafor [duplicate]

I have produced a forest plot visualizing results of a meta-analysis, trying to meet the requirements according to the APA style, i.e., statistical terms to be italic, e.g., k = 10, or sub-scripted, ...
1
vote
0answers
37 views

plotting hurdle regression output

I am attempting to plot hurdle regression output with an interaction term in R, but I have some trouble doing so with the count portion of the model. ...
0
votes
0answers
55 views

Plottin lavaan SEM/CFA in APA-style

I like doing SEM's with lavaan. But I dont like reporting them because I haven't found a good way to plot them in APA-style. I usually rebuild the model in PowerPoint and add the parameters by hand. ...
1
vote
0answers
59 views

how to use ggplot2 make recursive partitioning survival tree [closed]

can everyone tell me how to use ggplot2 make recursive partitioning survival tree? I know " party " package can make a plot in R, however the plot is not looking good, and all the plots in the rest ...
1
vote
1answer
264 views

Smoother lines for ggplot2

This question probably has a simple solution, still the thing is I've written a code to plot mortality in 2 different groups and that is, death in obese patients vs not obese. Now their are 2 groups ...
0
votes
0answers
36 views

Leave-one-out cross validation in selecting predictor

I am a newbie here. There are 155 total samples. Five different predictors Xi (i=1,2...5) are used to predict Y, like X1 X2 X3 X4 X5 Y .... The objective is to find the best predictor Xi to ...
1
vote
1answer
82 views

e1071 svm queries regarding plot and tune

I am new to R and I am learning the e1071 packages' svm function. Following are the few questions I have. How does the plot function work? I cannot understand the plotting case with more than 2 ...
0
votes
1answer
78 views

Visualize process data

I have a dataset of order processing with 8 million rows with following columns: HistoryId - Identity column of the records ...
2
votes
1answer
42 views

How to plot a comparison of read counts in R

I have a bunch of genetic read counts for different several genes. Each gene is divided into two groups (0 and 1). What I want to do is make a vertical plot side by side of the 0 group and the 1 ...
2
votes
1answer
44 views

VIsualizing the effect that only one predictor has on the outcome (R)

So I have performed a logistic regression on a data set with multiple predictors. I want to graphically represent the relationship between the outcome and only one of the predictors. What would be the ...
2
votes
2answers
102 views

How to visualize this data?

Here I have shown the first two lines of my data frame. It goes on for a number of lines. I am wanting to make plots to show what is happening over time . e.g a plot showing the sequence of grip ...
6
votes
4answers
213 views

Help creating a chart to show categorical data over time

The scenario: Over a course of 10 minutes 2 security guards patrol a floor and have their movement tracked. They can either be on the left or the right side of the floor, and within each side of the ...
1
vote
1answer
288 views

Forest plot for meta-analysis displaying the mean ES with and without outliers

I am conducting a meta-analysis and am trying to produce a forest plot displaying the mean weighted effect size with and without the outliers. I looked on so many websites and tried a lot of syntaxes, ...
3
votes
1answer
59 views

How to plot correlation coefficients from multiple regressions while leaving out some of the variables from the plot?

Lets say that I have "y" that I want to model with linear regression. "x" and "z" are the things I'm interrested in showing folks, but I also have things that I want to adjust for, but not really show ...
2
votes
1answer
72 views

Plotting a “ragged array” - a list of vectors in R [closed]

I have a list of numeric vectors, not necessarily all the same length. I'd like to get a plot where each vector in the list is plotted vertically above a label for that vector on the x-axis. Is ...
2
votes
1answer
94 views

I don't understand the figure output from package lme4 in R using the effects library?

I am using linear-mixed effect models to analyse my data (the interaction between on and arc; both ...
1
vote
3answers
85 views

Visualize effects of a regression with categorical explanatory variables (3 levels) in R?

Using R, I want to run a linear regression to estimate the abnormal return on days with positive, negative and neutral news (CLASS). I'm a beginner in R, as well as in using regression models! First ...
0
votes
0answers
47 views

Interpret the effect of factor in GAMM

this will probably look like a trivial question but I am having trouble explaining the difference between the output plots of two models I built. My data are disease counts on algae. I would like to ...
0
votes
0answers
14 views

Plot triple optimization boosting procedure

I am looking for a way to graph a triple optimization used in boosting. I did individual cross-validation on shrinkage, number of trees, and interaction depth and found the boundaries of interesting ...
16
votes
1answer
1k views

How to interpret a QQ plot

I am working with a small dataset (21 observations) and have the following normal QQ plot in R: Seeing that the plot does not support normality, what could I infer about the underlying ...
2
votes
2answers
129 views

How can I cluster data in a grid-like fashion and heat map the averages in R?

I have a data frame of 3 columns. The first one is the response variable the second and the third ones are some criteria. You can create your own example similar to mine, using this piece of code with ...
4
votes
2answers
193 views

Plotting a categorical response as a function of a continuous predictor using R

I would like to plot the relationship between a binary categorical response variable and a continuous predictor to study its shape. The goal is to prep a logistic regression. This image may clarify: ...
3
votes
1answer
105 views

Plotting results with many features

I need an advice for plotting my results. I got different classification results by including different features and different k values. So, I got different results for each of them: My features: ...
1
vote
1answer
140 views

Plots to illustrate results of linear mixed effect model

I've been analysing some data using linear mixed effect modelling in R. I'm planning to make a poster with the results and I was just wondering if anyone experienced with mixed effect models could ...
1
vote
1answer
97 views

How can I modify default parameters of a gbm.step plot?

I am using the function gbm.step() from the dismo package to assess the optimal number of boosting trees using k-fold cross ...
5
votes
1answer
51 views

Parameter region for existence of solutions of equation

How does one plot the set S of parameter region of equations using r?. My problem is that I have one equation with 2 variables defined by $g(x,a,b) = 0$ and I want to plot the set of $(a,b)$ where the ...
0
votes
1answer
104 views

Interpretation of NbClust result

The plots show the output of NbClust(). By looking at the plot, is that correct to say that k=5 is the optimal number of ...
-2
votes
1answer
73 views

Best tutorials for R beginner? [duplicate]

Heyo- I just started fooling around with R and want to find a good tutorial. Suggestions? Also, are there other things I should be doing to beef up my R chops? Context: very little coding ...
1
vote
0answers
35 views

How to run two motion plots together in R? [closed]

I'm doing a real recreation of the annual tree growth from tree-ring measurements, and I have many problems working with graphs and their margins. I have done the two graphs separately and these work ...
3
votes
1answer
71 views

How to best display results from a factorial design?

How can I create plots in R like this mockup made in Powerpoint? In other words, for each combination of x-axis and y-axis values, I want to plot two triangles which, together, form a square. I ...
3
votes
1answer
145 views

How to interpret this residuals vs fitted plot for logistic regression using R

I am working on a logistic regression on some fundraising data where "gave" is a rare event (approx 3.5%). My current model has 64% accuracy on test data and an AUC of .604. When I run the standard ...
2
votes
1answer
199 views

Plot graph with more than one value on x and y-axis in R

I have a dataset containing two columns and a total of 90 rows. The data is from my experiment where in the first column I have an integer representing the quantity, in the second column I have a ...
2
votes
1answer
144 views

How to graph interaction effects for panel data

I have a pretty generic question which I am guessing could be relevant to many social scientists who deal with panel data sets. What are the best practices for making graphs about interaction effects. ...
0
votes
0answers
46 views

Question about DIANA algorithm and plotting the result

I am using the diana() function in R from the "cluster" package to cluster some data. To plot the result I use pltree(): pltree(diana(data.dist)) So the problem is that I have 3 brances in one node ...
1
vote
0answers
61 views

Plotting fitted values for an nlme model

I just got the output of my lme (nlme) model called shalit5 with syntax: ...
2
votes
0answers
79 views

How to get the regression from a plot?

I have a dependent variable C and an independent variable VPT. VPT is the average volume per ...