Learn R Programming

flowPlots (version 1.20.0)

pfdPartsData-methods: Method pfdPartsData from Class "StackedData"

Description

This function is a method of the StackedData class which retrieves the pfdPartsData from a StackedData object or which assigns the pfdPartsData data slot of a StackedData object.

Usage

# Get the pfdPartsData from a Stacked Data object. pfdPartsData(object) # Set the pfdPartsData of a Stacked Data object. "pfdPartsData"(object) <- value

Arguments

object
an object of the StackedData class
value
a replacement value

Value

a list. Each element of the list is a data frame containing the component percents for a given degree of polyfunctionality (PFD), except for the max PFD since there is only one possible combination for the max PFD.

Methods

signature(object = "StackedData")
Get the pfdPartsData from the object.
signature(object = "StackedData", value = "list")
Set the value of the pfdPartsData slot in the object.

See Also

StackedData, pfdPartsData

Examples

Run this code

# Load the pfdParts data and set the pfdParts data slot
data(pfdPartsList)

# Create a stacked data object
stackedDataObject = new("StackedData")

# Set the pfdParts data slot
pfdPartsData(stackedDataObject) = pfdPartsList

# Get the pfd parts data
pfdPartsData = pfdPartsData(stackedDataObject)

Run the code above in your browser using DataLab