본문바로가기


페이지 위치

블로그

Home 블로그

블로그






[R공부]

분산분석의 다중비교 시각화

  • 2022-07-25   의견나누기 0

 

install.packages("ggstatsplot")
install.packages("PMCMRplus")
library(ggstatsplot)
library(PMCMRplus)

 


ggstatsplot::ggbetweenstats(
  data                       = iris,
  x                           = Species,
  y                           = Petal.Length,
  type                       = "parametric", # ANOVA or Kruskal-Wallis
  var.equal                 = TRUE, # ANOVA or Welch ANOVA
  plot.type                 = "box",
  pairwise.comparisons = TRUE,
  pairwise.display        = "significant",
  centrality.plotting      = FALSE,
  bf.message              = FALSE
)

 

Comment 0

닉네임과 이메일은 현재 사용기기에 저장되어 다음부터 편리하게 글을 공유할 수 있습니다.



빠른메뉴



페이지 맨 위로 이동