Hi Mohammad,
It looks like you are still having problems with this. Given your
latest data set, as below, here is something that might do what you
want. From David's message, I'm not sure whether you are operating on
a single data frame or a list.
# this is the data set as taken from your message
me", row.names = c(NA,
-49L))
##=====
John Kane
Kingston ON Canada
-----Original Message-
From: mxalimoha...@ualr.edu
Sent: Fri, 29 May 2015 11:40:41 -0500
To: dcarl...@tamu.edu, drjimle...@gmail.com, jrkrid...@inbox.com,
r-help@r-project.org
Subject: Re
r help !
>
> On Wed, May 27, 2015 at 7:31 PM, David L Carlson
> wrote:
>
>> cat(paste0("[", 1:length(Out), "] #dac ", Out), sep="\n")
>>
>> David
>>
>> *From:* Mohammad Alimohammadi [mailto:mxalimoha...@ualr.edu]
>>
:31:45 +
> To: mxalimoha...@ualr.edu, r-help@r-project.org
> Subject: Re: [R] Problem with comparing multiple data sets
>
> cat(paste0("[", 1:length(Out), "] #dac ", Out), sep="\n")
>
> David
> From: Mohammad Alimohammadi [mailto:mxalimoh
cat(paste0("[", 1:length(Out), "] #dac ", Out), sep="\n")
David
From: Mohammad Alimohammadi [mailto:mxalimoha...@ualr.edu]
Sent: Wednesday, May 27, 2015 2:29 PM
To: David L Carlson; r-help@r-project.org
Subject: Re: [R] Problem with comparing multiple data sets
] ", Out), sep="\n")
>
>
> David L. Carlson
> Department of Anthropology
> Texas A&M University
>
>
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Mohammad
> Alimohammadi
> Sent: Wednesday, May 27, 2015 1:
quot;\n")
David L. Carlson
Department of Anthropology
Texas A&M University
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Mohammad
Alimohammadi
Sent: Wednesday, May 27, 2015 1:47 PM
To: John Kane; r-help@r-project.org
Subject: Re: [R] Problem with c
i in 1:length(x))
>> x[[i]]<-sub_value(x[[i]],fieldname1,value1,fieldname2,most_freq)
>> return(x)
>> }
>>
>> conformity(dflist,"Text","text1","Class")
>>
>> Jim
>>
>> On Sat, May 23, 2015 at 11:23 PM, John Kane
reliability study. Does each data set contain the same set of items ?
>
>
> John Kane
> Kingston ON Canada
>
> -Original Message-
> From: mxalimoha...@ualr.edu
> Sent: Wed, 27 May 2015 09:18:12 -0500
> To: jrkrid...@inbox.com, r-help@r-project.org
> Subject: R
o back and re-examine Jim's approach.
>
> You might want to create three sample data sets of the original data
> layouts and upload them, in dput() format, to the list. It may be easier
> to tackle from that approach.
>
> In any case, in the existing data set is a 2 a nume
uot;terms"), class =
"data.frame", row.names = c(NA,
-49L))
names(dat1) <- names(dat2) <- names(dat3) <- c("class", "term")
bbind <- rbind(dat1, dat1, dat3)
with(bbind, table( term, class))
#=
John Kane
:12 -0500
To: jrkrid...@inbox.com, r-help@r-project.org
Subject: Re: [R] Problem with comparing multiple data sets
Hi John,
I created the original data set with dput . This time I only loaded 50 values
for each data set (dat1, dat2, dat3).
About your question, all 0,1 and 2 are indicator of a
age-
> From: mxalimoha...@ualr.edu
> Sent: Tue, 26 May 2015 20:11:08 -0500
> To: r-help@r-project.org
> Subject: Re: [R] Problem with comparing multiple data sets
>
> Thank you John. Yes. as you mentioned this is not really what I am
> looking
> for.
>
> It's int
indicator?
John Kane
Kingston ON Canada
> -Original Message-
> From: mxalimoha...@ualr.edu
> Sent: Tue, 26 May 2015 20:11:08 -0500
> To: r-help@r-project.org
> Subject: Re: [R] Problem with comparing multiple data sets
>
> Thank you John. Yes. as you mentioned this is
ue",
>na.rm = FALSE)
>
> mdat1 <- aggregate(value ~ terms + class, data = mdat, sum)
>
> mdat1[order(mdat1$terms, mdat1$class), ]
>
> #=========
>
>
> John Kane
> Kingston ON Canada
>
> -Original Message-
This
> is the generally preferred way to supply sample or illustrative data to the
> R-help list. It basically creates a perfect copy of the data as it exists on
> 'your' machine so that R-help readers see exactly what you do.
>
>
>
>
>
>
>
> John Kane
ane
Kingston ON Canada
> -Original Message-
> From: mxalimoha...@ualr.edu
> Sent: Fri, 22 May 2015 12:37:50 -0500
> To: r-help@r-project.org
> Subject: [R] Problem with comparing multiple data sets
>
> Hi everyone,
>
> I am very new to R and I have a task to do. I a
Hi everyone,
I am very new to R and I have a task to do. I appreciate any help. I have 3
data sets. Each data set has 4 columns. For example:
Class Comment Term Text
0 com1aactext1
2 com2aaxtext2
1 com3vvxtext3
Now I need t c
18 matches
Mail list logo