jpeelle,

In the past when I've done correlations between many (10,000s) of values, I've done this sort of histogrammy approach. Does anyone know

  1. Is there a real name for this kind of plot? and

  2. Is there an R function/package that makes this easy?

My initial searches haven't turned up anything although I swear I found something relevant in the past… @rstats

lcparra,

@jpeelle @rstats joint density.

jonny,
@jonny@neuromatch.social avatar

@jpeelle
@rstats
What are x and y here?

jonny,
@jonny@neuromatch.social avatar

@jpeelle
@rstats
Like "heatmap" is correct for "value Z As color against params x and y", but depending on what it is it there are more specific names - it doesnt look like a correlation matrix, but it does look like a 2D probability density. If youre not already using it, the answer is https://ggplot2.tidyverse.org/reference/geom_density_2d.html

izzy,
@izzy@mstdn.games avatar

@jpeelle @rstats I've heard this referred to as a "heatmap" or "density plot" (I prefer the former - a density plot to me is that "layered waves" type plot.)

How to generate this in depends on what your underlying data looks like, but I've had good success with , as well as dedicated packages for visualization of fitted models.

Examples for base R & : https://statisticsglobe.com/heatmap-in-r

Examples for GAMMs - scroll down to the smooths section: https://m-clark.github.io/generalized-additive-models/application.html

RichiH,
@RichiH@chaos.social avatar

@jpeelle @rstats heatmap

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rstats@a.gup.pe
  • khanakhh
  • magazineikmin
  • mdbf
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • tester
  • JUstTest
  • ethstaker
  • cubers
  • osvaldo12
  • cisconetworking
  • Durango
  • InstantRegret
  • normalnudes
  • Leos
  • modclub
  • anitta
  • provamag3
  • megavids
  • lostlight
  • All magazines