search for: abb

Displaying 20 results from an estimated 167 matches for "abb".

Did you mean: ab
2018 Apr 16
3
strange warning: data() error?
A user asked me about this and I can't figure it out. tmt% R R Under development (unstable) (2018-04-09 r74565) -- "Unsuffered Consequences" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) > library(survival) > data(cgd0) Warning message: In data(cgd0) : data set ?cgd0? not found ---- The data set is present and can be
2010 Aug 27
3
Sorting groups in bwplot chart
Hi all, I am just curious how to sort the groups in a categorical box plot chart bwplot here is the example: d<-data.frame(sample(rep(month.abb,20), 100), runif(100,1,10)); colnames(d) <- c("Month", "Value"); bwplot(d$Month ~ d$Value); as you can see Months are not sorted alphabetically. Does anybody know ho to sort those on the chart level? Thank you Jan [[alternative HTML version deleted]]
2010 Aug 04
6
applying strsplit to a whole column
I am sorry, I'd like to split my column ("names") such that all the beginning of a string ("X..") is gone and only the rest of the text is left. x<-data.frame(names=c("X..aba","X..abb","X..abc","X..abd")) x$names<-as.character(x$names) (x) str(x) Can't figure out how to apply strsplit in this situation - without using a loop. I hope it's possible to do it without a loop - is it? Thanks a lot! -- Dimitri Liakhovitski Ninah Consulting www.n...
2003 Feb 13
2
legend
I think I'm missing something tonight in the usage of 'legend': plot(0, type="n") legend(locator(1), month.abb[1:5], pch=15, col=1:5) gives me something similar to what I want. But legend(locator(1), month.abb[1:5], fill=T, col=1:5) gives me 5 black boxes. What am I doing wrong? Thank you, > version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu st...
2018 Apr 16
0
strange warning: data() error?
...ata() is not required. Other data sets in the survival package don't generate this message. On a Mac the Data Manager panel lists that dataset as "cgd0 (cgd)" and I get the same warning with any dataset that has a similar appearance of <name paren-name-paren> , even the `state.abb` vector that is displayed "state.abb (state)" (without the quotes.) > data('state.abb') Warning message: In data("state.abb") : data set ?state.abb? not found > str(state.abb) chr [1:50] "AL" "AK" "AZ" "AR" "CA" &...
2005 Sep 07
2
Month recognition issue
...Version 2.1.1 (2005-06-20), ISBN 3-900051-07-0 Under Mac os X, a french version! I am preparing a package and I got the following issue I am trying to read dates that are written in english and have them recognized by R using as.Date function. I realized strangely that when I type > month.abb [1] "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" [11] "Nov" "Dec" I get the abbreviated english version of every month > x <- c("1-jan-1960", &...
2008 Aug 19
0
Converting monthly data to quarterly dataMonday, August 18, 2008 11:38 AM
...at <- data.frame(price = cumsum(rnorm(450)), date = seq(from = as.Date("2008-01-01"), length = 450, by = "days")) ## get the months of observations dat$month <- factor(format(dat$date, format = "%b"), levels = month.abb) ## and then format this for the quarters dat$quarter <- character(length = NROW(dat)) ## I'm sure these 4 steps can be simplified but just ## how escapes me at the moment dat$quarter[dat$month %in% month.abb[c(12,1,2)]] <- "Winter" dat$quarter[dat$month %in% month.abb[c(3:5)]]...
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]]
2018 Apr 16
1
strange warning: data() error?
...ot required. Other data sets in the survival package don't generate this message. > > On a Mac the Data Manager panel lists that dataset as "cgd0 (cgd)" and I get the same warning with any dataset that has a similar appearance of <name paren-name-paren> , even the `state.abb` vector that is displayed "state.abb (state)" (without the quotes.) > >> data('state.abb') > Warning message: > In data("state.abb") : data set ?state.abb? not found >> str(state.abb) > chr [1:50] "AL" "AK" "AZ" &quo...
2010 Sep 08
2
Drop single-dimensional array
...this is the intended behavior and serves an actual purpose, then that could be explicitly documented in a \note{} on the help page. Such a note would slightly reduce the surprise of users running into this behavior. This is related to the oddity that one-dimensional arrays are: array(month.abb, dim=c(1,1,12)) # array array(month.abb, dim=c(1,12)) # matrix array(month.abb, dim=12) # array Firstly, one would expect the pattern to be array-matrix-vector. Secondly, it's easy to drop() the three-dimensional and two-dimensional objects, but drop() does nothing to the o...
2013 Oct 10
0
[LLVMdev] RTSC - Real-Time Systems Compiler
...on is the automatic migration of an event-triggered (i.e. based on OSEK OS) system to a time-triggered (i.e. based on OSEKTime) one. To achieve this, the RTSC derives an abstract global dependency graph from the source code of the application formed by so called "Atomic Basic Blocks" (ABBs). This "ABB-graph" is free of any dependency to the original operating system but includes all control and data dependencies of the application. Thus this graph can be mapped to another target operating system. Currently input applications can be written for OSEK OS and then be migra...
2009 Jul 09
1
merge performace degradation in 2.9.1
I have noticed a significant performance degradation using merge in 2.9.1 relative to 2.8.1. Here is what I observed: N <- 100000 X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N)) X$mon <- as.character(X$mon) Y <- data.frame(mon=month.abb, letter=letters[1:12]) Y$mon <- as.character(Y$mon) Z <- cbind(Y, group=1:12) system.time(Out <- merge(X, Y, by="mon", all=TRUE)) # R 2.8.1 is 17% faster than R 2.9.1 for N=100000...
2009 Aug 20
4
expanding 1:12 months to Jan:Dec
Dear R users I would like to do some spreadsheet style expansion of dates. For example, I would need to obtain a vector of months. I approached in an obviously wrong way: > paste(01:12) [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" > as.Date(paste(01:12),
2004 Feb 11
4
ext3 Overhead
Hello! I'm using a CompactFlash as storage device. Since those CF cards only have limited write cycles (CF does wear-levelling by itself, but you don't want to write too many timet so the card) i was wondering by what a factor the journaling of ext3 increases the write accesses to the CompactFlash compared to ext2. Thanks a lot already for your help! Sincerely Chris Braun
2010 May 12
2
sorting rows of dataframe
Hello: I have a dataframe, where the first column in a month: Month CATCHMENT_ med min max 1 Apr Alknda01 71.68080 11.9406600 196.2753 2 Apr Alknda02 69.44580 12.1065600 196.2753 3 Apr ArialKhan 39.89310 5.8598700 175.4433 4 Apr Arjun01 4.79652 0.0093336 55.7136 5 Apr Arjun02 4.79652 0.0093336 55.7136 6 Apr Arun01 52.42320 0.1571928
2005 Sep 07
1
Language issue
...Version 2.1.1 (2005-06-20), ISBN 3-900051-07-0 Under Mac os X, a french version! I am preparing a package and I got the following issue I am trying to read dates that are written in english and have them recognized by R using as.Date function. I realized strangely that when I type > month.abb [1] "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" [11] "Nov" "Dec" I get the abbreviated english version of every month > x <- c("1-jan-1960", &...
2013 Sep 30
4
[LLVMdev] RTSC - Real-Time Systems Compiler
Hello John, Thank you very much for your fast response and the patch. Is it possible to add Fabian Scheler and Florian Franzmann to the people section as proposed in the attached patch? I hope to manage to write a description for the 'ProjectsWithLLVM' page this week and send it to the list. Thanks again, Tobias Am 26.09.2013 21:26, schrieb John Criswell: > Dear Tobias, > >
2010 Aug 21
1
[Feature Request] Allow options in Host block to override global options in ssh
...useful for case like following where {d,proj,p,n}cvs.FreeBSD.org is an alias to ncvs.FreeBSD.org hostname, thus connecting to {d,proj,p,n}cvs.FreeBSD.org should utilize the existing connection. #v+ ControlMaster auto ControlPath /tmp/%r@%h:%p Host dcvs Hostname dcvs.FreeBSD.org ControlPath /home/abbe/.ssh/cvs.cpath Host projcvs Hostname projcvs.FreeBSD.org ControlPath /home/abbe/.ssh/cvs.cpath Host pcvs Hostname pcvs.FreeBSD.org ControlPath /home/abbe/.ssh/cvs.cpath Host ncvs Hostname ncvs.FreeBSD.org ControlPath /home/abbe/.ssh/cvs.cpath #v- Thanks -- Ashish SHUKLA | GPG: F682 CDCC...
2012 May 11
1
plot: many bars with wide bars
...g example it doesn't work because the bars for the line "Tab der offe;9;11" are missing. I would like to be able to create the plots up to more double bars (maybe 9 or so). Does anyone know the ansers to this problem? Thanks a lot in advance!! Marion function: My .csv file " abb7ctreff " looks like this: ;bisher;in Zukunft persönl Ges;55;24 andere Vera;45;23 Elternabende;39;26 Gespräche;18;11 persönl ;16;4 Schulunterr;14;9 Tag der offe;9;11 mw_g_2balk <- function(pfad="F:/04 Archiv/04 Programme/19 R_Syntaxe/Grafiken_Funktionen",abb="abb3",skal...
2013 Apr 25
1
time series plot: x-axis problem
...om Jan to Dec > rr=c(3,2,4,5,4,5,3,3,6,2,4,2) > (rr=ts(rr,start=c(2012,1),frequency=12)) > win.graph(width=6.5, height=2.5,pointsize=8) > plot(rr, xlab="2012", ylab="event freq", xaxt = "n", col="blue") > axis(1, time(rr), rep(substr(month.abb, 1, 3), length = length(rr)), cex.axis = .9, tcl = -.5, las = 2) However, if I change the start point from Jan 2012 to May 2012, which is > (rr=ts(rr,start=c(2012,5),frequency=12)) Then run the codes below > plot(rr, xlab="2012 - 2013", ylab="event freq", xaxt = &quo...