View source: R/get_association_network.R
get_association_network | R Documentation |
Creates, plots, and returns association networks for specified clans
get_association_network(
clan,
start,
end,
network_duration = "6 months",
return_nets = F,
plot_nets = F,
output_pdf_pathname = NULL
)
clan |
One (or more) clan names, supplied as a character vector. |
start |
Start date for desired networks |
end |
End date for desired networks |
network_duration |
Duration of data for each network. If NULL, all data between start and end are lumped into one network. |
return_nets |
Should networks be output? |
plot_nets |
Should networks be plotted? |
If |
|
Returns weighted, undirected networks for each time period
get_association_network(clan = c('serena.s', 'serena.n', 'happy.zebra'), start = '2009-01-01', end = '2025-01-01', network_duration = '12 months', return_nets = F, plot_nets = T, output_pdf_pathname = '~/Desktop/serena_nets.pdf')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.