search for: chintanu

Displaying 14 results from an estimated 14 matches for "chintanu".

2012 Jul 27
3
Counting frequency within each range
...3 1 1 1 1 > as.data.frame(table(numbers)) numbers Freq 1 4 2 2 5 1 3 23 2 4 34 2 ... However, there must be some simple way to get the frequency based on ranges, such as 0-10, 10-20, 20-30 and so on. Please help ! Thank you. Cheers, Chintanu [[alternative HTML version deleted]]
2012 Mar 08
3
legend
...9;t wish to have the enclosing border surrounding the words (as given below). Tried to use the following, but didn't help : legend (locator(1), border=FALSE, fill=FALSE, "Important ones") legend (locator(1), border=NILL, fill=NILL, "Important ones") Thank you. regards, Chintanu [[alternative HTML version deleted]]
2018 May 02
0
Merging dataframes
...able_B, by="Email", all = FALSE)) - to find only the rows that match from these data frames. Further, I am also interested (using "Email" as the common key) which rows from Table_A did not match with Table_B. I am not sure how to do here. Thanks. On 1 May 2018, at 9:35 pm, Chintanu <chintanu at gmail.com<mailto:chintanu at gmail.com>> wrote: ---------- Forwarded message ---------- From: peter dalgaard <pdalgd at gmail.com<mailto:pdalgd at gmail.com>> Date: Tue, May 1, 2018 ar-help at r-project.org<mailto:r-help at r-project.org>t 9:05 PM Subjec...
2018 May 01
4
Merging dataframes
Hi, May I please ask how I do the following in R. Sorry - this may be trivial, but I am struggling here for this. For two dataframes (A and B), I wish to identify (based on a primary key-column present in both A & B) - 1. Which records (rows) of A did not match with B, and 2. Which records of B did not match with A ? I came across a setdt function while browsing, but when I tried
2011 Aug 15
2
A small nag
...ralia.1252 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C LC_TIME=English_Australia.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.13.0 Thank you. Kind regards, Chintanu [[alternative HTML version deleted]]
2012 Apr 11
1
Merging multiple .csv files
...=TRUE) ] On the web, I could see a few ways people seem to merge more than 2 dataframes. I tried to use library (reshape), but it didn't bring any result: file_list <- list.files() m <- merge_all (file_list, by="Name") Any help would be appreciated. Thank you. regards, Chintanu [[alternative HTML version deleted]]
2013 Apr 15
1
Kruskal-Wallis
...e <- data.frame(Sample_1a = 1:10, Sample_1b = 2:11, Sample_1c = 3:12, Sample_2a=4:13, Sample_2b=7:16, row.names=LETTERS[1:10]) groups <- rep (0:1, c(3,2)) kruskal <- apply(myFile [1:nrow(myFile),], 1, kruskal.test, ******) p_kruskal <- sapply(kruskal, function(x) x$p.value) Thanks, Chintanu [[alternative HTML version deleted]]
2018 May 02
2
Merging dataframes
...uot;, all = FALSE)) - to find only the rows that match from these data frames - based on Email as primary key. Further, I am also interested (using "Email" as the common key) which rows from Table_A did not match with Table_B. I am not sure how to do this here. Thanks and regards, Chintanu On Tue, May 1, 2018 at 8:48 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote: > Hello, > > Is it something like this that you want? > > x <- data.frame(a = c(1:3, 5, 5:10), b = c(1:7, 7, 9:10)) > y <- data.frame(a = 1:10, b = 1:10) > > which(x != y, arr.ind =...
2018 May 02
0
Merging dataframes
...able_A, Table_B, by="Email", all = TRUE) Table_C[is.na(Table_C$Name.y),] Table_C[is.na(Table_C$Name.x),] Table_C contains all data from Table_A and Table_B. The key.x is NA if the row comes from Table_B and key.y is NA if the row comes from Table_A. Best, Robin On 05/02/2018 11:38 AM, Chintanu wrote: > Thanks - Peter, Eivind, Rui > > > Sorry, I perhaps could not explain it properly in the first go. > > Trying to simplify it here with an example - Say I have two dataframes as > below that are NOT equally-sized data frames (i.e., number of columns are > different...
2010 May 17
1
Loess fit
...= test [,1]; new_y = test[,2] new_x.sort = sort(new_x) predicted <- predict(y.loess, newdata=new_x.sort) Am I doing any mistake ? Please correct me. I could see that though the rest of the values of "predicted" looks alright, however the first output of it is an NA !! Many thanks, Chintanu [[alternative HTML version deleted]]
2012 Jul 31
2
Significance of correlation
...an be used. However, in my case, I have tested the correlation (i.e., Correlation Coefficient, r) between two independent (i.e, different) variables, and now I wish to test for the statistical significance of the correlation. Could you please suggest how I should do that. Thank you. Kind regards, Chintanu [[alternative HTML version deleted]]
2012 Sep 24
2
Rows not common in dataframes
...the dataframes contains unique names. I wish to have Dataframe_A with the rows that are NOT common to Dataframe_B. With merge (), it is possible to get the common rows or to merge rows, but I am not quite sure how to do it in a simpler way. Any help would be much appreciated. Thank you. Cheers, Chintanu [[alternative HTML version deleted]]
2018 May 01
0
Merging dataframes
Hello, Is it something like this that you want? x <- data.frame(a = c(1:3, 5, 5:10), b = c(1:7, 7, 9:10)) y <- data.frame(a = 1:10, b = 1:10) which(x != y, arr.ind = TRUE) Hope this helps, Rui Barradas On 5/1/2018 11:35 AM, Chintanu wrote: > Hi, > > > May I please ask how I do the following in R. Sorry - this may be trivial, > but I am struggling here for this. > > > > For two dataframes (A and B), I wish to identify (based on a primary > key-column present in both A & B) - > > 1....
2011 Aug 17
2
Wilcox test
Hello, I have used Wilcox test to find the p-value for hgua95 spiken data. It did not give the required result, and instead gave me warnings like the values are duplicated. Kindly suggest me how to overcome this problem as I am new to R. Thank you Deepthi BM