plot.LSM: Plot the posterior means of a LSM object

Description Usage Arguments Value

View source: R/LSM.R

Description

plot.LSM() takes an object returned by LSM, and returns a plot of the posterior means. Use standard arguments to the plot function to modify the plot as needed.

Usage

1
2
3
plot.LSM(LSM_Object, group1_cluster = NULL, group2_cluster = NULL,
  main = "Estimated LSM Positions", legend = c("Group1", "Group2"),
  legend_position = "topleft", ...)

Arguments

LSM_Object

A trained object of class LSM

group1_cluster

A vector representing the cluster of group1

group2_cluster

A vector representing the cluster of group2

Value

a plot of the posterior means


insongkim/polnet documentation built on March 3, 2020, 11:55 p.m.