Displaying 20 results from an estimated 6000 matches similar to: "easy graphic question"
2001 Oct 22
3
Two questions
Greetings,
I have two questions that I could not answer from the
documentation.
A - ecdf and confidence intervals : Is there a (simple) way to generate
confidence intervals (95%) for a ecdf?
B - cross-validation of rpart trees : a colleague is using S to
generate decision tree and mentioned to me the use of cross-validation. Is
this function enabled in R ? if so, how should one proceed to
2001 Aug 29
5
newbie graphics question
Hi!
I need to plot two lines on the same graph. I do
plot(x,y)
then
plot(x,z,add=TRUE)
but I get the following warning messages
Warning messages:
1: parameter "add" couldn't be set in high-level plot() function
2: parameter "add" couldn't be set in high-level plot() function
3: parameter "add" couldn't be set in high-level plot() function
4:
2003 Jan 04
1
easy graphics question
What's the pch code for drawing an arrow in a plot?
myriam
2002 Oct 06
6
error bars in line plots
Hi!
Could you tell me how I can draw a graph with error bars?
Sorry, I don't use R that often and I couldn't find it easily in the
documentation.
TIA
--
myriam
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 Mar 21
3
plot question
Hi!
I want to display 2 graphs with different number of data points on the
x-axis. The code below scales them so it seems that testtwo has the
same number of data points as testone. How can I fix that? thanks.
z<-1:50;
x<-1:100;
plot(x,testone,type="l",xlab="",ylab="",main="",lty=4,axes=FALSE,ylim=c(-1.0,1.0),cex=1);
par(new=TRUE);
2002 Oct 10
1
read.table conversion question
Hi!
I would like to read data read with read.table row by row into a
c() vector.
data<-read.table("test",header=FALSE)
for (i in 1:length(data[[1]])) {
temp <- ??
do something with temp
}
data[1,] gives me
V1 V2 V3 V4 V5
1 1 -1 -1 -1 0.33
c[temp[1],temp[2]) gives me
$V1
[1] 1
$V2
[1] -1
Sorry if that's well known but I can't still figure it
2002 Nov 11
1
problems downloading R-1.6.1
Hi!
There is a "musical" note next to the rpm in CRAN and its mirrors and
it seems to require some sort of plugin that I don't have. Is there a
way around that?
Thanks.
myriam
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2003 Jul 21
3
Confidence Band for empirical distribution function
Hi,
I was trying to draw an empirical distribution function with uniform
confidence bands. So I tried to find a way to calculate values of the
Kolmogorov-Smirnov Distribution but failed.
I guess it must be hidden somewhere (since the ks-test is implemented),
but I was unable to find it.
Is there any way to do this?
Thanks
Leif Boysen
2006 Apr 20
2
smooth the ecdf plots
Hi All,
I have codes as follows to get the ecdf plots:
>
day.hos2<-c(6,4,6,6,4,6,5,4,7,5,6,6,8,6,17,9,8,4,6,3,5,8,7,12,5,10,6,4,6
,13,7,6,6,25,4,9,96,6,6,6,6,9,4,5,5,4,10,5,7,6)
>
day.hos3<-c(5,6,7,6,4,5,6,6,6,6,19,7,5,9,8,8,7,5,6,20,40,5,8,7,7,5,6,13,
11,9,4,6,9,16,6,7,6)
> f<-ecdf(day.hos2)
> plot(f,col.p='red',col.h='red')
>
2001 Sep 24
1
Problem with read.table and scan
I have just installed R on a Windows NT system. Unfortunately I am unable
to open any of the data files I wish to work with. I have tried using
read.table and scan and to the best of my knowledge am using the correct
syntax. The error message I receive is
Error in file(file, "r") : cannot open file [file name]
I have the data in text files in white-space delimited form. I put them
2001 Oct 16
5
help me
Hy,
I have dowloaded the R-version for Windows.
I would want to plot different pictures on the same device, but I am not
able to do it (i.e I would like make 2 qqplot on the same graphic).
Can you help me?
Thanks in advance
Davide
reply to: d.tarfanelli at libero.it
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Oct 18
1
Sgeostat module
Dear Users,
I use Sgeostat to calculate co variogram (function est.variogram with two
variables).
If i inverse the 2 variables in the functions, the co variogram change!
Normaly it is symmetric, isn't it?
Someone could me explain why, or give me an idea to calculate co variogram
in a easy way...
Thanks in advance
Laurent
ps : sorry for my english
Laurent William Dubroca
Centre de
2002 Jan 30
3
R version 1.4.1 is released
I've rolled up R-1.4.1.tgz a short while ago. This is a patch upgrade,
fixing the most important bugs that cropped up after the 1.4.0 release.
A set of recommended packages which have been tested with R-1.4.1 has
been bundled up. Binary distributions are expected to include these
packages.
You can get the files from the developer site
ftp://cvs.r-project.org/pub/CRAN/src/base/R-1.4.1.tgz
2002 Jan 30
3
R version 1.4.1 is released
I've rolled up R-1.4.1.tgz a short while ago. This is a patch upgrade,
fixing the most important bugs that cropped up after the 1.4.0 release.
A set of recommended packages which have been tested with R-1.4.1 has
been bundled up. Binary distributions are expected to include these
packages.
You can get the files from the developer site
ftp://cvs.r-project.org/pub/CRAN/src/base/R-1.4.1.tgz
2001 Nov 18
1
plotting overlapping data points
I am just learning to use R. The data from my current project are
integer-valued. I am able to create scatterplots, but I would like to
have some indication on the plots when multiple data points overlap at
the same x-y coordinate. SPSS uses 'petals', and other packages use
jitter. Are there similar options in R? I have not been able to find
any in the documentation.
Thanks very much,
2001 Oct 10
1
Importing many files
Hello Cracks,
we want to import 10 x 365 files containing each 7 variables with 1211
rows. The filenames end with numbers from 1 to 365. We tried a for loop
to import using read.table but we couldn't create the r objects within
the loop. We want each file in an own r-objekt (matrix).
Does anyone know what can be done?
Thanks, Felix
--
Felix Tiefenbacher
Eidg. Institut f?r Schnee- und
2001 Aug 13
3
subset syntax
Can anyone tell me what's wrong with this command??
xx<-subset(x,LOCAL.NAME==c("Chifumbata","Chikota"),select=c(13,16,19,23,26,2
9,30,33:48))
Warning message:
longer object length
is not a multiple of shorter object length in: LOCAL.NAME ==
c("Chifumbata", "Chikota")
both of the following commands work fine
2001 Aug 15
1
Re: R: Mailing Lists
Is it true that append=T does not work in assignTable() in RMySQL ?
More specifically: I cannot append a data.frame to an existing table
in a MySQL database, although I can use the same data.frame to
create a new table.
Even more specifically:
> assignTable(con,"employee",dita,append=T)
Error in execStatement.MySQLConnection(con, statement, ...) :
RS-DBI driver: (could not
2001 Dec 07
2
Help for Linear Discriminant Analysis
Dear colleague,
I'd like to compute linear discriminant analysis, using R. In the book Modern applied statistic with Splus (Venables & Ripley, p. 396), lda function is used. Could you tell me where I can find this function? At what site, can I download this library ?
Thank for your help.
Best Regards
Sovan
----------------------------------------------------------------
Prof. Sovan
2002 Feb 19
2
No subject
Hi,
I'm a new R users (although I have a little experience with S+). I am using the latest version (1.4.1) of R on a Windows 2000 system.
I have obtained several of the additional R packages ("modules") and would like to know how to permanently install them. What I am after is something similar to the following in S+
> .First <- function() { module("module_name")