is this what you want?
> vector1
[1] 65 1 34 100 42 20 79 43 89 10
> vector2
[1] 34 65 47 91 48 32 23 74 92 86
>
> for (i in 1:10) {
+ for (j in 1:10) {
+ if (vector1[i] == vector2[j])
+ show(c(i,j))
+ }
+ }
[1] 1 2
[1] 3 1
On Sat, Nov 8, 2008
hi friend,
this is from your previous posts on Kruskal-Wallis test:)
i came up with this one:
A5 <- read.table('kew.dat' ,header=TRUE)
plot(factor(A5$Month, levels=month.abb), A5$Rain)
is that what you want?
On Sat, Nov 8, 2008 at 7:03 AM, Swanton0822 <[EMAIL PROTECTED]> wrote:
>
> Hi.
> i hav
At 16:52 07.11.2008, Prof Brian Ripley wrote:
On Fri, 7 Nov 2008, Peter Dalgaard wrote:
Heinz Tuechler wrote:
Dear Prof.Ripley!
Thank you very much for your attention. In the given example Encoding(),
or the encoding parameter of read.csv solve the problem. I hope your
patch will solve also t
If you provide the input and the expected output, it would help a lot.
You could use 'split' to partition the data
monthly <- split(yourDF, yourDF$month)
but I am still not sure exactly what you want to do with it, or the
format that you are expecting.
On Fri, Nov 7, 2008 at 6:03 PM, Swanton082
It would be useful to learn how to use debug/browser. Here is the
state of the machine when the error occurs:
> test()
Error in if (vector1[i] == vector2[j]) { :
missing value where TRUE/FALSE needed
Enter a frame number, or 0 to exit
1: test()
Selection: 1
Called from: eval(expr, envir, enc
Hello: I found a solution to my problem here, I just downloaded mystyle.sty to
the same directory where my latex file resides. Then I included
\usepackage{mystyle} in my preamble and that took care of coloring any section
of the document.
http://www.sci.usq.edu.au/staff/robertsa/LaTeX/ltxfloats.
use the trick from this thread:
https://stat.ethz.ch/pipermail/r-help/2008-November/178985.html
your problem shall be fixed
On Fri, Nov 7, 2008 at 8:21 PM, mentor_ <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> imagine the following two matrix:
> Matrix A:
> a b c
> 1 2 3
> 4 5 6
> 7 8 9
>
> Matrix B:
They may be the same length; that's not what the error message is
complaining about: it says there is a missing value (i.e., an NA) where
a TRUE/FALSE value is needed, therefore the 'if' doesn't know what to
do, since it is not TRUE or FALSE. So, try
summary(vector1)
summary(vector2)
sum(is.
Hi, everyone,
I'm new to R and the List, and excited to be here. I am coming from a
background working in SPSS 16, primarily, which has a lot of easy
options for reading in data. I am working in R in an Ubuntu Linux
environment, and I'm learning with R Commander.
Now, here's my question. I
As far as R is concerned, the plot in tkrplot is being written to a file and
therefore is not interactive. So functions like grid.locator and trellis.focus
are not going to work.
You need to use the Tk commands to determine where the mouse is and where a
click occurred, then this needs to be c
Welcome!
Dirty D wrote:
Hi, everyone,
I'm new to R and the List, and excited to be here. I am coming from a
background working in SPSS 16, primarily, which has a lot of easy
options for reading in data. I am working in R in an Ubuntu Linux
environment, and I'm learning with R Commander.
I've not had occasion to use it yet, but perhaps read.fwf. At the R command
prompt, type ?read.fwf to learn about it.
--Chris Ryan
Original message
>Date: Fri, 07 Nov 2008 23:23:18 -0500
>From: Dirty D <[EMAIL PROTECTED]>
>Subject: [R] New to List - just starting to learn R - questi
Sorry to be off-topic. Can somebody please explain me what is Portmanteau
test? Why it's name is like that? When I would say, a particular test is
portmanteau test? I did some googling but got no satisfactory answer at all.
Please anybody help for understanding that?
Regards,
--
View this messag
Dear all,
The default plotting method for hclust trees looks just fine for few
objects like in the example dataset. But when it comes to many
features (eg some 1000 and more - I'm trying to visualize clustered
microarray data) it renders a tree, that one cannot inspect, because
of overlapping text
We have no idea what you understood (you didn't tell us), but the help
says
encoding: character vector. The encoding(s) to be assumed when 'file'
is a character string: see 'file'. A possible value is
'"unknown"': see the ‘Details’.
...
This paragraph applies if 'file
Are you looking for read.fwf?
I've not seen that form of data file since the days of punched cards.
(That _was_ the era when SPSS was written._)
(Real names and real signature blocks are preferred here.)
On Fri, 7 Nov 2008, someone wrote:
Hi, everyone,
I'm new to R and the List, and excited
On Fri, 2008-11-07 at 15:53 +0530, Shubha Vishwanath Karanth wrote:
>
> Hi R,
>
>
>
> I have certain checkings, which gives FALSE, but actually it is true. Why
> does this happen? Note that the equations that I am checking below are not
> even the case of recurring decimals...
>
>
>
> >
101 - 117 of 117 matches
Mail list logo