Displaying 13 results from an estimated 13 matches for "mastropietro".
2002 Jul 09
3
Assignment converts variable to factor
...n var2 with a variable
whose value is "var2" (e.g. dat[,col2] <- dat$var1, where col2 = "var2").
It is easier and more clear to use the [] operator to reference a data
frame column with a variable, rather than using the $ operator with the
parse() function.
Thanks
Daniel Mastropietro
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 !) To: r-help-request at st...
2002 Sep 01
2
Converting the columns of a data frame to numeric
...s an easier way.
My way is:
M <- matrix(ncol=ncol(df) , nrow=nrow(df) , as.numeric(as.matrix(df)))
where 'df' is the data frame.
I am wondering if there is a function, similar to as.numeric(), that
converts each column of the matrix 'as.matrix(df)' to numeric.
Thanks
Daniel Mastropietro
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 !) To: r-help-request at stat...
2002 Jul 06
5
about image and rgb
Hi all,
I have a 16 bit image (TIFF) and i want to analyse the pixels distribution.
So, i obtain a matrix which values are between 0 and 2^16 -1.
Now i would like to represnt this image with the fucntions rgb() and
image().
I am not sure , but i think that only 256 colors are available.
So is there a solution to represent all the palette of the colors or i
have to limit
the representations with
2002 Jul 09
4
changing angle in scatterplot3d
Hi all,
I was wondering whether it is possible to change the angle of all axis in a scatterplot3d graph. I know that there is one
parameter <angle> but I was wondering whether it is possible to control the angle of all different axis individually (eg by using
<anglex><angley><anglez>).
In addition I was wondering whether there is a way to change the angle of a plot
2002 May 21
6
Point labels
Hello,
Is there an option I can easily set to put labels next to the points in a
simple plot?
The closest I got to it was to use the option pch, but this replaces the
point symbol with the character specified, and it is not what I want.
Thanks
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2002 Jun 19
4
drawing ellipses
Hello again,
First I want to thank all the people who answered my question about line
width in graphs. I promise I will learn the 'par' help page by heart for
the end of the month !
I now want to trace some ellipses to emphasize groups of data. I found how
to trace circles with 'symbols()', but no ellipse. I'm planning on writing
my own function based on
2002 Jul 17
9
problem formatting data frames
Dear R-guRus:
I have a problem with the format of my data in R.
Let's say I have a HUGE text table which consists of columns of
numerical data, separated by tabs, but in some places rows of text
(error messages, etc) are inserted in between rows of numerical data.
Because the data file is so huge and because I have thousands of these
files, it's unpractical to try and go thru these
2002 Jul 17
1
Output and history
> From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk]
>
> Daniel Mastropietro <mastropi at uwalumni.com> writes:
>
> > Hello,
> >
> > I have the following two questions, rergarding:
> >
> > (Output)
> > 1) Is it possible to have the output of a command automatically
> > displayed, without explicitly requesting it after th...
2002 Oct 30
2
two small wishes for R
1. allows underscore as part of a variable name
2. Uses C or Java style comments mark.
Jason
=====
Jason G. Liao, Ph.D.
Division of Biometrics
University of Medicine and Dentistry of New Jersey
335 George Street, Suite 2200
New Brunswick, NJ 08903-2688
phone (732) 235-8611, fax (732) 235-9777
http://www.geocities.com/jg_liao
__________________________________________________
HotJobs - Search
2002 May 28
2
problems with rcmd check
Hello,
I have developed a R package. When I pass it through the rcmd check command
(windows 98) to see if it is ok, everything works fine until there is a
call to the program "sh.exe". It seems that rcmd calls it with the
option --c, but it doesn't seem to be a legal option. After that, when rcmd
tries to create a directory inside the "package_name.Rcheck" directory there
2002 Jun 21
2
Load prediction
Hello,
This is perhaps more of a regression question than R,
but I am learning both, so would appreciate your
wisdom here.
I have some data which reflects power load for an
electrical generating system, with some temporal
features. The data fields look like this:
D,MON,DAY,YR,HR,WDAY,DRYBULB,WETBULB,LOAD
4455 5 13 92 13 4 70 63 1617
4456 3 9 92 13 2 73
2002 Sep 17
2
grid.legend - lines
I am testing out the grid-plots, but get into a problem making a legend. I
have a line plot and some points, following the model in
grid.plot.and.legend() i manage to get the points correctly in the legend,
but what do I do with the line? (Of cource, I can just draw a line at the
right location on the plot, but I would prefer to use legend)
Morten
--
Morten Sickel
Norwegian Radiation
2002 Jul 23
3
calling Matlab
Is there a way to call Matlab and Gauss code in R? I see functions that
work for C/FORTRAN, but not for other languages.
Brian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 !)