Allaisone 1 allaisone1 at hotmail.com
Mon May 22 02:10:10 CEST 2017
Hi All—
I am curious as to whether there is a vectorized solution using base R
functions, instead of looping and if statements, to the problem below. I
have seen several posts that address a similar question which generally ask
to
e even faster. Also package parallel could use parallel processing to
speed things up.
David C
From: Allaisone 1 [mailto:allaiso...@hotmail.com]
Sent: Wednesday, May 24, 2017 7:54 AM
To: David L Carlson ; Bert Gunter
Cc: r-help@r-project.org
Subject: Re: [R] Identyfing rows with specific conditio
@r-project.org] On Behalf Of Allaisone 1
Sent: Monday, May 22, 2017 4:41 PM
To: Bert Gunter
Cc: r-help@r-project.org
Subject: Re: [R] Identyfing rows with specific conditions
Dear Bert
I have answered your questions in my last 2 messages. If you did not see them,
I will answer again. The 2 tables
r
> Sent: 22 May 2017 03:11:11
> To: Allaisone 1
> Cc: r-help@r-project.org
> Subject: Re: [R] Identyfing rows with specific conditions
>
> Clarification:
>
> Does each customer have the same number of meals or do they differ
> from customer to customer? If the lat
] Identyfing rows with specific conditions
More clarification:
Are your "tables" matrices or data frames? (If you don't know what
this means, you need to spend a little time with a e.g. web tutorial
to learn).
Also, does Meal A Meal B order count? -- i.e. is Meal A = 2, Meal B =
15 the
More clarification:
Are your "tables" matrices or data frames? (If you don't know what
this means, you need to spend a little time with a e.g. web tutorial
to learn).
Also, does Meal A Meal B order count? -- i.e. is Meal A = 2, Meal B =
15 the same as Meal A = 15 and Meal B = 2? This is importan
Clarification:
Does each customer have the same number of meals or do they differ
from customer to customer? If the latter, how are missing meals
notated? Do they always occur at the (right) end or can they occur
anywhere in the row?
Presumably each customer ID can have many different meal code
c
7 matches
Mail list logo