Displaying 1 result from an estimated 1 matches for "_____90".
Did you mean:
_____0
2011 Apr 07
0
RPart Simple Diagram issues
...g class and
I am not all that familiar with R. I thought I might be able to use RPart,
but I can't get it to work. I want a simple tree with a parent that says the
amount and each child has a percentage of likelyhood and a payback so it
would look something like this...
_____10%/1000
100|_____90%/0
So I tried to do this by creating a table (again remember I am new)
>test <- matrix(c(000000.1,000000.9,1000,0,.1*1000, .9*0), ncol=2,
byrow=TRUE)
>colnames(test) <- c("Case A", "Case B")
>rownames(test) <- c("Chance", "Payoff", "...