Have you read "An Introduction to R" (ships with every copy of R)
where these sorts of questions are answered?
There are other R tutorials on the web also, if you look.
-- Bert
On Tue, Sep 11, 2012 at 3:59 AM, Rantony wrote:
> And how to get the vector from a list if the list item found inside
Hello,
Try
which("B" == Mylist)
Hope this helps,
Rui Barradas
Em 11-09-2012 13:31, Rantony escreveu:
How can I get index from a list if I know the listitem ?
For eg:- Mylist<-c("A","B","C")
Acually,Here I need to get the index of "B" as 2.
From: arun kirshna [via R]
[mailto:ml-node+s
And how to get the vector from a list if the list item found inside ?
for eg:- MyList<- c("US","UK","UAE")
Here i want to check a list item UAE which is in 3rd row.
How i will get that row position ?
- Thanks in advance
Antony
--
View this message in context:
http://r.789695.n4.nabble.com/Se
How can I get index from a list if I know the listitem ?
For eg:- Mylist<-c("A","B","C")
Acually,Here I need to get the index of "B" as 2.
From: arun kirshna [via R]
[mailto:ml-node+s789695n4642756...@n4.nabble.com]
Sent: Tuesday, September 11, 2012 5:56 PM
To: Akkara, Antony (GE Energy, No
From: Rantony [via R] [mailto:ml-node+s789695n464274...@n4.nabble.com]
Sent: Tuesday, September 11, 2012 4:30 PM
To: Akkara, Antony (GE Energy, Non-GE)
Subject: Re: Searching from Dataframe.
And how to get the vector from a list if the list item found inside ?
for eg:- MyList<- c("US",
Thank you David.
From: David Winsemius [via R]
[mailto:ml-node+s789695n4642725...@n4.nabble.com]
Sent: Tuesday, September 11, 2012 12:53 PM
To: Akkara, Antony (GE Energy, Non-GE)
Subject: Re: Searching from Dataframe.
On Sep 11, 2012, at 12:11 AM, Rantony wrote:
> Hi,
> i have a dataf
On Sep 11, 2012, at 12:11 AM, Rantony wrote:
> Hi,
> i have a dataframe containing some values.
> for eg:-
>
> MyDataFrame<-
> Name Age Place
> --------
> Aby 12USA
> Raj25UK
> Romi32ENG
> Amy 31IND
Hi,
i have a dataframe containing some values.
for eg:-
MyDataFrame<-
Name Age Place
--------
Aby 12USA
Raj25UK
Romi32ENG
Amy 31IND
My requirement what is, i have a search key word[it should search fr
8 matches
Mail list logo