Displaying 20 results from an estimated 2000 matches similar to: "How to plot two cumulative frequency graph together"
2008 Apr 23
3
select rows from data based on a vector of char strings
Hi,
I have loaded a dataset in R :
data =
label freq1 freq2
news 54 35
fun 37 21
milk 19 7
food 3 3
.... etc
And I have a vector
flist<-c("fun","food")
Now I want to use the vector 'flist' for selecting these values from 'data'
so that I get the following dataset :
label freq1 freq2
fun 37 21
food
2010 Jun 23
1
Generation of binomial numbers using a loop
Dea'R' helpers
I have following data -
prob = c(0.1, 0.2, 0.3, 0.4, 0.5)
frequency = c(100, 75, 45, 30, 25)
no_trials = c(10, 8, 6, 4, 2)
freq1 = rbinom(frequency[1], no_trials[1], prob[1])
freq2 = rbinom(frequency[2], no_trials[2], prob[2])
freq3 = rbinom(frequency[3], no_trials[3], prob[3])
freq4 = rbinom(frequency[4], no_trials[4], prob[4])
freq5 = rbinom(frequency[5],
2003 Jun 25
1
indication tones and callwaiting chirp too loud
I am wondering if anyone could help me figure out how to turn down the volume on all the dial tones, indications, etc.. and especially the call-waiting CHIRP!
I don't want to change the txgain and rxgain because they are working at levels that I would like. However, when voice conversations and voicemail recordings are at good levels then the dial tones, busy tones, etc are way too loud.
2006 Jun 09
3
FXO registration and VegaStream
I am trying to configure a VegaStream 50 FXO to work with asterisk. The
problem that I am having is that the VegaStream does not support incoming
registration from asterisk. VegaStream only allows outbound registration.
My question is does asterisk allow incoming registration from an FXO? If yes
how? Or better yet, has anybody been able to make the VegaStream FXO work
with asterisk? According
2000 Dec 29
0
R sings
i have created a package which allows R to play sounds
the package is available from
http://sunsite.univie.ac.at/~neuwirth/Rcsound/
both as zipped binary for windows and as installable tar.gz
preequisite:
you have to install csound on yout machine.
the necessary links are at http://www.csound.org
csound is a very portable program for creating sounds,
and using it as out sound creation tool we
2012 Nov 30
4
Nightingale’s Rose chart-any suggestion?
Hello, Everyone.
Does anyone know how to create a Nightingale’s Rose chart by using R?
Hopefully, the graph could be displayed like this:
http://mbostock.github.com/protovis/ex/crimea-rose.html
Thanks a lot.
Kind regards,
Henry
[[alternative HTML version deleted]]
2010 Nov 29
2
FW: how to use by() ?
Thank you for the suggestion, Bill. The result is not quite what I would like. Here's sample code for you or anyone else who may be interested:
Al1 = c('A','C','C','C')
Al2 = c('G','G','G','T')
Freq1 = c(0.0078,0.0567,0.9434,0.9908)
MAF = c(0.0078,0.0567,0.0566,0.0092)
m1 = data.frame(Al1=Al1,
2009 Apr 17
1
cast function in package reshape
Hello R useRs,
I have a function which returns a list of functions :
freq1 <- function(x) {
lev <- unique(x[!is.na(x)])
nlev <- length(lev)
args <- alist(x=)
if (nlev == 1) {
body <- c("{", "sum(!is.na(x))", "}")
f <- function() {}
formals(f) <- as.pairlist(args)
body(f) <- parse(text = body)
namef <-
2018 Mar 22
1
Calculate weighted proportions for several factors at once
Hi,
I have a grouped data set and would like to calculate weighted proportions for a large number of factor variables within each group member. Rather than using dplyr::count() on each of these factors individually, the idea would be to do it for all factors at once. Does anyone know how this would work? Here is a reproducible example:
############################################################
2010 Nov 29
3
how to use by() ?
Hello, All!
How might one accomplish this using the by() function?
m1 is a data frame.
# populate column "m1$major_allele"
for ( i in 1:length(m1$major_allele)) {
if ( m1$Freq1[i] == m1$MAF[i]){
m1$major_allele[i] = m1$Al1[i]
}
else{
m1$major_allele[i] = m1$Al2[i]
}
}
Jim
[[alternative HTML version deleted]]
2011 Jan 14
2
read in data, maintain decimal places
Good day, All,
Is there any way to maintain the number of decimal places in the type of situation below?
I would like to maintain the number of decimal places in 0.667, despite the fact that its column-mates have a fourth decimal place.
Thank you for your time.
Jim
dat.txt contents:
MARKER ALLELES FREQ1 RSQR EFFECT2 STDERR CHISQ PVALUE
rs6599753 C,T
2011 Nov 19
3
Data analysis: normal approximation for binomial
Dear R experts,
I am trying to analyze data from an article, the data looks like this
Patient Age Sex Aura preCSM preFreq preIntensity postFreq postIntensity
postOutcome
1 47 F A 4 6 9 2 8 SD
2 40 F A/N 5 8 9 0 0 E
3 49 M N 5 8 9 2 6 SD
4 40 F A 5 3 10 0 0 E
5 42 F N 5 4 9 0 0 E
6 35 F N 5 8 9 12 7 NR
7 38 F A 5 NA 10 2 9 SD
8 44 M A 4 4 10 0 0 E
9 47 M A 4 5 8 2 7 SD
10 53 F A 5 3 10 0 0 E
11
2009 Jan 30
3
looking for a link or pdf ot something about opensip/openser and load balancing
hi
i need a link or something about asterisk load balancing i cant find any, i
only found a paragraf in an email
anything wiil be wolcome
thanks!
David
--
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 May 16
2
conditional rowsums in sapply
Hi all
I have a data frame with duplicate columns and i want to remove duplicates
by adding rows in each group of duplicates, but have lots of NA's.
Data:
dfrm <- data.frame(a = 1:4, b= 1:4, cc= 1:4, dd=1:10, ee=1:4)
names(dfrm) <- c("a", "a", "b", "b", "b")
dfrm[3,2:3]<-NA
dfrm
a a b b b
1 1 1 1 1 1
2 2 2 2 2 2
3
2009 Sep 03
1
Subsetting Data Frame based On Specified K Value
I have a data that looks like this:
http://dpaste.com/88988/plain/
How can I extract/subset the data frame
based on selected uniq ID.
Let's say I want the first K uniq ID.
I want to be able to specify the parameter "K" here,
(i.e. given K=3, we hope to extract dat$V2 = 0,1,2).
I'm stuck with this construct:
dat <- read.table("http://dpaste.com/88988/plain/")
dats
2011 Jan 31
2
From data frame to list object
Dear all, let say I have following data frame:
> data.frame(x=rnorm(18), y=rep(c("a", "b", "c"), each=6))
x y
1 -1.072152537 a
2 0.382985265 a
3 0.058877377 a
4 -0.006911939 a
5 -2.355269051 a
6 -0.303095553 a
7 0.484038422 b
8 0.733928931 b
9 -1.136014346 b
10 0.503552090 b
11 1.708609658 b
12 -0.294599403 b
13
2020 Nov 17
2
image works in native but not in vm when cpu mode='host-passthrough' is set
Greetings.
I have an image I've created with a bunch of chost flags which works on my machine when it comes to native boot.
if I take that same image into a vm managed via libvirt, I get kernel panic.
I'd assume that something is missing from my vm config, question is what and what I can do about it?
here is the flags part of lscpu in native and vm: https://dpaste.com/3TR8QJ5G8
and the
2014 Oct 27
2
[LLVMdev] PPC64 old JIT support
Hello there!
I'm intending to port LLVM old JIT API for PPC64le once I wiil need this support in one of my applications. Would a port of this old piece of code be merged on LLVM 3.5, even though it is on the verge of obsoleteness?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Jan 29
2
Live Import of IMAP
Hi,
I have the mailbox of jon.doe at example.com just migrated only with mails
after migration, is it ok to run:
doveadm -o mail_fsync=never sync -1 -R -u joe at example.com imapc:
wiil that import all mails missing mails to the new server? I don't want
that delete any current mail, is that right the command above?
thanks in advance!
--
--
Sergio Belkin
LPIC-2 Certified -
2011 Jan 31
2
Missing at random
R users:
Thanks in advance
How to generate missing at random (MAR)?
assaedi76@yahoo.com
Thanks
[[alternative HTML version deleted]]