1
vote
0answers
6 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
12 views

How to handle large .csv file in R? [migrated]

I have a large(>100,000) single column floating point time-series data. I want to find structural changes within the data with respect to time( in my case index). In-order to do that, I am using R ...
0
votes
0answers
3 views

Create grid and color cells with average values of scatterplot using ggplot2 [migrated]

Given a numeric dataset $\{(x_i, y_i, z_i)\}_{i = 1}^N$, one can create a scatterplot by drawing a point $P_i = (x_i, y_i)$ for each $i = 1, \dots N$ and color each point with an intensity depending ...
0
votes
0answers
22 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
25 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
30 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. ...
0
votes
0answers
18 views

How can I display the formula/expression of a lm result in a plot in R? [migrated]

For example, if I was to plot a trendline in Excel I can choose to include its formula on the chart, it will display something like myY = 0.5 + 0.5 * myX. R has ...
2
votes
0answers
63 views

Generate boxplots for a combination of categorical variables [migrated]

How would I do the following? In a single plot, I would like to create multiple box plots, each X variable being a combination of the categorical variables shown below. ...
0
votes
0answers
21 views

R error in xyplot Error in units == units[1L] : comparison of these types is not implemented [migrated]

I have a problem in R with the xyplot (lattice package). For some reason I get the following error: error in xyplot Error in units == units[1L] comparison of these types is not implemented. ...
0
votes
0answers
15 views

Merge two different plots: one in the X-axis and the other in the Y-axis [migrated]

I have the represented independently these two plots using R: PLOT 1 ...
1
vote
0answers
48 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
128 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
25 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 ...
0
votes
1answer
38 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
68 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
35 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
42 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
93 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
188 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
169 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
41 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
60 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
84 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
77 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
33 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
13 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 ...
14
votes
1answer
571 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
107 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
134 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
117 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
66 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
50 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
66 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
70 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
33 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
66 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
105 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
161 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
105 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
43 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
48 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
78 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 ...
2
votes
1answer
366 views

Detecting heteroscedasticity - Can I use Breusch-Pagan Test on binary logistic regression?

I'm currently testing a (binary) logistic regression model, which seems to have at least some issues with multicollinearity. Now I don't really trust the data anymore and would like to also test it on ...
0
votes
1answer
62 views

Good way to plot a variable between conditions with multiple measurements

I've a frame containing Participant----Condition----Duration Participant1,One,2000 Participant1,One,2780 Participant1,One,200 Participant2,Two,2000 Participant2,Two,2340 ...
0
votes
1answer
75 views

Basic R script/package with lots of automated calculations [closed]

Does that exist? A basic R script or package that just needs the data, and it spits lots of “basic” statistics (like the mean, the median, quartiles, make a plot, a boxplot, a histogram, a cumulative ...
0
votes
1answer
100 views

R: plotting a prediction model and understanding results

I am experimenting with developing a linear model lmodel1 which predicts a temp response variable, given three independent ...
1
vote
1answer
280 views

Visualizing large dataset with multiple subgroups

I have a large data frame in the following form (I apologize for this formatting): ...
2
votes
0answers
116 views

Analyzing CART type trees in R--options for grouping results, formatting plots

I'm new to using CART trees, but have been asked to do so for a project I'm working on. I've had success running the scripts (from both RPART and PARTY packages) but I can't seem to get exactly what ...
1
vote
0answers
64 views

PCA figure formatting options in R

I've completed PCA analysis, in R with VEGAN package, of some ecological data on tree health. There are 80 trees total (so, 80 'sites') divided into four treatment categories. I've got the data ...