Displaying 20 results from an estimated 1000 matches similar to: "Barplot - Can't figure it out"
2011 Dec 01
2
nipals in the chemometrics package in R
Hello
i need some precision about nipals in the chemometrics package in R .
When i use nipals in chemometrics i obtain T and P matrix.
I really don't understand what to do with these two matrix to obtain
the scores for every the component (like in spss fo example)
Comp1 Comp2 Comp3
quest1 0,8434 0,54333 0,3466
quest2 0,665 0,7655 0,433
Thank you very
2005 Apr 04
5
a question about box counting
Hi,
I have a set of x,y data points and each data point lies between (0,0)
and (1,1). Of this set I have selected all those that lie in the lower
triangle (of the plot of these points).
What I would like to do is to divide the region (0,0) to (1,1) into
cells of say, side = 0.01 and then count the number of cells that
contain a point.
My first approach is to generate the coordinates of these
2001 Jun 11
1
Additional output in cancor
Hi everyone,
Can I suggest an additional output component in cancor, from package
mva? It would be useful to have the number of canonical correlation
vectors, equivalently the rank of the covariance between x and y (label
"rank"). This would usually be min(dx, dy), where dx and dy have
already been computed for the svd function, but there might be
situations where it was less than
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
2012 Jan 13
2
function to replace values doesn't work on vectors
I've got a numeric vector with values ranging from 1 to 5, I would like to
catagorize these values like this:
1 becomes catagory 1
3 becomes catagory 3
And everything else in catagory 2. The simple function I wrote beneath works
for single numeric data, but for some reason I am unable to feed it vectors.
Any help would be appreciated, as I'm fairly new to R.
--
View this message in
2000 Jan 04
1
Alternative to cxy in R
good morning to the R-help list!,
I would like to ask if there is an alternative to the S ploting
parameter "cxy" in R. I am trying to port some S code to R that makes use
of this "cxy" parameter to scale the graphics, and I don't find this
parameter in help(par).
thank you,
IOsu
-------------------------------------------------------------------------------
Jes?s
2010 Dec 06
1
getting the exact p value
I was wondering if there is a way to get an exact p-value at times where R
gives me just a range . for example
t.test(x,y)
p-value < 2.2e-16
thanks,
--
View this message in context: http://r.789695.n4.nabble.com/getting-the-exact-p-value-tp3075107p3075107.html
Sent from the R help mailing list archive at Nabble.com.
2010 Mar 22
3
add information above bars of a barplot()
hi,
I have a barplot with six clusters of four bars each.
Now I would like to add the exact value of each bar as a number above the bar.
I hoped to get some tips here.
I could simply add text at the different positions, but I don't understand how the margins on the x-axis are calculated
(how can I get / calculate the x-ticks of a barplot?).
Also I would like to code this flexible enough so
2001 Aug 01
3
partial correlations
Howdy!
I need to calculate partial correlations and I just can't find out how to
do that with R. Can anybody help?
Ragnar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R?
Also, is it possible to get notice taken of some
equivalent of \n in R when using text()?
For what it is worth I am using RW-0.64.1.
John Maindonald email : john.maindonald at anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical
2002 Mar 01
4
UI regression
Hi,
Earlier this year I "upgraded" from wine 20010510 to 20011226 in order
to see if some kind of resource leak was fixed which caused screen
redraws to get progressively slower and slower and slower and slower, ....
That was fixed but there seemed to be a significant number of graphics
and UI regressions. I've just upgraded to 20020228 to see if things
were any better and within
2006 Oct 17
1
Some questions on Rpart algorithm
Hello:
I am using rpart and would like more background on how the splits are made
and how to interpret results - also how to properly use text(.rpart). I have
looked through Venables and Ripley and through the rpart help and still have
some questions. If there is a source (say, Breiman et al) on decision trees
that would clear this all up, please let me know. The questions below
pertain to a
2007 Apr 24
2
problem in tapply command
hello
when I entered following command, I got NA values for some catagories.
> tapply(slp_jeo2$slp,slp_jeo2$jeo,mean )
999 Ca Cka DCy Jh JKi Kk
14.06665 NA 14.60445 NA NA NA NA NA
KTa KTac Ku Kua Kus Ky Kyk ODe
NA NA NA NA NA NA
2005 Mar 30
1
Finding the "height of a line of text" for axis
I would like to draw only the ticks of an axis, but not the axis
itself. I don't think this can be done using axis(), so I am trying to
write a cut-down version in R, which only draws ticks.
The point at which I am stuck is that the length of a tick is set by
par("tcl") as a fraction of the "height of a line of text". So I would
like to draw a line whose length is also
2003 May 12
2
on.exit(par(old.par)) warnings
I often use something like
old.par <- par(set someting)
on.exit(par(old.par))
but in R 1.7.0. I now get warnings:
> old.par <- par()
> par(old.par)
Warning messages:
1: parameter "cin" can't be set in: par(args)
2: parameter "cra" can't be set in: par(args)
3: parameter "csi" can't be set in: par(args)
4:
2003 Jun 19
3
Background color(s) for groupedData plot
I've been using par() to check the graphics parameters
associated with both plot(<fitted linear model>) and
plot(<grouped data object>). AFAIK the only differences
are in the $cxy, $usr, $xaxp, and $yaxp parameters but
the background color for the grouped data plot is grey
while the linear model plot has a white background.
When I've tried par(bg = "white") prior to
2010 Aug 12
3
Median abline how-to ?
Hi,
I'm newbie with R and don't really know how to add a median line to each
of the groups that is not all the plot long.
Here is a small working code that i have adapted for my purpose. If
somebody could tell me how to draw median lines on each group and not
all plot long.
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <-
2008 Jan 29
2
rpart error when constructing a classification tree
I am trying to make a decision tree using rpart. The function runs very
quickly considering the size of the data (1742, 163). When I call the
summary command I get this:
> summary(bookings.cart)
Call:
rpart(formula = totalRev ~ ., data = bookings, method = "class")
n=1741 (1 observation deleted due to missingness)
CP nsplit rel error
1 0 0 1
Error in yval[, 1] :
2004 Nov 20
1
how to suppress whiskers in a bwplot?
dear R-help,
i have looked carefully through the R-help archives for information on how
to suppress whiskers in a bwplot. someone asked this question a while
ago, but the answer he received is not available in the archives.
but i did manage to get my hands on a panel function (called
"my.panel") that is supposed to do this (the function is reproduced at the
end of the email, below).
2003 Feb 09
1
label storage and conversions: DBMS and R
Hi R users,
I am new to using DBMS with R for large datasets. Thanks to all who responded
with useful suggestion to my earlier postings about using large datasets and
DBMS with R. I am writing to get some help about how to design good tables in
DBMS to take full advantage of the wonderful built-in facilities in R, like
labels.
I am using RMySQL client. Because R makes good use of variable