Re: [R] Assigning colors on low p-values in table

2012-08-28 Thread Jim Lemon
On 08/27/2012 07:05 PM, Rmillan wrote: Hi all R-users, I’m trying to assign colors on those p-value in my table output that fall above a certain critical value, let’s say a p-value0.05. My table looks like this: ... Here is the data frame I used: returns Assets ADF_Level P0

[R] Assigning colors on low p-values in table

2012-08-27 Thread Rmillan
Hi all R-users, I’m trying to assign colors on those p-value in my table output that fall above a certain critical value, let’s say a p-value 0.05. My table looks like this: Assets ADF-Level P-Value ADF-First D P-Value

Re: [R] Assigning colors on low p-values in table

2012-08-27 Thread Jean V Adams
Emil, It's helpful to provide code that generates your (example) data. You can use the function dput() to do that. # I set up your matrix a bit differently than what you presented. output - structure(c(-2.3109, -0.2934, -0.5539, -2.1352, -2.6968, -2.0429, -0.3973, -0.6468, 0.4181, -0.6243,