Description Usage Arguments Details Value See Also
View source: R/filteredNBDAdata.R
This function can be used to filter out individuals (or more generally lines of data). This removes them as learners only so their influence as potential transmitters of information is not removed.
1 | filteredNBDAdata(nbdadata, filter, exclude)
|
nbdadata |
an object of class |
filter |
a string specifying the part of the nbdaData or dTADAData object to use as a filter variable. Setting
|
exclude |
a vector specifying the cases to be excluded. If "id" is used as a filter the target individuals can be specified
by concatenating as a string the label of the diffusion, "_", and the row number of the individual in assMatrix. e.g. if the
diffusion label is "Diffusion1" and we wish to filter out individuals 5 and 11, we would specify
|
The user may wish to remove individuals from the NBDA to examine their influence on the results, or because they have good
reason to consider them to be unrepresentative outliers. Removing these individuals from the diffusion when creating the
nbdaData
or dTADAData
object has the disadvantage that it removes those individuals as potential
transmitters of information thus breaking up pathways of social transmission. Using filteredNBDAdata
to remove
individuals retains their potential influence as transmitters of information but removes the as learners when fitting the model.
An object of class nbdaData
or dTADAData
depending on the input data.
constrainedNBDAdata
, nbdaData
, dTADAData
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.