Displaying 2 results from an estimated 2 matches for "control_params".
2011 Jan 21
3
data and parameters
(1) I have a master data frame that reads
ClientID |date |value
(2) I also have a control data frame that reads
Client ID| Min date| Max date| control parameters
The control data set may not have all client IDs .
I want to use the control data frame on the master data frame to
remove client IDS that don't exist in the control data set and for
those that do, remove dates outside the
2011 Jan 22
0
how to call BayesX in R to see the graph
...ot; <analyst41@hotmail.com>
Cc: r-help@r-project.org
Subject: Re: [R] data and parameters
Message-ID:
<AANLkTi=DgXuj1NrHAUM=5nT4RWVX1D5KaStOs-5uuS-M@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
forgot the control parameters:
> sqldf("
+ select m.*, c.control_params
+ from master m, control c
+ where m.clientId = c.clientID
+ and m.date between c.mindate and c.maxdate
+ ")
clientId date value control_params
1 2 1002 10002 1
2 2 1005 10005 1
>
On Thu, Jan 20, 2011 at 9:02 PM, ana...