Tru this:
xyplot(Value ~ Dim | ifelse(Prof > 50, 1, 0), data = x)
On Fri, Jan 29, 2010 at 5:25 AM, Brima wrote:
>
> Hi All,
>
> I am completely new to R. I have the below data and want to create a
> conditional variable say Prof.H as such that it equals 1 if Prof is > 50 and
> 0 otherwise and cr
Hi All,
I am completely new to R. I have the below data and want to create a
conditional variable say Prof.H as such that it equals 1 if Prof is > 50 and
0 otherwise and create a scatter plot of Value and Dim conditional on the
new variable.
Area Value Dim Prof
1 1 145.1 9.5
Hi All,
I am completely new to R. I have the below data and want to create a
conditional variable say Prof.H as such that it equals 1 if Prof is > 50 and
0 otherwise and create a scatter plot of Value and Dim conditional on the
new variable.
Area Value Dim Prof
1 1 145.1
3 matches
Mail list logo