Extract or Replace parts of the NFP basic networks.

subnet(object, group_name, index = NULL)

# S4 method for NFPRefnet
subnet(object, group_name, index = NULL)

Arguments

object,
NFPRefnet class.
group_name,
character, indicating the groups to subset.
index,
numeric, character or NA, indices specifying elements to extract. This parameter only works while group_name is a length-one character. Default is NULL, indicating extract all the networks of a group. See details for more information.

Details

This function help users to extract the specific networks for customized analysis, which could be of entire group networks or some part of a specific group networks.subsequent analysis.

Note, the index argument is only worked while one argument is consideration, which means group_name is a length-one character. And default is NULL, indicating extract the entire group basic networks.

See also

NFPRefnet-class