Dear expeRts,
I am currently struggling with the problem of finding
cut points for a set of stimulus variables. I would like
to obtain cut points iteratively for each variable by
re-applying a dichotomised variable in the model and then
recalculate it. I planned to have fixed names for the
@stat.math.ethz.ch
Subject: [R] Manipulating code?
Dear expeRts,
I am currently struggling with the problem of finding
cut points for a set of stimulus variables. I would like
to obtain cut points iteratively for each variable by
re-applying a dichotomised variable in the model
Johannes Hüsing [EMAIL PROTECTED] writes:
Dear expeRts,
I am currently struggling with the problem of finding
cut points for a set of stimulus variables. I would like
to obtain cut points iteratively for each variable by
re-applying a dichotomised variable in the model and then
recalculate
Its not entirely clear to me what you want to do but these will
do the indicated regression on the subset of the data for which
Species is setosa and then do it again but for the subset for
which Species is virginica:
lm(Sepal.Length ~ Sepal.Width, iris, subset = Species == setosa)
Johannes Hüsing [EMAIL PROTECTED] writes:
[...]
I think a simple example of what you are trying to do might be needed.
I don't think so, as ...
But take a look at the help pages for assign() and get().
... this seems to be what I was looking for. Many thanks!
Greetings
Johannes