Good point. Probably not for any subsequent use in R. But, I work in an
org that uses SAS, HLM, SPSS, among others. As a part of our control
processes at times we replicate analyses in different software programs.
For instance, we will replicate lmer functions using HLM. But, HLM
requires a matrix
On Tue, 06-Dec-2005 at 01:00PM +, Adaikalavan Ramasamy wrote:
| Yes, it drives me mad too when people use = instead of - for
| assignment and suppress spaces in an naive attempt for saving space.
|
| As an example compare
|
| o=fn(x=1,y=10,z=1)
|
| with
|
| o - fn( x=1,
On 06-Dec-05 Berton Gunter wrote:
But note: There are (almost?) no situations in R where the dummy
variables coding is needed. The coding is (almost?) always handled
properly by the modeling functions themselves.
Question: Can someone provide a straightforward example where the
dummy
On 12/6/05, John McHenry [EMAIL PROTECTED] wrote:
Everything has slowed down with #1 and #3 by about 50%. Can't do #2 #4 :
ta.num - lapply(ta0, scan, sep = ,)
Error in file(file, r) : unable to open connection
scan seems to want a file or a connection ...
Building on Andy's variation:
n
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Dec 6, 2005, at 3:27 PM, Berton Gunter wrote:
But note: There are (almost?) no situations in R where the dummy
variables
coding is needed. The coding is (almost?) always handled properly
by the
modeling functions themselves.
Question: Can someone provide a straightforward example
___
The problem appears to be in how your original data has several tied values:
table(x)
x
1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6 4
1 2 2 2 5 7 2 3 1 2 1
IIRC the maths and
___
Hm, a style war on R-Help. I wonder if this goes for long enough, we'll come to
the question of where to put the braces. ;)
Personally, I always use - instead of = where applicable. In addition to the
Hi again,
I almost figured this out, but still need some help on the last part.
I can use prop.table to get survival probabilities...
A - t(prop.table( table(trans$class, trans$fate),1) )
rep seed veg
dead 0.000 0.333 0.000
rep 0.500 0.000
=== 2005-12-07 04:17:03 您在来信中写道:===
From: [EMAIL PROTECTED]
ronggui a �crit :
I think it is NOT just for historical reason.
see the following example:
rm(x)
mean(x=1:10)
[1] 5.5
x
Error: object x not found
x is an argument local to mean(),
did you expect another
I think - is better than = in some cases.
=== 2005-12-07 08:51:30 Write:===
=== 2005-12-07 04:17:03 您在来信中写道:===
From: [EMAIL PROTECTED]
ronggui a �crit :
I think it is NOT just for historical reason.
see the following example:
rm(x)
mean(x=1:10)
[1] 5.5
x
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hello,
About the R style war: as soon as you write code for yourself, you can
do what you want, of course. If your code is shared (for instance, code
in packages submitted to CRAN), it makes sense to render it so that it
is easier to read *by a majority of people*. The only way to make sure
___
Interestingly, for the project I'm working on I actually do call
model.matrix directly. The project is profit optimization for insurance,
where you try to maximize returns as a function of your premium
On Tue, 06-Dec-2005 at 04:21PM +, Patrick Burns wrote:
| I don't put in extraneous ';' because I maybe get a
| blister on my little finger.
|
| I suspect that those who find the semi-colons ugly in
| R do not find them ugly in C.
Nor in perl, mysql or php. I quite like how R is rather
vic == vincent [EMAIL PROTECTED] writes:
vic ronggui a __
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Have you received any replies to this post? I haven't seen any, so I
will attempt a few comments. First, I'm overwhelmed with the details in
your discussion. I suggest that for each of your question, you try to
think of an extremely simple example that would test your question, as
Hello,
I have a problem about using the command plot. Suppose I have some points,
and one of them is (0,0), how can I show the figure with this point which is at
the corner?
Thanks for your kind help.
Cheers,
Apple
[[alternative HTML version deleted]]
Apple Ho wrote:
Hello,
I have a problem about using the command plot. Suppose I have some
points, and one of them is (0,0), how can I show the figure with this
point which is at the corner?
How close to the corner do you want it?
plot(0, 0, xlim=c(0, 1), ylim=c(0,1))
you could also add:
Chris Stubben [EMAIL PROTECTED] writes:
Hi again,
I almost figured this out, but still need some help on the last part.
I can use prop.table to get survival probabilities...
A - t(prop.table( table(trans$class, trans$fate),1) )
rep seed veg
dead 0.000
Philippe Grosjean a écrit :
So, who said there is an R style war? There is one set
of rules to follow. Point.
I quite agree with your message, but as far as I understood
today, there is no official R style chart,
(official = from the R core dev team).
http://www.maths.lth.se/help/R/RCC/ is
At 04:48 PM 12/6/2005, Alexandre Santos Aguiar wrote:
Hi,
Found no measure of association or correlation for 2x2 contingency tables in
fullrefman.pdf or google. Can someone point to a package that implements such
calculations?
Thanx.
--
Alexandre Santos Aguiar
IN vcd poackage have
101 - 122 of 122 matches
Mail list logo