0
votes
0answers
9 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 ...
1
vote
0answers
6 views

Labels missing in R likert plot [migrated]

I am trying to plot a simple likert graph. Somehow I am not able to set the value of legends. Can anyone please tell me how can I do that? The following is the ...
0
votes
0answers
4 views

Time in years(x axis) shows years in .5 interval - Time Series using R [migrated]

dsales1156ts<-ts(dsales1156,frequency=365,start=c(2011,6)) # This is my time series created with daily sales data when the first sale day is 6th January 2011. plot(dsales1156ts) The ...
0
votes
0answers
28 views

Time varying coefficient time series [on hold]

I have a data set which is the exchange rate of USD and GBP from 2007-01-07 to 2014-06-06. I used the derivatives of a probability density to estimated the optimal bandwidth h = 0.04071872. I want to ...
0
votes
0answers
15 views

Label positioning issues using R's base plotting system [on hold]

I would like to resolve label positioning issues in the plot shown below by using R's base plotting system. I realise that this question is in/directly related to a question asked at ...
0
votes
0answers
21 views

Sharing a Legend between two combined ggplots [migrated]

I'm currently trying to present two time series using ggplot2, both with very different scales, using two ggplots. I've combined the two separate ggplots, one on top of the other, using ...
0
votes
1answer
57 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
31 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
39 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 ...
0
votes
0answers
7 views

Obtain resulting table to plot graphics in R [migrated]

I'm new with R in QGIS, I could write a simple script, and I want to obtain the table resulting, the table wich R uses to create the plot graphics. How can I do that? This is the script: ...
0
votes
0answers
11 views

Increase plot graphic details in R [migrated]

I'm new with R in QGIS, I could write a simple script, and I want to increase the detail of the plot. How can I do that? This is the script: ...
2
votes
2answers
89 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
180 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
2answers
85 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
31 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 ...
0
votes
0answers
8 views

custom axis labels plotting a forecast in R [migrated]

I'm trying to get some sensible labels on a forecast. Here's my code: ...
2
votes
1answer
52 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
68 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
75 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
24 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
12 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
541 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
95 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
108 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
103 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
100 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
53 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
48 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
53 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
66 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
29 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
60 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
92 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
129 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 ...
1
vote
1answer
81 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
40 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
44 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
77 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
300 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
58 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
68 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
95 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
261 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
101 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 ...
4
votes
1answer
158 views

Time series prediction: visualising path uncertainty region

I am predicting a time series' future evolution and am evaluating the path uncertainty using bootstrapping. Is there a good way to visualise the uncertainty that goes beyond simply plotting a pair of ...
-1
votes
1answer
28 views

R plot set scale [closed]

I did some research and didn't find what I was looking for: I have a data set x = 10,100,1000 and y1, y2, y3 respectively, and I want to plot those points. But what is happening is that in the x ...
3
votes
1answer
118 views

Interpreting box plots with one whisker [duplicate]

I have done a boxplot to represent my claim frequency. However make 2 and 4 have only 1 whisker. How do I interpret that?
5
votes
1answer
246 views

Interpret clustering plotted in the first two principal components

I got this plot when I plotted a clustering object in R. If I run km <- clara(data, 2), then plot(km), I get a similar ...
0
votes
0answers
112 views

How to plot binomial regression model in R

I´m trying to visualize a glm model with a binomial response variable, I want to put a line in the plots, but neither lines or ...