similar to: get statistics by group

Displaying 20 results from an estimated 3000 matches similar to: "get statistics by group"

2001 Mar 07
3
export graph to Word/Excel
Hi, I have a set of script like this: ---------------------- summary(data) plot(time, users, type="o", xlab ="Time", ylab="Number of Users") ---------------------- I type "rterm --slave < script.r > output.doc" and the graphic doesn't actually in the output.doc file. How to make the graphic embedded in Word or Excel file? Thanks, Yu-Ling Wu
2004 Oct 18
3
答复: R plot problems
Thank you for your help! I gave you an example, you could run it in R . Maybe you will understand my meaning clearly. x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana",
2010 Oct 22
5
Cbind query
I am new to R and request your kind help. I have a table like the one below, one two 1 apple fruit 2 ball game 3 chair wood 4 wood plain 5 fruit banana 6 cloth silk Note: duplicate entries are there the task is to create relations to each each row entries, like "apple -> fruit" . when I tried to combine column1 with column 2
2002 Sep 10
3
print
Hi all, Suppose I have a vector Fruits <- c('Apple','Orange','Pear','Banana','Mango') I want to print the statement "The fruits in the basket are: Apple, Orange, Pear, Banana, Mango" If I do: print(paste('The fruits in the basket are:',Fruits)) The output is: [1] "The fruits in the basket are: Apple" "The fruits in
2006 Sep 01
1
Reading many files at once
dear group, i have 100 files starting with 'hsa-*'. ex. file: fruit p-value ------------ apple 0.0003 orange 0.004 kiwi 0.0003 peach 0.0004 I want to read all these files and create a single matrix. here each file may have different fruit names. in the matrix i want to have a union of all fruits and those should be the rows in the matrix and file names should be columns.
2006 Mar 23
3
Split to array then save to DB
Basically I want to take a collection of words like "apple orange banana" textfield in a form and store them into the DB as individual rows. 1. apple 2. orange 3. banana I know I need to use the .split method to divide the words into an array, but i''m not sure how to then save them and where this should happen (in the controller or the model). I''m a newb at this,
2011 Feb 18
1
plot3d, color points by group
Hello I've created a 3d scatterplot, and had no problems labeling the points. However, I've been really struggling to change the color of the points based on a factor (see 'group' below). Is such a thing possible? My data look like this: food group x y z apple fruit 0.216 -0.112 -0.893 orange fruit 0.814 0.097 0.460 broccoli veg -0.239 0.240 -0.425 banana
2007 May 13
1
Dropdown boxes in tcltk and R
Hello, I'm very much a newbie in R and more so in tcltk so apologies if this question is stupid. Basically I am trying to use the combobox example found here: http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html . What I want to do is in that example get fruitChoice as a variable in R in general. When I run that code, however, and the ask for fruitChoice it says
2010 Jun 22
1
storing DTMF inputs
Thanks a lot Danny. I have done the part of playing a file by creating a context in my dialplan. Now I am puzzled as i wish to store the DTMF inputs done by the users who is listening to the playback. I found there are ways, but some specific way by which it is not stored in file but conveyed directly to the asterisk server. When the call landed up on the softphone, i pressed keys the
2001 Feb 13
1
pass a string to a function
Hi, I'd like to pass a string to a function as the value of the argument. Here is my code. However, it doesn't work. Please help me with this. Thanks, Yu-Ling Wu ----------------------------------------------------- library(RODBC) odbcConnect("console") -> myConnect fun1 <- function(dd1) { h3 <- sqlQuery(myConnect, "select * from console where byday =
2013 Mar 20
2
Pattern match
Hello again, in the help page of grep() function, it is written that pattern: character string containing a regular expression (or character string for fixed = TRUE) to be matched in the given character vector. Coerced by as.character to a character string if possible. If a character vector of length 2 or more is supplied, the first element is used with a warning. Missing values are allowed
2006 Apr 11
2
concat results from db query
I''ve got a bunch of records coming back from a database like so ID WORDS 1. banana apple orange 2. apple pear 3. banana orange I want to take the records in the WORDS field and concatinate them into one large array so I can play around with it. How do I do this? -- Posted via http://www.ruby-forum.com/.
2000 Dec 21
1
RODBC install unsuccessfully
Hi, I use R under Windows NT. I download "RODBC.zip" and unzip it to "e:/R/rm1011/lib/" in order to connect to MySQL. And then I add an MySQL ODBC data source in the Control Panel. When I type "library()" under R, I can see "RODBC" is one of the packages. However, when I type "library (RODBC)", I got an error message like this: The procedure
2017 Aug 30
1
Dataframe Manipulation
by using these two tables we have to create third table in this format where categories will be on the top and transaction will be in the rows, On 30 August 2017 at 16:42, Hemant Sain <hemantsain55 at gmail.com> wrote: > Hello Ulrik, > Can you please once check this code again on the following data set > because it doesn't giving same output to me due to absence of quantity,a
2017 Aug 30
2
Dataframe Manipulation
i want to do a market basket analysis and I?m trying to create a dataset for that i have two tables, one table contains daily transaction of products in which each row of table shows item purchased by the customer, The second table contains parent group under those products are fallen, for example under fruit category there are several fruits like mango, banana, apple etc. i want to create a third
2017 Jul 30
1
Can't use proxy after client upgrade
On Jul 29 2017, Guus Sliepen <guus-NnCthlHDAqpg9hUCZPvPmw at public.gmane.org> wrote: > On Sat, Jul 29, 2017 at 12:47:02PM +0200, Nikolaus Rath wrote: > >> >> Proxy = exec /etc/tinc/rath/triv_proxy.sh >> > >> > Indeed, it seems like Proxy = exec was broken by a commit that fixed >> > some issue with the other proxy types. For now the workaround is
2013 Dec 07
1
dovecot-imapd eating 100% cpu every once in a while
Hello, About once or twice a week, dovecot's imap-login process on my system seems gets out of control, eating 100% CPU for about 2 hours. Afterwards everything seems to go back to normal. I am using Dovecot 2.1.7 on a 64 bit Debian wheezy system. When running gdb on the process in this stage, I get the following traceback: #0 0x00007fcba50c5a90 in read () from
2006 Oct 11
4
Psst... Top secret information: Codename Pineapple
Friends in the Asterisk community, I've been talking for years about the new version of the SIP channel. I've been trying to get funding and get going. Well, the funding part remains to be handled, but I have other news - if you kan keep it to yourself. ...I've began coding. Finally. With a happy smile on my face I removed "pedantic=yes" the other day. After years of
2009 Jun 03
1
Still can't find missing data - How do I get NA in xtabs with factors?
The problem here is Table doesn't seem to have a way to weigh the data. > ToyData Data1 Data2 Data3 Weight 101 Sam Red Banana 1.1 102 Sam Green Banana 2.1 103 Sam Blue Orange 2.1 104 Fred Red Orange 2.1 105 Fred Green Guava 2.1 106 Fred Blue Guava 2.1 107 <NA> Red Pear 50.1 108 <NA> Green Pear 50.1 109 <NA> Blue
2017 Aug 31
0
Dataframe Manipulation
Hi Hemant, the solution is really quite similar, and the logic is identical: library(readr) library(dplyr) library(stringr) library(tidyr) data_help <- read_csv("data_help.csv") cat_help <- read_csv("cat_help.csv") # Helper function to split the Items and create a data_frame split_items <- function(items){ x <- items$Items_purchased_on_Receipts %>%