Learn R Programming

msma (version 3.1)

summary.msma: Summarizing Fits

Description

summary method for class "msma".

Usage

# S3 method for msma
summary(object, ...)

# S3 method for summary.msma print(x, ...)

Arguments

object, x

an object of class "msma", usually, a result of a call to msma

...

further arguments passed to or from other methods.

Details

This function provide the summary of results .

Examples

Run this code
##### data #####
tmpdata = simdata(n = 50, rho = 0.8, Yps = c(10, 12, 15), Xps = 20, seed=1)
X = tmpdata$X; Y = tmpdata$Y 

##### One Component #####
fit1 = msma(X, Y, comp=1, lambdaX=2, lambdaY=1:3)
summary(fit1)

Run the code above in your browser using DataLab