bw1984
2015-May-15 04:35 UTC
[Rd] Error when comparing two variables within a dataframe and print relevant observations
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.
Keith Jewell
2015-May-15 10:54 UTC
[Rd] Error when comparing two variables within a dataframe and print relevant observations
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.
Reasonably Related Threads
- Sampling a dataframe based on the length of a subset of observations within
- Allow self password change using LDAP(s) with Samba4
- Scripting the next UID/GID number to use
- How to modify user fields with a command line ?
- Samba4 ldbmodify Unwilling to perform error 53