Displaying 20 results from an estimated 1000 matches similar to: "tempsum"
2007 Feb 18
3
User defined split function in rpart
Dear R community,
I am trying to write my own user defined split function for rpart. I read
the example in the tests directory and I understand the general idea of the
how to implement user defined splitting functions. However, I am having
troubles with addressing the data frame used in calling rpart in my split
functions.
For example, in the evaluation function that is called once per node,
2013 Mar 28
1
make R program faster
Hi
there are some good tips in "The R Inferno"
http://www.burns-stat.com/documents/books/the-r-inferno/
or connect C++ to R with Rcpp
http://dirk.eddelbuettel.com/code/rcpp.html
or byte code compiler (library(compiler))
or library(data.table)
but do you have an idea to fasten standard R source code, with the
following Rprof output
self.time self.pct total.time
2004 Oct 27
4
ploting axes and rotating strings
Hello!
I have two question that rose from trying to tacle the same problem in two
differnet ways.
What I want to do is to plot axes (only values or labels, no tick marks) in
such a way that 'cex' can be very small, text can be perpendicular to the
axis (as in axis(las=2) ) and the text is stil at the right position.
Let me demonstrate with a small example:
2005 May 10
2
filename
Hey,
I'm generating a .jpeg file for a web application passing parameters to
R via cgi. R gets the parameters by using commandArgs, which are passed
to a variable named j and z
j<-commandArgs()[3]
z<-commandArgs()[4]
Later I want to use the characters strings of the argument which the
variables are holding for my filename, e.g.:
jpeg(file="d:/data/images/jz.jpeg",...)
2005 Jun 02
1
DEM calculation
Hello R-World,
i am trying to calculate data for a DEM (Digital Elavation Model) which i
also want to plot in R. i have the coordinates for the lower left corner
which look something like this:
x<-42,2
y<-50,5
besides i have the cellsize of the grid, which is:
z<-1,1
what i do is to calculate the corrdinates of the cells to the right and top,
what i can do by specifying the number of
2012 May 31
1
fitting allometric equation using a for a power model
Hello all,
I'm fitting an allometric equation that looks like a really clean fit in
the log-log space, but when I back transform the fit of the curve appears
to need an adjustment - the fitted curve appears to predict values a good
deal higher than those from the data. I included a bias correction per
Newman, M. (1993). Regression analysis of logâtransformed data: Statistical
bias and its
2007 Feb 24
1
recovering collums of DF using a text var.list
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070224/7164edfb/attachment.pl
2010 Jun 18
3
ploting dots with quentiles
http://r.789695.n4.nabble.com/file/n2260087/%E6%8D%95%E8%8E%B7.png
I am going to plot my data set like this, with means and 25% & 75%
quentiles.
I've tried "boxplot", but the output is not what I want. Should I use other
functions? Thanks
--
View this message in context: http://r.789695.n4.nabble.com/ploting-dots-with-quentiles-tp2260087p2260087.html
Sent from the R help
2004 Jul 09
3
Problem with bwplot
Try factor(vec2) in your bwplot() call.
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Ernesto Jardim
Sent: Friday, July 09, 2004 9:41 AM
To: Mailing List R
Subject: [R] Problem with bwplot
Hi,
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.
2006 Apr 18
4
how to change legend size in a figure
Dear All,
I am producing a figure with many curves on it. How do I make the legends for all those curves smaller so that it can fit the figure itself? The commands I used for ploting are:
plot(x1,y1,col=1,lty=1)
lines(x2,y2,col=2,lty=2)
...
legend(0.3,0.4,c("name1","name2",...),col=1:20,lty=1:20)
Any tips for making the legend fit the figure will very welcome! Thanks!
Best,
2011 Dec 05
2
bit error robustness
Hello everyone,
I'm evaluating the Celt in terms of robustness against bit errors.
So what I have done is encoding a wav file using the \tools\celtenc.exe
and then manipulated the wav file according a desired bit error rate or
burst error length.
But the Celt decoder stops decoding with the first bit I manipulated even
if this bit is not in the header.
So is there a way to do the test
2013 Dec 02
3
legend position
Hi all.
I'm ploting a raster and I can't find the proper way to move the legend. For example,
r = raster(system.file("external/test.grd", package="raster"))plot(r)
How can I put the legend at the desired position?
Thank in advance,Phil
[[alternative HTML version deleted]]
2006 Jun 21
4
help on ploting various lines
Dear All,
I tried to plot a variety of lines(curves) on same figure. What I did is,
plot(x=x1,y=y1)
lines(x=x2,y=y2)
lines(x=x3,y=y3)
...
In my data, the maximum of y1 is much smaller than those maximums of other y vectors. So, in the figure I got, there are some curves which are not complete, I mean, they were cut off at the maximum of y1 at the y axis. Could anybody point out some right
2006 Nov 17
3
Trellis Plot Labels
Hello everyone,
I am ploting a groupeddata object with formula:
formula(mydatausegroup)
BF ~ HO | ID/Infar/Day
Using this command:
plot(na.omit(mydatausegroup), displayLevel=2,layout=c(10,2),aspect=2)
This trellis plot does almost what I want and produces a 10x2 trellis plot, each panel is labeled
as ID/Infar where infarct is either 1 or 0. And in each panel, it plots BF vs HO for each Day.
2003 Jan 23
2
Exporting graphics window
Hi
I'm working on a remote computer with R (SuSE 8.1) and I want to do some
ploting. Does anyone knows if it is possible to export the graphics
window in to my display and how I can do it ?
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
Research Institute for Agriculture and Fisheries
Lisboa, Portugal
Tel: +351 213 027 000
Fax: +351 213 015 948
2008 Aug 14
2
how to over-plot another variable on axis-4
Hello R Users,
I am using R on Windows,
I am ploting CO2 (350,380) variying with year(1993,2003)
I want to over-plot rainfall (10,250) varying with year(1993,2003) on axis-4
axis-1=year(1993,2003),
axis-2=CO2(350,380)
axis-3=None
axis-4=rainfall(10,250)
Kindly help how to over-plot another variable on axis-4.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2005 Aug 12
6
evaluating string variables
Hello!!!
I have a folder (C:/R/) with matrix files, named by number, i.e.
0.mat, 1.mat,...,1250.mat. In this case, they are 5x5 simetric
matrices. I would like to compute a property for each matrix and put
calculated values into a data frame for posterior ploting and
printing. Below there is an example for 7 matrices (0.mat..6.mat)
#define data frame
L <- data.frame(frame=numeric(7),
2007 Nov 01
2
ploting a comparison of two scores, including the labels in the plot
Hello r-help!
I have data with two kind of ratings on status of 100 occupations. The
first kind of rating is on the percieved "objective" status that these
occupations have in society at large, and the second kind or rating is
on the status that the respondents think that these occuption *should*
have.
The ratings were originally integer values in the rage 1-9, but in the
current data,
2012 Sep 26
3
Simple Question About Exporting Back to Excel
All,
Relatively new R user so this is probably an easy question to answer.
I am able to generate a cluster for my dataset using hclust() then ploting
the data with plot().
This results in an image with a dendrogram with my sample names along the
bottom. Great!
However, I now need a way to get that sample order from the image into
excel.
i.e. sample 7 was on the far left, sample 19 was in
2001 Jul 23
2
hang-up with log="x" and segments (PR#1030)
I experienced the following problem with R 1.3.0 which is probably a
bug. The program hangs-up if 1.) a coordinate of segments is outside the
ploting region and 2.) the option log="x" is used.
##
## works fine
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2))
segments(0.5 , 1.2, 1, 0.6)
segments(0.25, 1.2, 1, 0.6)
segments(1 , 1.2, 1, 0.6)
##
## hang-up
##
plot(1,1, xlim=c(0.5, 2),