similar to: Stem and leaf display?

Displaying 20 results from an estimated 4000 matches similar to: "Stem and leaf display?"

2003 Feb 17
4
inserting elements in a list
I've searched the doc for insert and could not find the way to do the following, hope someone can help: Let's say we have a vector: > a [1] "1" "2" "3" "5" "6" "3" and we want to insert a "7" after any given "3", i.e., we want vector a to become: [1] "1" "2" "3"
2003 Jun 23
7
How can I do a spinning plot in R?
I have found XLispStat's spinning plots illuminating. I'd like to do the same thing in R. A dozen or so probes with help, help.search, apropos haven't turned up anything, and I've even resorted to grepping through the entire R source distribution looking for 'spin.*plot', to no avail. Either the feature is called something else in R (what?), or it's in some other
2003 Oct 21
2
report generator a la epiinfo
Hi I'd like to use R in epidemiology and disease surveillance. In EpiInfo you can have a script (.pgm) which calls a predefined report (.rpt), where a table is calculated and values picked from that table and placed where the author of the report wants them, with text around those values. (Please see example below.) I've looked at manuals, faq, mail-search and google. The closest is an
2001 Jun 06
3
error in dbeta (PR#970)
Full_Name: Hans Peter Wolf Version: 1.2.1 OS: hpux10.20 Submission from: (NULL) (129.70.84.25) dbeta computes a wrong result with parameters (1.3,1) > version platform hppa2.0-hp-hpux10.20 arch hppa2.0 os hpux10.20 system hppa2.0, hpux10.20 status major 1 minor 2.1 year
2008 Sep 12
1
Parallel stem-and-leaf displays
Hi there, I am trying to find a way to accomplish parallel stem-and-leaf displays in R, yet there seems to be no specific command nor info in the archive that I can depend on. Specifically, there are two batches of data that I want to put together in parallel stem-and-leaf displays. Would anyone help me figure out how to do this in R? Thank you sooooooooooooo much! Jin [[alternative HTML
2008 Jul 13
1
stem and leaf plot: how to edit the stem-values
Hi, I would like to make a stem and leaf plot and I want to edit the category-names. So, by doing this: > x <- c(1,2,2,3,3,3,3,2,2,1) > stem(x) I get: 1 | 00 1 | 2 | 0000 2 | 3 | 0000 First Question: Why do I get gaps between the categories? (like in line 2 and line 4) And second: How can I edit the categories so that I can create something like that:
2004 Oct 08
1
Chernoff faces
> >>>>> "Kenneth" == Kenneth Cabrera <krcabrer at perseus.unalmed.edu.co> writes: > > Kenneth> Hello everybody: Does any one has a function to build Chernoff > Kenneth> faces? > > Many of us don't think it's worth them. > But we know that opinions differ and gladly incorporate > (good quality) submissions of source code. >
2005 Feb 08
2
lme4 --> GLMM
hello! this is a question, how can i specify the random part in the GLMM-call (of the lme4 library) for compound matrices just in the the same way as they defined in the lme-Call (of the nlme library). For example i would just need random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... , ...)))) this specification , if i also attach library(nlme) , is not
2005 Feb 08
2
lme4 --> GLMM
hello! this is a question, how can i specify the random part in the GLMM-call (of the lme4 library) for compound matrices just in the the same way as they defined in the lme-Call (of the nlme library). For example i would just need random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... , ...)))) this specification , if i also attach library(nlme) , is not
2001 Mar 20
3
finding dedicated indexes?
Hi, I've got a matrix of two columns, say: > d <- t(array(1:20,dim=c(2,10))) > d [,1] [,2] [1,] 1 2 [2,] 3 4 [3,] 5 6 [4,] 7 8 [5,] 9 10 [6,] 11 12 [7,] 13 14 [8,] 15 16 [9,] 17 18 [10,] 19 20 now I need those values from column #2 where column #1 is equal to certain values. eg.: > i <- c(13,5,19) The
2002 Feb 22
3
Cent. Mov. Ave
Dear R People: Here is an interesting question(I think) Suppose I want to calculate Centered Moving Averages; i.e. x[1] <- ( sum(y[1:12]) )/12 x[2] <- ( sum(y[2:13]) )/12 and so on. Of course, this is easily done through loops. However, I have been trying to do this more elegantly, but have failed. I have tried things like j1 <- 1:109 j2 <- 12:120 x[1:109] <- ( sum( y[j1:j2])
2005 Sep 21
1
Doubt about Sweave
Hi, At this moment, I make my R output using comments and latex tags in R. Something like this: ### make a plot plot(y~x) dev.copy2eps(file="plot.eps") # @\includegraphics[width=\linewidth]{plot}@ ... After I include the file saved with this code in a latex document using the listings package. It work. I reading about Sweave and it make a good output. But all example is made with
2003 Apr 02
19
Combining the components of a character vector
Dear Help, Suppose I have a character vector. x <- c("Bob", "loves", "Sally") I want to combine it into a single string: "Bob loves Sally" . paste(x) yields: paste(x) [1] "Bob" "loves" "Sally" The following function combines the character vector into a string in the way that I want, but it seems somewhat inelegant.
2003 Sep 14
2
Convert decimal to binary data
Hi, I would like to convert a decimal into a binary number, for instance : 2->(1,0) Any one knows how to do that ? Thanks a lot paul --- [[alternative HTML version deleted]]
2004 Feb 05
2
(no subject)
Hello, Splus contains the function intbin(x,l). This function allows to make a conversion from an integer x to a binary of length l. for example intbin(3,2) returns 11 intbin(3,3) returns 011 Do you know how to do it in R ? Thank you meriema
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject. Therefore, I send it again and two tcltk questions are appended. ---------------------------------------------------------------------------- Prasad wrote: > I wrote a function in R which uses tcltk package .... essentially I wanted > to give within that function, a widget with 2 radiobuttons to choose > between plotting Precip
2003 Dec 05
5
GUI's for R
Hello, I am not currently using R but I have been using S+ for sevaral years. I think that I fit in the category of power users, never using the GUI prefering the flexibility of a command line interface (CLI). In a short while I will try to move to R, that is if we can convince our IT people that installing a freeware package on a Unix server will not damaged the companie's network! The
2000 Apr 25
1
loops
Hi R friends, I havent asked a silly question in a long time so here it is: Reading the last issue of Stat Can J. there is an article in a single degree of freedom test for non aditivity of interactions in anova tables with 1 obs per cell. The authors claim it is more powerfull than Tukey but for the case of multiplicative interaction, which is the alternative studied by Tukey. I tried to
2003 Oct 08
3
2 questions regarding base-n and identifing digits
Dear listers, I have two questions: (1) Is there a way in R to change the base-n of the calculations. I wnat to run some calculations either in binary (base-2) or base-4. Is there a way to specify that in R - to chnage from the decimal? (2) I also want to extract the digits from a larger number and store them as a vector. I could do it through converting top string, parsing the string and
2005 Oct 20
5
spliting an integer
Hi there, From the vector X of integers, X = c(11999, 122000, 81997) I would like to make these two vectors: Z= c(1999, 2000, 1997) Y =c(1 , 12 , 8) That is, each entry of vector Z receives the four last digits of each entry of X, and Y receives "the rest". Any suggestions? Thanks in advance, Dimitri [[alternative HTML version deleted]]