Skip to content
Back to formatted view

Raw Message

Message-ID: <MPG.256c850b6d3dc01b9896a7@news.gmane.org>
Date: 2009-11-17T09:02:25Z
From: Karl Ove Hufthammer
Subject: One basic question - combining two conditions

On Tue, 17 Nov 2009 00:26:13 -0800 (PST) Julia Cains 
<julia_cains at yahoo.com> wrote:
> how do use this "and" operator to combine two conditions.
> 
> I am sorry as I know for many of you, this is very basic question 
> but I am new to R and trying to learn it as early as possible.

The 'and' operator is called '&' in R. Try

?'&'

to display the help page.

You might also be interested in

?ifelse
and
?"if"

-- 
Karl Ove Hufthammer