I'm inspecting tests/usersplits.R in rpart, trying to get my head around how
to pass data to the split function.
I'm trying to instantiate a number of goodness measures which compare
treatment vs control within splits.
A simple example is difference-in-difference estimate of a candidate split,
Ray Brownrigg-2 wrote:
>
>
> I don't see any question here.
>
> However you must RTFM.
>
You're awful at the internet. People get intimidated about posting questions
to lists because of threads like this. Most of the time when you want to
say RTFM you should say (at least) say which manual t
I'm trying to figure out how to plot basic utility maximization results with
R, Ideally I'd like to plot the value of u through x1,x2 space, so you can
graph income / substitution effects easily...
also, it'd be nice if I could put a linear budget constraint on the graph
here's an example with
I may or may not have the most elegant solution to this problem, but if it
were me, I would probably put them all in a list and then
unique_matrix_list <- unique(list_of_matrix)
# number of unique matricies:
length(unique_matrix_list)
# count the number of each matrix,
for (m in unique_ma
I guess the best answer to your question depends on the specifics of the
implementation, but, i think if I were in your situation and I wanted to be
able to call a function "foo" found in file "foo.R" every time a user
clicked a button, i'd just
source("path to "foo.R")
which just parses the
Sure, so, all I was saying about gedit is that it handles the R session for
me, which is a neat feature but not mandatory to get the expected result,
there's an rprofile.site file which describes your (user specific)
preferences,
you can manually edit this file to add functions at start up by d
I think the basic answer here is "package it", which I did a couple of times
but found inconvenient if I was going to change the function fairly often,
i've taken a different tact, just including custom functions when R starts,
i wrote a function that runs when I start the R session, loading the
f
The current population survey march supplements contain records on
households, families and individuals, each with distinct record types all in
the same file. I'm trying to efficiently read these files,
the following function reads the data file "indata", the records are
described in lists conta
So, i've been writing code in R interfacing with mysql, its been fun and the
documentation has been useful, learning quite a bit.
the only annoying thing i've been encountering is while coding/debugging, my
session gets clogged, especially with sql connections. At the end of the
code i dbDiscon
9 matches
Mail list logo