These seem to be basic R questions. You should spend time with an R
tutorial or two for this sort of thing. This list is here to help, but you
also need to do homework on your own if you have not already done so.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people
I have a hundred identifier names that I want to check from the second
column of a matrix with 6000 entries in the column.
Instead of using R > c("d", "v", "4", "s") %in% letters , is there an
alternative?
I have the hundred identifier names that are of my interest stored in an
array.
On
Use the %in% operator:
help('%in%')
e.g.
R > c("d", "v", "4", "s") %in% letters
[1] TRUE TRUE FALSE TRUE
B.
> On 2018-08-13, at 23:36, Deepa wrote:
>
> Hi Don,
>
> When there is a list of identifier names that I want to check, the only way
> is to loop over each entry stored in the
Hi Don,
When there is a list of identifier names that I want to check, the only way
is to loop over each entry stored in the list of identifier names or is
there is there any other shortcut?
Many thanks for the response?
On Mon, Aug 13, 2018 at 8:18 PM, MacQueen, Don wrote:
> Or to return a
On 13/08/18 23:39, peter dalgaard wrote:
It's odd, possibly a bug, that you don't get
Error: object 'nphi' not found
but I can't offhand see where the evaluation of args to .C/.Fortran is supposed
to take place.
If it is indeed a bug then it would be nice an it were fixed. If that
is
On Mon, Aug 13, 2018 at 12:18 PM Ista Zahn wrote:
>
> On Mon, Aug 13, 2018 at 2:41 PM Ravi Varadhan wrote:
> >
> > Hi Ista,
> > Thank you for the response. I use Windows. Is there a pre-compiled
> > version of openBLAS for windows that would make it easy for me to use it?
>
> Not sure. If you
On Mon, Aug 13, 2018 at 2:41 PM Ravi Varadhan wrote:
>
> Hi Ista,
> Thank you for the response. I use Windows. Is there a pre-compiled version
> of openBLAS for windows that would make it easy for me to use it?
Not sure. If you want an easy way I would use MRO. More info at
Dear Shivi
You are running R 3.5.1 according to your session info. Why are you
installing a version for R 3.3? Note that the up-to-date version depends
on R > 3.4.0 so it is no surprise that you get problems.
Michael
On 13/08/2018 16:07, Shivi Bhatia wrote:
Hi Michael,
I was able to
That's a bug... no other place in the sources has "coeffficients". The net
result is that the NULL case is used even when colnames _are_ present. It does
make a difference, e.g. to examples(manova). I am fixing this in r-devel since
the urgency must be rather low.
- Peter D.
> On 13 Aug 2018,
Hi Michael,
I was able to install RGtk2 from install.packages("
https://cran.r-project.org/bin/windows/contrib/3.3/RGtk2_2.20.31.zip;,
repos=NULL) but after installing this and trying to install rattle i get
this error:
Error : package 'RGtk2' was installed by an R version with different
Or to return a logical value, i.e., TRUE if the column contains the value,
FALSE if it does not:
any( x[,2] == 'A501' )
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
Lab cell 925-724-7509
On 8/13/18, 12:09 AM, "R-help
While looking at the code of print.aov for a different reason, I noticed that
'coefficient' was spelled with 3 'f's in one location. Perhaps this is on
purpose but in another location it has just 2 'f's. This has not caused me any
problem (that I know of) but I found it curious.
Chris
R
It's odd, possibly a bug, that you don't get
Error: object 'nphi' not found
but I can't offhand see where the evaluation of args to .C/.Fortran is supposed
to take place.
-pd
> On 13 Aug 2018, at 11:54 , Rolf Turner wrote:
>
>
> On 13/08/18 20:45, Henrik Bengtsson wrote:
>
>> On Mon, Aug
On 13/08/18 20:45, Henrik Bengtsson wrote:
On Mon, Aug 13, 2018 at 3:51 AM Rolf Turner wrote:
OK everybody! You can relax. :-) I managed to spot the loony. After
mucking around with valgrind, and before trying gdb, I had one more look
at my code and *finally* saw the stupid thing that
On Mon, Aug 13, 2018 at 3:51 AM Rolf Turner wrote:
>
>
> OK everybody! You can relax. :-) I managed to spot the loony. After
> mucking around with valgrind, and before trying gdb, I had one more look
> at my code and *finally* saw the stupid thing that I had been doing.
>
> In the call to
Hello Deepa,
sum(x[,2] == "A501")
or
which(x[,2] == "A501")
.
Best,
Albrecht
--
Albrecht Kauffmann
alkau...@fastmail.fm
Am Mo, 13. Aug 2018, um 07:10, schrieb Deepa Maheshvare:
> Hello Everyone,
>
> I have a 1000 x 20 matrix. The second column of the matrix has the names
> of
16 matches
Mail list logo