Hello, Alaios,
try
is.null( Mylist[[i]]$parameters)
It returns TRUE if your list doesn't have a component named "parameters"
or if that component contains NULL.
HtH -- Gerrit
On Tue, 3 Mar 2015, Alaios via R-help wrote:
Hi all,I have a list that has the following fields.
$`80`
[1] "Er
Hi all,I have a list that has the following fields.
$`80`
[1] "Error in if (fitcass1[[2]] == \"Error\") { : \n Fehlender Wert, wo
TRUE/FALSE nötig ist\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
$`81`
[1] 0
$`9`
[1] 0
$`79`
$parameters
pi mu sigma
1 0.999679
2 matches
Mail list logo