search for: nna

Displaying 20 results from an estimated 23 matches for "nna".

Did you mean: na
2011 Apr 17
3
Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...
...ing mails on this topic. I found a small modification that should work : https://stat.ethz.ch/pipermail/r-help/2001-November/016817.html and tried to implement it. Basically, it says to replace boxplot.stats with: myboxplot.stats <- function (x, coef = NULL, do.conf = TRUE, do.out = TRUE) { nna <- !is.na(x) n <- sum(nna) stats <- quantile(x, c(.05,.25,.5,.75,.95), na.rm = TRUE) iqr <- diff(stats[c(2, 4)]) out <- x < stats[1] | x > stats[5] conf <- if (do.conf) stats[3] + c(-1.58, 1.58) * diff(stats[c(2, 4)])/sqrt(n) list(stats = stats, n = n, conf =...
2010 May 07
1
How to pass value to an argument in a function which is an argument to the main function
...d was: (x) Thanks a lot. Jun Shen from Millipore Corporation ======================================================== my.boxplot.stats<-function (x, coef = 1.5, *type=6*, do.conf = TRUE, do.out = TRUE) { if (coef < 0) stop("'coef' must not be negative") nna <- !is.na(x) n <- sum(nna) stats <- stats::quantile(x, type=type,na.rm = TRUE) iqr <- diff(stats[c(2, 4)]) if (coef == 0) do.out <- FALSE else { out <- if (!is.na(iqr)) { x < (stats[2L] - coef * iqr) | x > (stats[4L] + coef *...
2008 Jun 12
3
Problem with Freq function {prettyR}
Dear list, I have a problem with freq from prettyR. Please have a look at my syntax with a litte example: library(prettyR) #Version 1 test.df<-data.frame(q1=sample(1:4,8,TRUE), gender=sample(c("f","m"),8,TRUE)) test.df freq(test.df) #No error message #Version 2 test.df<-data.frame(gender=sample(c("f","m"),8,TRUE), q1=sample(1:4,8,TRUE)) test.df
2012 Jan 29
1
Modifying whiskers in boxplots?
...know this has been covered on here before, but as a complete novice, I need a little more guidance. I would like to produce boxplots with the whiskers extending to the 10 and 90th percentiles. I found this code: myboxplot.stats <- function (x, coef = NULL, do.conf = TRUE, do.out = TRUE) { nna <- !is.na(x) n <- sum(nna) stats <- quantile(x, c(.1,.25,.5,.75,.9), na.rm = TRUE) iqr <- diff(stats[c(2, 4)]) out <- x < stats[1] | x > stats[5] conf <- if (do.conf) stats[3] + c(-1.58, 1.58) * diff(stats[c(2, 4)])/sqrt(n) list(stats = stats, n = n, conf = c...
2011 Oct 04
1
a question about sort and BH
...39; and speed improvements contributed by ## Gordon Smyth <smyth@wehi.edu.au>. method <- match.arg(method) if(method == "fdr") method <- "BH" # back compatibility nm <- names(p) p <- as.numeric(p); names(p) <- nm p0 <- p if(all(nna <- !is.na(p))) nna <- TRUE p <- p[nna] lp <- length(p) stopifnot(n >= lp) if (n <= 1) return(p0) if (n == 2 && method == "hommel") method <- "hochberg" p0[nna] <- switch(method, bonferroni = pmin(1, n * p),...
2010 Jan 28
10
Anyone successfully setup Continous Backup of mailboxes using rsync ?
Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide & advise. Thanks CoolAtt _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
2006 Oct 28
3
Debugging R's code: boxplot.stats
..., as exactly the same error occurs---although I cannot be sure that it is occurring inside boxplot.stats. Does anyone have any tips, suggestions or comments? I'd love to be able to fix this. (For what it's worth I wish to change line 14 of boxplot.stats so that it reads "if (any(out[nna],na.rm=TRUE))".) Thank you for your thoughts, Matthew
2007 Aug 23
0
indexing and regression testing
...046 0.00013 35.38462 > timefactor(any(is.na(Vec2)), length(match(NA, iVec2)), 50, 1000) nom denom factor user.self 0.0044 0.00014 31.42857 sys.self 0.0000 0.00000 NaN elapsed 0.0042 0.00014 30.00000 > > # or ask directly :-) > timefactor(any(is.na(Vec1)), iVec1$nNA, 50, 10000) nom denom factor user.self 0.0044 9e-06 488.8889 sys.self 0.0000 0e+00 NaN elapsed 0.0044 9e-06 488.8889 > timefactor(any(is.na(Vec2)), iVec2$nNA, 50, 10000) nom denom factor user.self 0.0046 1e-05 460.0000 sys.self 0.0000 0e+00 NaN elapsed...
2008 Mar 09
2
p-adjust using Benjamn and Hochberg
...what i have 9997 201674_s_at 0.327547396 9998 221013_s_at 0.834211067 9999 221685_s_at 0.185099475 I import them from excel have have the gene symbol as well as the pvalue here is the issue > pa<-p.adjust(pt,method="BH") Error in p[nna] : object is not subsettable In addition: Warning message: In is.na(p) : is.na() applied to non-(list or vector) of type 'closure' > adjust<-sum(pa<0.1) Is there anything i need to change? thanks, k -- View this message in context: http://www.nabble.com/p-adjust-using-Benjamn-an...
2017 Aug 02
1
Looping Through QuantMod Objects
...NA, NA, NA, NA, NA, NA, NA, NA, 9.22, 182795, NA, 182795, 112258, 70537, 11993, 6041, NA, NA, NA, NA, 130292, 52503, NA, NA, -311, 53483, 39510, NA, NA, 39510, NA, NA, NA, 39510, NA, 39510, 39510, NA, NA, NA, 0, 6122.66, 6.45, NA, 1.81, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, 6.45, 170910, \nNA, 170910, 106606, 64304, 10830, 4475, NA, NA, NA, NA, 121911, 48999, NA, NA, -24, 50155, 37037, NA, NA, 37037, NA, NA, NA, 37037, NA, 37037, 37037, NA, NA, NA, 0, 6521.5, 5.68, NA, 1.63, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, 5.68))$BS$Q" [2,] "list(Q = c(NA, 59501, 67101, 11579,...
2006 Oct 05
1
unexpected behavior of boxplot(x, notch=TRUE, log="y")
A function I've been using for a while returned a surprising [to me, given the data] error recently: Error in plot.window(xlim, ylim, log, asp, ...) : Logarithmic axis must have positive limits After some digging I realized what was going on: x <- c(10460.97, 10808.67, 29499.98, 1, 35818.62, 48535.59, 1, 1, 42512.1, 1627.39, 1, 7571.06, 21479.69, 25, 1, 16143.85, 12736.96,
2006 Oct 09
1
boxplot, notches, etc.
...ate the notches (and issue a warning) when this happens, in src/library/grDevices/R/calc.R: [WATCH OUT FOR LINE WRAPPING BELOW!] *** calc.R 2006-10-07 17:44:49.000000000 -0400 --- newcalc.R 2006-10-07 19:25:38.000000000 -0400 *************** *** 16,21 **** --- 16,26 ---- if(any(out[nna])) stats[c(1, 5)] <- range(x[!out], na.rm = TRUE) } conf <- if(do.conf) stats[3] + c(-1.58, 1.58) * iqr / sqrt(n) + if (do.conf) { + if (conf[1]<stats[2] || conf[2]>stats[4]) warning("confidence limits > hinges: notches truncated") + conf[1] <...
2001 Nov 14
1
pdf driver (PR#1169)
...HAECAwQDJAMEHBUTBQwFBywGBQwGPAZ8BRwEHP0dChECAwYFBncD9/f3mWEbyRFPxvmZ oUIGHFCI/7zhm2uxPz3939Rpr+My5xvruF/kRgiD4fCcc/qnO+ycE+nfsNNcyVb39CInveCnNSZu qeYi/QgR/s5XEHWAyeuhY/a7qeu4FucS/dfSzr0+8JPAew+847qauMeXcIn+3fqOGuP/TZ7z40tP fzf5vI7+Sn7w2pKj/1qSo/eakqP7zpBydN45lFPc6FhXaUvJV+fKkmf6tDW3NYsHcRtzVTdrLOXy nna+StETXq97C0s+m3vNzo3OzuMu7vL4T693K/NY3Lnc8m5pWsMAe61mSfy3ukzVbKFc3FHvjkux QvrCWp3m/Lu1aUOv/NdqdefHfysLtXNL7t2M/DxWdvndSeWs7spSLK6uPS6bL61TtlBcs+O7c2nO 78Ccv8rKXMxa3fF+9Y5fDcn338RsbeScqHv+DXIt2O5RcSWEkze4XQyzx6W6fjSXvy6KHW/7IgNf SMS0uVhBBreQkT4ywHC14hKd3c7gpjPSwyjYGtDNktigLjaaGLpQm4ua6NFEOppo4GtMuWH0...
2014 Feb 05
5
[Bug 898] New: You can not add a non-name set with more than 255 elements aprox. Do not show any error.
...2.230, 127.2.2.231, 127.2.2.232, 127.2.2.233, 127.2.2.234, 127.2.2.235, 127.2.2.236, 127.2.2.237, 127.2.2.238, 127.2.2.239, 127.2.2.240, 127.2.2.241, 127.2.2.242, 127.2.2.243, 127.2.2.244, 127.2.2.245, 127.2.2.246, 127.2.2.247, 127.2.2.248, 127.2.2.249, 127.2.2.250, 127.2.2.251} accept $ sudo nft -nna list table ip test-1 table ip test-1 { chain input250 { type filter hook input priority 0; ip saddr { 127.2.2.251, 127.2.2.250, 127.2.2.249, 127.2.2.248, 127.2.2.247, 127.2.2.246, 127.2.2.245, 127.2.2.244, 127.2.2.243, 127.2.2.242, 127.2.2.241, 127.2.2.240, 127.2.2.239, 127.2....
2010 Jan 27
1
maildir/cur/ - file names
Hi All. I want to know how filenames are changed by dovecot e,g more details on how it renames the files when a mail is read. For read mails i found that it appends an S. 1264579250.P22376Q0M765148.ecs,S=1161:2 1264579250.P22376Q0M765148.ecs,S=1161:2,S Want to know if other modifications done in file names in INBOX & in SENT (maildir/.Sent/cur) Thanks CoolAtt
2010 Feb 02
1
Restore of individual mail files
Hi. In order for restoration to work fine, I have to create a folder using the interface (e.g RounCube) which also creates the required structures. Then I copied the emailfile e.g xyz:s to /myrestoredemail/cur/ How do i properly create a folder with its structures(index,etc) without using the RoundCube web inteface ? Thanks CoolAtt
2010 Feb 11
1
How to configure Lazyexpunge plugin?
Hi, I tried the plugin but it is not working. Am using virtual mailboxes. I added the following in dovecot.conf then restarted dovecot. Please guide me to the correct configuration. ############################## namespace private { prefix = separator = / inbox = yes } # namespace for lazy_expunge plugin: namespace private { prefix = .EXPUNGED/ separator = / location =
2010 Feb 04
2
rsync for mailbox backup
Hi .. Am using rsync to mirror all mailboxes to a backup server. I have configured rsync to run every 1 min. we have around 50 mailboxws for now. Plz advise if ok to run rsync every 1 min. Thanks CoolAtt _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 -------------- next
2010 Jan 26
1
Are Mail files in /Maildir/cur & /Maildir/.Sent read-only ?
Hi ALL... I want to know if the files in /Maildir/cur & /Maildir/.Sent are modified by dovecot. I have a script which calculates the age of the mail files. I think that if they are continuously modified by dovecot I won't be able to calculate the age of the files. Can Anyone plz advise on this.... Thanks CoolAtt
2014 Feb 05
3
[Bug 895] New: Add a 'ipv6_address' set into a ipv4 table and vice versa
...ess' set into a ipv6 table. # With a ipv6-set $ sudo nft list table ip t-ip table ip t-ip { set t-ipv4-set { type ipv4_address } chain c-filter { type filter hook input priority 0; } } $ sudo nft add set ip t-ip t-ipv6-set { type ipv6_address\;} $ sudo nft -nna list table ip t-ip table ip t-ip { set t-ipv4-set { type ipv4_address } set t-ipv6-set { type ipv6_address } chain c-filter { type filter hook input priority 0; } } # With a ipv6-set $ sudo nft add table ip6 t-ipv6 $ sudo nft add chain ip6 t-ipv...