similar to: Passing values to a function when using apply

Displaying 20 results from an estimated 200 matches similar to: "Passing values to a function when using apply"

2011 Jan 18
3
error message
I was running a sampling syntax based on a data frame (ago) of 160 rows and 25 columns. Below are the column names: > names(ago) [1] "SubID" "AGR1" "AGR2" "AGR3" "AGR4" "AGR5" "AGR6" "AGR7" "AGR8" [10] "AGR9" "AGR10" "WAGR1" "WAGR2"
2012 Jul 09
1
boxplot with "cut"
Dear UseRs, I'm making box plots from a data set that looks like this: Chr Start End GeneDensity ReadCount_Explant ReadCount_Callus ReadCount_Regen 1 1 1 10000 107.82 1.243 1.047 1.496 2 1 10001 20000 202.50 0.835 0.869 0.456 3 1 20001 30000 158.80 1.813 1.529 1.131
2004 Apr 19
3
encoding from 22050Hz source
Hi! I'd like to encode from a 22050 Hz source wav file (only in that case), but i get the following error message: "Invalid floating point operation" I use delphi: vorbis_encode_init_vbr(vi,2,22050,0.5) . . . While (i < readCount div 4) Do Begin buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
2012 Jul 10
0
Thanks! RE: boxplot with "cut"
Thanks for your help, Rui! That works and will save me a lot of trouble. --Kelly -----Original Message----- From: Rui Barradas [mailto:ruipbarradas at sapo.pt] Sent: Tuesday, July 10, 2012 2:24 AM To: Vining, Kelly Cc: r-help at r-project.org Subject: Re: [R] boxplot with "cut" Hello, Maybe this iss what you're looking for. GD is your data.frame. multi.boxplot <-
2004 Feb 13
10
Encoding into MONO (delphi)
Hi! I have a problem. I hope, you can help me. I use a Delphi conversion (from Aleksandr Shamray), but it doesn't work when I'd like to convert a *.RAW into a mono *.ogg file. vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono the program stops at line: //* uninterleave samples */ . . buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or
2006 Sep 02
0
venn diagrams
I need to generate venn diagrams for some of my data. I am using the venn library. Is there a function that generates the ids and attributes that I can pass on to venn Library(venn) ids <- c(1,1,1,2,2,2,3,3,3,4,4,5,5,5,6,6,7,8,9,10) attributes <-
2006 Sep 26
2
creation of new variables
Hello All, I have 8 variables named a b c d e f g h I need to create four variables from these 8 vraibles in R. the new variables are ab,cd,ef,gh. Can anyone pleas help me thanks, Pratap --------------------------------- [[alternative HTML version deleted]]
2007 Oct 10
2
Deleting the White Space in an R graph
Hi All, Is there a way we can delete the empty white space around when we generate any graph/map using R? The final output should be onaly a picture with no white spaces all around. Cheers, Pratap --------------------------------- 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. [[alternative HTML version deleted]]
2009 Sep 07
2
Writing R Scripts and passing command line arguments
Hi Guys I am Abhishek, primarily a bioinformatician. I have recently started using a lot of R thanks to some excellent packages available. Lately I have felt the need to batch process few of the R scripts I have been working with and strangely enough I am not able to find a good resource on how to best do this. I did find few old threads on the archives but none convinced me much. So here I am
2009 Sep 09
4
Joining Characters in R {issue with paste}
Hi Guys I am want to join to strings in R. I am using paste but not getting desirable result. For the sake of clarity, a quick example: > a="Bio" > b="iology" > paste(a,b) [1] "Bio iology" *There is a SPACE in the word biology which is what I dont want * Thanks, -Abhi [[alternative HTML version deleted]]
2010 Feb 25
5
Plotting 15 million points
Hi All I have a vector of about 15 million numbers which I would like to plot. The goal is the see the distribution. I tired the usual steps. 1. Histogram : never gets complete my window freezes w/out log base 10 2. Density : I first calculated the kernel density and then plotted it which worked. It would be nice to superimpose histogram with density but as of now I am not able to get this
2014 Jul 25
2
Does openssh supports multi-channeling ?
Hi All, In openssh, do we support multi-channeling? Rather than opening a new TCP socket for each SSH connection, all the SSH connections are multiplexed into one TCP connection. If so, from which version , do openssh supports it? Thanks Ravi Pratap
2020 May 25
3
child killed by signal 6
Hello, from time to time I keep getting problems with some emails causing signal 6. I've already reported those, but it seems not to be easy to find the cause. From the logs, it seems to occur in sieve implementation. I've checked the email envelopes tody by accident, probably this part of my telnet session might help: a11 fetch 1 all * 1 FETCH (RFC822.SIZE 16750 INTERNALDATE
2007 Aug 20
3
Differentiation
Hi, Could anyone tell me what is the command used in R to do 1. Differentiation 2. Newton Raphson method (Numerical Analysis in general...) Are there any packages separately for this? Thanks for your help! BR, Shubha [[alternative HTML version deleted]]
2010 Jan 13
3
Operating on each row of data frame
Hi All I have a data frame in which there are 4 columns . Column 1 : name Column 2-4 : values I would like to calculate mean/Standard error of values in column 2-4 and store them in column 5,6 respectively. I have done the following but doesn't seem to work mean_N_SE <-function(x) { name <- x[1] vals <- c(x[2:4]) temp_mean <- mean(vals) SE <- sqrt(var(x)/length(x)) }
2012 Oct 03
4
Regarding licensing Terms
Hi, I have developed one application using ggmap package.It is based on google map. I am a bit confused regarding its licensing terms.I want to know that can i use it with my other applications. Is it legal? -- With Regards, Narendra Pratap Principal Research Developer Hitech Robotic Systemz Ltd. [[alternative HTML version deleted]]
2007 Apr 18
8
Phone meeting about kernel virtualization hooks
I would like to host a phone meeting to discuss the plans for the xen sub-architecture of x86. Hopefully Chris can share his vision and we can agree on some next steps to getting this done and into the mainline kernel. From my understanding, it would be good if the "To" list could make it. If anyone believes others should attend, please let them know. Please let me know if you are
2007 Apr 18
8
Phone meeting about kernel virtualization hooks
I would like to host a phone meeting to discuss the plans for the xen sub-architecture of x86. Hopefully Chris can share his vision and we can agree on some next steps to getting this done and into the mainline kernel. From my understanding, it would be good if the "To" list could make it. If anyone believes others should attend, please let them know. Please let me know if you are
2014 Mar 17
1
protocol error : expected control record
Hi All, During scp, I am seeing this message protocol error : expected control record This message came because scp sink was expecting the message starting from 'C' or 'D' , something like C0644 299 group or D0755 0 docs but during dns query we were printing "Using IP address" message on the stdout. So , the message in the buffer was "Using IP address" and
2006 Oct 04
1
" Error in "names<-.default"
Hi All, Can some one explain me the following error- " Error in "names<-.default" 'names' attribute [1199] must be the same length as the vector [17]". Thanks, Pratap --------------------------------- [[alternative HTML version deleted]]