Displaying 20 results from an estimated 400 matches similar to: "No subject"
2003 Jul 17
3
confused about histograms
I've got a data set with integer codes from 0--3. I'd like a
histogram with a single bar for 0, 1, 2 and 3. I'd like each of the 4
bars centered over a label.
hist(mydata, breaks=4, main="Simulation")
gives me three bars. The best I've been able to do is do something
like
print(hist((wexp), breaks=25, main="Simulation"))
This gives me something
2002 Jan 24
3
getting rank order
I'm doing a study where people place a deck of cards in a certain
order. It's sufficient to assume that their colors & each has a
number (it's actually about attributes of hobbies). I'd like to look
for patterns in how they've arranged the deck. For each subject I
have a list like 3,5,2,4,1, indicating that (s)he chose 3 first, then
5, then 2. . . .
I think what I first
2002 Feb 12
1
increasing space available for labels
I've got a graph with really long labels. I've tried decreasing the
font size, but they're still getting truncated. I've RTFMed & it
seems that mgp should have something to do with this, but I can't make
it work. I need about 2-3x as much space for labels as is available
by default (or on the example below).
boxplot(split(ranks,c(1:25)), names=items, horizontal=F)
2002 Aug 09
2
RMySQL fetch defaults to N=500?
It appears that fetch() gets only the first 500 rows by default. I
don't see this in the documentation, but
timeinfo <- fetch(rs)
gets only 500 rows where
timeinfo <- fetch(rs,n=-1)
gets (correctly) 736 for the same query. Is this an undocumented
feature? I played with this data for an alarming amount of time
before I realized that I was missing a third of the data. I
2003 May 23
1
Summary statistics & plots of repeated measures data
I'm an R novice and my colleagues are about to convince me to get my
data into SPSS, which will presumably be easier for someone who
doesn't live in R to point and click his way into some kind of
analysis that might be meaningful.
I've got two groups of subjects (classkey in the table below).
They've each received several different treatments. One measure is a
1-7 rating taken
2002 Jan 15
3
Getting started with R
I've got a background in computer science & have been using Linux for
nearly a decade. I'm working on a Ph.D. in education and technology
and I essentially live in emacs and do all of my writing in LaTeX.
To me R seems like the perfect stats package. Unfortunately, the
learning curve is killing me. I feel like that if I'd waded through
pulling down menus in SPSS or SAS I could
2012 Aug 07
5
summing and combining rows
Hello,
I have a data set that needs to be combined so that rows are summed by a
group based on a certain variable. I'm pretty sure rowsum() or rowsums()
can do this but it's difficult for me to figure out how it will work for
my data based on the examples I've read.
My data are structured like this:
Plot SizeClass Stems
12 Class3 1
12 Class4
2002 Feb 21
2
help understanding box plots
Another naive stats question. I'm trying to better understand what
boxplots are telling me.
I think what I see is the median and the boundaries of the 1st and 3rd
quartiles. The whiskers represent the range of the data unless there
are points which are outside "range" (default: 1.5) times the distance
from the median to that quartile. Is that right? I've read the
2003 Jul 18
1
confused about x-coordinates and bar charts
Thanks for all the help on my previous histogram problem. I intend to
summarize the solutions back to the list Real Soon Now, but first, I've
got another problem.
I've made a bar chart that reports means. I'd like to put the number
of observations on top of each bar. Here's what I've got:
barplot((subset$x),
col=grey(.5),
ylab="Mean Engagement
2011 Oct 10
4
Type of Graph to use
Hi,
Please advice on what type of graph can be used to display the following
data set.
I have the following:
Name Class
a Class 1
a Class4
b Class2
b Class1
d Class3
d Class5
e Class4
e Class2
So each entry in name can belong to more than one class. I want to represent
the data as to see where
2005 Nov 06
2
cox models
Hello,
i'm a french student of medical oncology and i'm working on breast
cancer. I have a variable with the histologic type of tumor wich is
between 1 and 5. I use as.factor function to make some variable with
level between 1 and 5. When i put it in the cox model i have only the
level between 2 and 5. The level 1 doesn't appear. I think i have to
change the number of level but i
2008 Mar 25
2
ggplot2 - facetting
Dear All,
After having overcome the issue of legends (thanks, Thierry, once
more), I am trying to use facetting, but here also I can not find how
to do this. I do not want to use qplot, but rather the more flexible
options. However, it seems I am doing still something pretty stupid,
because I always get an error, even if it seems I am doing everything
like the examples.
My code is below.
2004 Jun 18
0
Problem with setValidity() or resetClass() or ... ?
Hi,
I'm working with Version 1.9.0 (2004-04-12) on Windows 98/NT/2000 where
I found the following wrong (?) behavior of setValidity().
I already mentioned this on the R-help list (2004-06-11, was
"setValidity changes Extends?") , but as I got no answer I tried to
figure out what's happening.
Well, setValidity() behaves not as I would expect (something about the
2005 Aug 04
1
exact goodness-of-fit test
Hello,
I have a question concerning the R-function chisq.test.
For example, I have some count data which can be categorized as follows
class1: 15 observations
class2: 0 observations
class3: 3 observations
class4: 4 observations
I would like to test the hypothesis whether the population probabilities are all equal (=> Test for discrete uniform distribution)
If you have a small sample size
2012 Jan 26
2
R extracting regression coefficients from multiple regressions using lapply command
Hi, I have a question about running multiple in regressions in R and then
storing the coefficients. I have a large dataset with several variables,
one of which is a state variable, coded 1-50 for each state. I'd like to
run a regression of 28 select variables on the remaining 27 variables of
the dataset (there are 55 variables total), and specific for each state, ie
run a regression of
2002 Jan 23
2
exporting plots
I'm running R (latest) on linux, using gnome. I was wondering how
export the plots to an image file of sort sort. I can't find anything
obvious in the documentation.
Thanks in advace. Please CC me any replies, as I'm not subscribed to
the list.
-Aaron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2009 Oct 28
3
variable labels to accompany data.frame
Often it is useful to keep a "codebook" to document the contents of a dataset. (By "dataset" I mean
a rectangular structure such as a dataframe.)
The codebook has as many rows as the dataset has columns (variables, fields). The columns (fields)
of the codebook may include:
? variable name
? type (character, factor, integer, etc)
? variable label
2004 Aug 18
4
Gamest and QoS
Hi
I share my bandwith (adsl 512/128) between 12 users. I set up simple qos script for
incoming (IMQ) and outgoing traffic using htb in root, 4 classess and esfq qdisc at
leafs.
Interactive traffic goeas to class1 , http,mail etc. to class2, p2p,
ftp to class3, and rest to class4. Classess divide link in
proportion 20% (prio 1), 40% (prio 2), 20% (prio 3) ,20% (prio 4)
This works
2005 Jun 27
3
Bad Bad Performance; Max 20 Calls on Quad Proc?
Here is the setup: Dell 6250, Quad Proc P3 500Mhz. Digium Single Span T1
card. System has 71 sip peers/users. All calls are G729; we have 10
licenses. All calls follow this path: UA -> Asterisk -> Digium PRI ->
Class4/5 switch. The switch dictates if it should go out local PRI for
local termination or out PRI to our Cisco AS5300 for LD termination.
Our biggest problem is echo.
2010 Nov 03
2
[klaR package] [NaiveBayes] warning message numerical 0 probability
Hi,
I run R 2.10.1 under ubuntu 10.04 LTS (Lucid Lynx) and klaR version 0.6-4.
I compute a model over a 2 classes dataset (composed of 700 examples).
To that aim, I use the function NaiveBayes provided in the package
klaR.
When I then use the prediction function : predict(my_model, new_data).
I get the following warning :
"In FUN(1:747[[747L]], ...) : Numerical 0 probability with