Learn R Programming

SDT (version 1.0.0)

print.share: Print Method for Objects of Class share

Description

S3 method to print objects of the class share.

Usage

# S3 method for share
print(x, ...)

Arguments

x

A required object of the class share, obtained from calls to the functions internalization and simplex.

Further arguments to be passed are ignored in this function.

Value

If the argument x is of required type, print.share prints the internalization, externalization, or simplex structure shares, and invisibly returns x, stripped off the analysis (\(=\) internalization or simplex) and class (\(=\) share) attributes.

Details

This print method prints the internalization, externalization, and simplex structure shares of a target regulation with respect to a reference system.

References

Uenlue, A. and Dettweiler, U. (2015) Motivation internalization and simplex structure in self-determination theory. Psychological Reports, 117(3), 675--691. URL https://doi.org/10.2466/14.PR0.117c25z1.

See Also

The two main functions of the package, which create objects of the class share: internalization for motivation internalization analysis; simplex for motivation simplex structure analysis. plot.share, the S3 method for plotting objects of the class share. See also SDT-package for general information about this package.

Examples

Run this code
# NOT RUN {
## attach dataset to search path (to use variable names)
attach(learning_motivation)

## internalization print
pidr <- print(internalization(identified, intrinsic, external))
## compactly displayed structure of the object pidr
str(pidr)

## simplex structure print
psimstr <- print(simplex(intrinsic, identified, introjected, external))
## compactly displayed structure of the object psimstr
str(psimstr)
# }

Run the code above in your browser using DataLab