Last data update: 2014.03.03

R: The summary function for 'fem' objects.
summary.femR Documentation

The summary function for 'fem' objects.

Description

This function summarizes 'fem' objects. It in particular indicates which DLM model has been chosen and displays the loading matrix 'U' if the original dimension is smaller than 10.

Usage

 ## S3 method for class 'fem'
summary(object,...)

Arguments

object

The fem object.

...

Additional options to pass to the summary function.

See Also

fem, sfem, fem.ari, plot.fem

Examples

data(iris)
res = fem(iris[,-5],K=2:5,model='AkB')
summary(res)
plot(res)
fem.ari(res,as.numeric(iris[,5]))

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(FisherEM)
Loading required package: MASS
Loading required package: elasticnet
Loading required package: lars
Loaded lars 1.2

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/FisherEM/summary.fem.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.fem
> ### Title: The summary function for 'fem' objects.
> ### Aliases: summary.fem
> 
> ### ** Examples
> 
> data(iris)
> res = fem(iris[,-5],K=2:5,model='AkB')
> summary(res)
* Model: the chosen model is AkB with K = 3 ( icl = 2045.296 )
* Loading matrix:
                     U1         U2
Sepal.Length -0.2126219 -0.2007944
Sepal.Width  -0.5503897  0.4781908
Petal.Length  0.6097206 -0.3248561
Petal.Width   0.5292484  0.7908753
> plot(res)
> fem.ari(res,as.numeric(iris[,5]))
[1] 0.9038742
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>