From Keith.Jewell at campdenbri.co.uk  Fri May 15 12:54:29 2015
From: Keith.Jewell at campdenbri.co.uk (Keith Jewell)
Date: Fri, 15 May 2015 11:54:29 +0100
Subject: [Rd] Error when comparing two variables within a dataframe and
 print relevant observations
In-Reply-To: <1431664553968-4707240.post@n4.nabble.com>
References: <1431664553968-4707240.post@n4.nabble.com>
Message-ID: <mj4j95$2nu$1@ger.gmane.org>

On 15/05/2015 05:35, bw1984 wrote:
> I'm trying to use a nested ifelse condition to compare two lines.
>
> Input:
>
>
> Code:
>
>
> Expected Output:
>
>
>
> Actual Output:
>
>
>
> Any idea what might be causing this problem?
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-when-comparing-two-variables-within-a-dataframe-and-print-relevant-observations-tp4707240.html
> Sent from the R devel mailing list archive at Nabble.com.
>
I had to look at Nabble to see the detail. Even that omitted an error 
message:

 > Transfers2 <- subset(Transfers, ChangeType != "No Change"))
Error: unexpected ')' in "Transfers2 <- subset(Transfers, ChangeType != 
"No Change"))"

When I omitted the extra closing bracket it worked.



[Rd] Error when comparing two variables within a dataframe and print relevant observations
Keith Jewell