Displaying 20 results from an estimated 30000 matches similar to: "Centos Project : STEM"
2006 Jun 03
0
Irregularity in stem() display (PR#8934)
Hi, R people.
Consider the following small R session:
======================================================================>
> a <- c(8.48, 9.58, 9.96)
> stem(a)
The decimal point is at the |
8 |
8 | 5
9 |
9 | 6
10 | 0
> stem(round(a,1))
The decimal point is at the |
8 | 5
9 |
9 | 6
10 | 0
2003 Jul 16
2
Stem and leaf display?
I would like to do some fairly basic stem-and-leaf displays in R.
I am aware (I might even say painfully aware) of stem(base) and
have tried it. That's why I'm hoping someone has a usable stem-
and-leaf display for R so that I don't have to write my own.
r-project.org > Search > R Site Search > "stem and leaf display"
finds nothing.
I also tried the mail archive
2001 Dec 28
1
Simple:: usage of stem() and hist()?
I must apologize in advance for asking a simple question. I am sure that a clue will be sufficient to get this show on the road. I am trying to graph tide prediction data in various ways. I haven't been able to answer this question after pouring over TFM.
I read the datafile
theight <- read.table("tides",header=TRUE)
I do get a summary() or fivenum()
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:
2018 Feb 16
0
stem - strange leaves
Hi
I do not know why does it happen but you can control the behaviour by setting scale to 0.5.
Cheers
Petr
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Leif Ruckman
> Sent: Friday, February 16, 2018 9:18 AM
> To: r-help at r-project.org
> Subject: [R] stem - strange leaves
>
> > x
> [1] 8.0 7.9 7.5 7.0 8.0 7.3 8.0
2018 Feb 16
0
stem - strange leaves
Hi
R is open source so you could dig into the code. However the actual stem function is probably written in C, so it is beyond my expertise. If you replied to the list there could be experts who are able to provide explanation.
> stem
function (x, scale = 1, width = 80, atom = 1e-08)
{
if (!is.numeric(x))
stop("'x' must be numeric")
x <- x[is.finite(x)]
2004 Aug 24
2
stem() bug?
Is the following a bug with stem() or is there something else that I am
missing? I ran stem() on the vector x below and got stem(x-10) instead of
stem(x). If I subtract 1 from x, I get a correct answer. If I add 1 to x, I
still get a wrong answer. If I add 10 to x, I get a correct answer. I'm not
sure what to make of this, other than to think it is a bug.
Can anyone tell me if this is a bug?
2006 Nov 13
1
"stem" does not give a correct answer (PR#9359)
Full_Name: Myung Geun Kim
Version: 2.4.0
OS: Window XP
Submission from: (NULL) (210.110.8.105)
For the data c1 of size 14, stem provides the following result.
**************************************************************
>c1
[1] 14 39 70 11 38 20 37 15 41 74 74 34 48 51
ZZangi>stem(c1)
The decimal point is 1 digit(s) to the right of the |
0 | 145
2 | 04789
4 | 181
6 | 044
2010 Apr 15
1
classes and functions for qqnorm and stem
Referring to "Using R for Data Analysis and Graphics" by J H Maindonald,
and available from the R site, I found the example on p.30 non-working:
> stem(qqnorm(possum$hdlngth))
Error in stem(qqnorm(possum$hdlngth)) : 'x' must be numeric
Since qqnorm(possum$hdlngth) plots, and
> class(possum$hdlngth)
[1] "numeric"
, the problem must be here:
>
2004 Jan 22
1
stem plot problem with the mtcars data (PR#6453)
Full_Name: Liming Liang
Version: 1.8.1
OS: windows2000 professional
Submission from: (NULL) (67.172.81.139)
I was looking at the variable 'mpg' of the data file 'mtcars' and make a stem
plot, the following is the commend I entered. The stem plot shows the largest
observation is 32.9 but actually in the data the largest observation is 33.9,
here might be a problem.
>
2011 Nov 04
1
Help: stemming and stem completion with package tm in R
Hi All
I came across a problem below when doing stemming and stem completion
with package tm in R. Word "mining" was stemmed to "mine" with
stemDocument(), and then completed to "miners"with stemCompletion().
However, I prefer to keep "mining" intact.
For stemCompletion(), the default type of completion is "prevalent",
which takes the most
2018 Feb 16
4
stem - strange leaves
> x
[1] 8.0 7.9 7.5 7.0 8.0 7.3 8.0 7.2 7.4 7.3 7.8 8.0 7.7 8.3 7.8 7.8 7.1 7.7 6.9 7.5 7.5 7.3 7.2 7.5 7.2
> stem(x)
The decimal point is at the |
6 | 9
7 | 012223334
7 | 5555778889
8 | 00003
> y <- c(x, 8)
> stem(y)
The decimal point is 1 digit(s) to the left of the |
68 | 0
70 | 00
72 | 000000
74 | 00000
76 | 00
78 | 0000
80 | 00000
82 | 0
The
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 Aug 16
1
python how do i stem words in python?
hi,
i am newbie to xapian and am trying to get started with it in python.
there is no stemmer.stem_word method in the latest python library. how
do i stem words before doing doc.add_posting?
is there any sample hello world code in python that i can use?
thanks a lot!
>>> stemmer = xapian.Stem('english')
>>> stemmer.
stemmer.__call__
2004 Mar 05
4
error? at stem() (PR#6645)
Full_Name: Yutaka Hamaoka
Version: 1.8.1(Raqua)
OS: OSX 10.3
Submission from: (NULL) (218.140.186.74)
Hi,
I've found "stem()" falls into infinit loop when x has no variance. Let's try
x<-matrix(1,nrow=100,ncol=1)
stem(x)
Then you will get infinit flow.
The decimal point is 9 digit(s) to the left of the |
-214748360 |
-214748358 |
-214748356 |
-214748354 |
2018 Feb 16
1
Unnecessary lines in stem.c?
A discussion on r-help led me to look at stem.c at
https://github.com/wch/r-source/blob/trunk/src/library/graphics/src/stem.c
Lines 76-77 appear superfluous. They sit inside a condition, and set mu, as follows:
if (k*(k-4)*(k-8) == 0) mu = 5;
if ((k-1)*(k-5)*(k-6) == 0) mu = 20;
But mu is set unconditionally to 10 on line 84, and that is followed by conditional assignments (on line 85-6)
2003 Feb 06
1
Réf. : About STEM Plot in R
hello,
you can use the persp() function. The shade=0.7 option is very nice. With
matlab, it is possible to change of colors automaticalli with the value to
be plotted.
Does someone know to do that ?
Gr?gory
f0z6305 at labs.tamu.edu@stat.math.ethz.ch on 06/02/2003 07:05:04
Envoy? par : r-help-admin at stat.math.ethz.ch
Pour : r-help at stat.math.ethz.ch
cc :
Objet : [R] About
2006 Dec 06
10
Stem Analyzer
Hi all,
I am trying to implement a search that will use the Stem Analyzer. I
added the Stem Anaylzer from the examples shown in another post
http://ruby-forum.com/topic/80178#147014
module Ferret::Analysis
class StemmingAnalyzer
def token_stream(field, text)
StemFilter.new(StandardTokenizer.new(text))
end
end
end
The problem with the Stem analyzer is that when I search for a
2009 Jun 05
2
Blacklist stemming
Hi,
I need to modify the stemming for a couple of words (a blacklist) and for
all the other to use the usual snowball stemmer.
The "natural" way of doing it would be to derive from Stem and override
operator ()... but I am using *python-bindings*. Would this be possible?
If not I have two other solutions in mind:
- add a custom stemmer to Xapian
- write custom index & search
2006 Dec 06
1
AAF - Stem Analyzer
I''m not on AAF. Can someone else help Raymond with an example?
On 12/6/06, Raymond O''connor <nappin713 at yahoo.com> wrote:
>
> Matt Schnitz wrote:
> > You also need to stem-analyze the incoming query.
> >
> > I had this same problem. :^>
> >
> >
> > Schnitz
>
> Do you have an example of how to do this? I''m using