Dear Duncan,
Many thanks for that advice. It looked like it should work, but it only
affected the points on the graph, and not the ones on the key. Looking
at the lattice source, the draw.key function doesn't seem to consult
many settings.
I'm now pretty confident that the fill parameter is
But this has nothing to do with 7.31 and everything to do with operator
precedence and automatic casting from integers to logical and vice-versa.
I also think it fair to say that all (??) languages have these sorts of
malapropisms due to operator precedence.
-- Bert
On Sun, Mar 17, 2013 at 7:17
Chuck,
What an absolutely wonderful R Infernoism.
Pat
On 18/03/2013 02:17, Charles Berry wrote:
Hi all,
The subject line is TRUE.
Today I accidentally typed rnorm(!0).
My old eyes took a minute to focus clearly enough to see what I really typed and
why I got '!0' random numbers instead of
Hi all,
The subject line is TRUE.
Today I accidentally typed rnorm(!0).
My old eyes took a minute to focus clearly enough to see what I really typed and
why I got '!0' random numbers instead of '10' random normal numbers.
If the subject line is disturbing, be assured that this is TRUE:
!0^2
Hello,
I don't see how a boxplot with your dataset can make sense. Maybe a
barplot like the one below.
dat <-
structure(list(Year = c(2011, 2011, 2011, 2011, 2011, 2011, 2011,
2011, 2011, 2011, 2011, 2011, 2011, 2011, 2011, 2011, 2011, 2011,
2011, 2011, 2011, 2011, 2011, 2011, 2012, 2012, 201
Hello,
You are missing a '*' in your first try.
(As for the second, in R parenthesis are round, not [])
sqrt(var(Y1) + var(Y2))^2 - 4*(var(Y1)*(var(Y2) - cov(Y1, Y2)^2))
This written as a function becomes
fun <- function(Y1, Y2)
sqrt(var(Y1) + var(Y2))^2 - 4*(var(Y1)*(var(Y2) - cov(Y1,
Hi,
Y1<- 1:4
Y2<- 5:8
sqrt(var(Y1)+var(Y2)^2)-4*((var(Y1)*(var(Y2)-cov(Y1,Y2)^2)))
#[1] 9.515593
A.K.
- Original Message -
From: Miguel Eduardo Delgado Burbano
To: r-help@r-project.org
Cc:
Sent: Sunday, March 17, 2013 11:47 AM
Subject: [R] help with simple function
hello all
I am w
On 17-03-2013, at 16:47, Miguel Eduardo Delgado Burbano
wrote:
> hello all
>
> I am writing a quite simple script to study dental wear patterns in humans
> and I wrote this function
>
> sqrt(var(Y1)+var(Y2))^2-4(var(Y1)*(var(Y2)-cov(Y1,Y2)^2)) but appear this
> error message
>
> Error: attem
hello all
I am writing a quite simple script to study dental wear patterns in humans
and I wrote this function
sqrt(var(Y1)+var(Y2))^2-4(var(Y1)*(var(Y2)-cov(Y1,Y2)^2)) but appear this
error message
Error: attempt to apply non-function
alternatively I wrote this
sqrt(var(Y1)+var(Y2)^2)-4[(var(
Hello,
I have chi2-values from 2x2 contingency tables, each degree of freedom =1.
But I dont know the values of the contingency table. All I have in addtion:
The allelic odds ratio.
Now I would like to do a Q-Q-plot. Is that possible?
If yes, please let me know. If no, please let me know as well.
I have to make a boxplot with Years 2011 and 2012 on the x axis, and
percentage of full time students (=1) and part time students (=2) on the y
axis.
I would really appreciate if someone can help me to build a proper code.
Thanks
Larissa
Data as follow:
Year
Q1
2011
1
2011
1
2011
1
2011
Hey all,
I'm trying to construct a 7-dimensional normal copula using the copula package.
I'd like to supply as parameter a randomly generated correlation matrix (that
I'll convert to a vector so I can feed it to the normalCopula function). What
order do the pairwise correlations inside that vec
Hi all,
I´m plotting cf (with two axis) and addind a shaded color up and down on
the 0 line x axis (tfr1 is the time). The thing is that when I plot this
graph adds a line up on the "first" plot.
I hope you can understand what I mean.
How should I erase this sencond line, it is suposed they have
On Mar 16, 2013, at 2:09 PM, Sedat Sen wrote:
> Dear list,
>
> I want to run a statistical program (using its .exe file) from R by
> writing a script. I know there are some packages that call WinBUGS, Mplus
> etc. form R. I just want to call the .exe extension of this program and run
> several
Thanks.:)
On Sat, Mar 16, 2013 at 12:51 PM, Heinz Tuechler wrote:
> Dear Terry,
>
> as soon as the vignette is ready, I would be very happy, to know about it.
> Will you send a note to r-help, or will it be announced in some other way?
>
> best regards,
>
> Heinz
>
>
> On 08.03.2013 15:12, Terr
On 17-03-2013, at 06:23, Sedat Sen wrote:
> I was wondering if it is possible read a specific part of a text file in R
> without importing whole file.
>
> For example, I want to read a number where is located on the line 30 and
> columns between 2 and 4. Say the number is 456. can I see it with
I was wondering if it is possible read a specific part of a text file in R
without importing whole file.
For example, I want to read a number where is located on the line 30 and
columns between 2 and 4. Say the number is 456. can I see it without
opening the file. I want to learn how to do this be
Use the system() command. e.g."
system("Multilog")
On Sat, Mar 16, 2013 at 5:09 PM, Sedat Sen wrote:
> Dear list,
>
> I want to run a statistical program (using its .exe file) from R by
> writing a script. I know there are some packages that call WinBUGS, Mplus
> etc. form R. I just want to c
18 matches
Mail list logo