Skip to content

Meaning of numbers tree #78

@jgarces02

Description

@jgarces02

Hi,

I've read the documentation and I'm not able to understand the meaning of numbers appearing in each tree leaf... In the example within the documentation (figure 2) appears that:

Numbers displayed on the right side of country names stand for country averages.

But average values for each group in the veteran dataset are different between code and tree:

> for(i in c("squamous", "smallcell", "adeno", "large")) cat(i, "\n", mean(veteran$time[veteran$celltype == i]), "\n")
squamous 
 200.2 
smallcell 
 71.66667 
adeno 
 64.11111 
large 
 166.1111 

image
Any idea what's happening or what I'm missing, please? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions