| export.nodal | R Documentation |
Takes any output from nodal functions (niches, nodal.local, nodal.global, or nodal.network) and presents it in one matrix for further analysis outside of Blaunet or output to disk.
export.nodal(blauObj, niches = TRUE)
blauObj |
An object of class blau initialized with the function blau. User must have called at least one of the following functions: |
niches |
Defaults to |
This function is useful to manipulate the computed nodal Blau statuses and analyze them outside the Blaunet program, either within R or by exporting them to another statistical package.
Returns an object of class data.frame that includes all output from niches, nodal.local, nodal.global, or nodal.network previously computed by the user. The user must manually call one or more of these four functions prior to calling export.nodal. Columns are labeled with the name of the measure. Row names are node names provided with the blau function.
data(TwoCities) b <- blau(TwoCities, node.ids = 'respID', ecology.ids = 'samp') #blau object will store whatever you compute b <- nodal.global(b, dev.range = rep(1.5, 10)) # 10 is the number of dimensions b <- nodal.local(b, dev.range = rep(1.5, 10), focal.niche = 'grppta') # 10 is the number of dimensions in the command line above export.nodal(b) #will export global and local export.nodal(b, niches = FALSE) #suppress niche export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.