Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1191

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

1 vote
Accepted

grid of colored squares data visualization

Sounds like a "waffle chart" -- here's one R implementation. In general you can make such a chart with a scatterplot of square markers placed in a grid. …
xan's user avatar
  • 8,978
6 votes

Name for combining related graphics

Stephen Few (unsuccessfully) addressed this issue in a 2007 article, Dashboard Confusion Revisited and suggested the term "faceted analytical display": A “faceted analytical display” is a set of i …
xan's user avatar
  • 8,978
3 votes
Accepted

Drawing smooth 2D curves with 2D spline in R

The xspline function offers a generalization of Catmull-Rom splines, which sounds like what you want. From the examples:
xan's user avatar
  • 8,978
7 votes
Accepted

detect line in scatter

Here's a quick R attempt starting with your code. ############################# # Hough transform: # for each point find slopes and intercepts that go through the line ############################# …
xan's user avatar
  • 8,978
6 votes
Accepted

Plotting distributions of variables across time

Something like these quartile bands may work. You can add more quantiles if more detail is needed, but sometimes less is more. The quartiles will be enough to get a sense of the spread and the skewnes …
xan's user avatar
  • 8,978
0 votes

Confidence interval for values for a fitted line

You can automate the process within JMP using the JSL (JMP Scripting Language). Start by selecting Script > Save to Script Window from the analysis contextual red-triangle menu. That will give you a s …
xan's user avatar
  • 8,978
5 votes

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

If you check the source (tar.gz), you can see how the plot is made by gbm.step. Most of the settings, like the labels and colors, are hard-coded. But it's possible to suppress the generated plot and m …
xan's user avatar
  • 8,978
6 votes
Accepted

Advice needed on plotting relativey extremely small values

With three numbers of disparate sizes you may be better off with a table instead of a graph. If you have to transform, you're starting to loose some of the benefit of visual encoding, especially for p …
xan's user avatar
  • 8,978
1 vote

Function to plot model with one variable varying and others constant

In JMP, these are called Profilers or Profile Plots: Not sure about R, but I found a CV question involving a similar R plot using a function called "profile". …
xan's user avatar
  • 8,978
1 vote

Processing time prediction

It looks like your times are growing linearly, so it seems reasonable to extrapolate from a linear model, as commenter Zheyuan Li suggests. The caveat is that who know what really happens after 100 …
xan's user avatar
  • 8,978
15 votes

How can you visualize the relationship between 3 categorical variables?

This is an interesting data set to try to represent graphically, partly because it's not really categorical. Both 3-level factors are ordinal and there is possible interplay between them (presumably, …
xan's user avatar
  • 8,978
3 votes
Accepted

Can a triangle plot be used for metrics that do not sum to 100%?

No, a ternary plot is only able to collapse three dimensions into two because the third variable is dependent on the other two. z = 100% - x - y. Instead, you might try a 2D scatter plot for two of y …
xan's user avatar
  • 8,978
16 votes

How should tiny $p$-values be reported? (and why does R put a minimum on 2.22e-16?)

Such extreme p-values occur more often in fields with very large amounts of data, such as genomics and process monitoring. In those cases, it's sometimes reported as -log10(p-value). See for example, …
xan's user avatar
  • 8,978
10 votes

Data visualization of average and standard deviation over a small time series

You mean you don't want a line plot like this? :) Time is a natural for the X axis and line plots. Here's a better view using a small multiples approach. Sometimes it helps to order the panels …
xan's user avatar
  • 8,978
7 votes

Plotting results with many features

Your Feature variable with 64 different feature combinations (or 63 if you don't count the empty one) is equivalent to 6 independent binary variables. So, adding k, you have 7 factors and 2 responses. …
xan's user avatar
  • 8,978

15 30 50 per page