View source: R/print.conceptMap.R
print.conceptMap | R Documentation |
This function prints a detailed summary of a concept map object, including information about statements, sorters, clusters, and the specific statements within selected clusters.
## S3 method for class 'conceptMap'
print(x, whichCluster = NULL, ...)
x |
An object of class |
whichCluster |
A vector of cluster numbers to display. If |
... |
arguments to be passed to methods |
The function first checks if the input object is of class "conceptMap"
and validates the
requested clusters (if specified). It provides an overview of the number of statements, sorters,
and clusters. For each requested cluster, the function lists the statements included in that cluster.
This function does not return a value; it prints the details of the concept map to the console.
# Simulate data with custom parameters:
set.seed(1)
myCMData <- simulateCardData(nSorters=40, pCorrect=.90, attributeWeights=c(1,1,1,1))
# Subject the data to sorter cluster analysis
myCMDataBySorters <- sorterMapping(myCMData)
# Subject sorter cluster 3 to concept mapping using default "network" method
myCMAnalysis3 <- conceptMapping(myCMDataBySorters[[3]])
# Print content of concept map of sorter cluster 3
print(myCMAnalysis3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.