On Feb 7, 2011, at 4:13 PM, Lui ## wrote:

Hi David, I tried this one, but unfortunately it didn't solve the
problem (same result as append).
Thank you very much for your suggestion!

Then give you elements names:
cluster_list <- list( cl.lst=cluster_list, Hcobj=HCLUSTobject)


Lui

On Mon, Feb 7, 2011 at 5:14 PM, David Winsemius <dwinsem...@comcast.net > wrote:

On Feb 7, 2011, at 10:45 AM, Lui ## wrote:

Dear group,

I am currently struggling with the following problem for a while:

I want to create a list whose elements consists of lists themselves.
More concise: The list elements are HCLUST objects. However, when I
try to append the HCLUST objects to my list via:

cluster_list <- append(cluster_list, HCLUSTobject)

Why not?:

cluster_list <- c(cluster_list, HCLUSTobject)

--
David Winsemius, MD
West Hartford, CT



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to