View source: R/create_mds_samples.R
create_mds_samples | R Documentation |
Create dataframe of coordinates for multidmensional scaling of posterior samples
create_mds_samples(
mod_list,
n_samples = 200L,
k = 3,
vadis_line = NULL,
path = NULL
)
mod_list |
list of regression model objects of class |
n_samples |
integer indicating number of samples to pull |
k |
= the maximum dimension of the space which the data are to be represented in the MDS; must be in $1, 2, …, n-1$ (see |
vadis_line |
list containing the output of |
path |
filepath to which to save the output as an .csv file. If |
The function creates a dataframe containing MDS coordinates of distance matrices derived from posterior samples of coefficient estimates. Currently only works with brmsfit
objects.
a dataframe
Jason Grafmiller
## Not run:
Coming soon...
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.