print.conceptMap: Print a Concept Map Object

View source: R/print.conceptMap.R

print.conceptMapR Documentation

Print a Concept Map Object

Description

This function prints a detailed summary of a concept map object, including information about statements, sorters, clusters, and the specific statements within selected clusters.

Usage

## S3 method for class 'conceptMap'
print(x, whichCluster = NULL, ...)

Arguments

x

An object of class "conceptMap" containing the results of concept mapping analysis creating using the function conceptMapping.

whichCluster

A vector of cluster numbers to display. If NULL (default), all clusters are displayed.

...

arguments to be passed to methods

Details

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.

Value

This function does not return a value; it prints the details of the concept map to the console.

Examples

# 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)


cmAnalysis documentation built on April 4, 2025, 4:27 a.m.