Skip to content

Retrieve by Id from an R list

2 messages · Suranga Kasthurirathne, Petr Savicky

#
On Mon, Feb 13, 2012 at 02:13:41PM +0530, Suranga Kasthurirathne wrote:
Hi.

If the list is in the variable "poLCA", then try

  a <- poLCA[[5]]
  a

Whether this is a matrix may be checked using

  class(a)

Hope this helps.

Petr Savicky.