elp you in forming a
decision how to go on:
http://stats.stackexchange.com/a/30739/4598
Claudia (Analytical Chemist & Chemometrician)
*or you know that they'll not matter for the particular data analysis
you want to do
--
Claudia Beleites, Chemist
Spectroscopy/Imaging
Leibniz Institute of Photo
want is a stable center.
Best,
Claudia
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-133
fax: +49 2641 206-399
__
want is a stable center.
Best,
Claudia
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-133
fax: +49 2641 206-399
__
r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html and provide commented,
> > minimal, self-contained, reproducible code.
>
> __________
> R-help@r-pro
you may want to consider asking
on stackoverflow.com (or chemistry.stackexchange.com) where you can
post nicely formatted code, calculation results and images with your
question.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email:
———
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html and provide commented,
> minimal, self-contained,
question on stackoverflow:
http://stackoverflow.com/questions/8835426/get-filename-and-path-of-sourced-file
You may want to have a look at the suggestions I got.
Best,
Claudia
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Ge
won't use names
etc. and I won't sell any information.
The goal is to have a few slides (geographical distribution of users -
always a nice and fancy thing to show, statistics on the kind of
spectroscopy etc.) which I'll also put on the hyperSpec homepage so you
can use them as well
_
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Ima
Tom,
what happens with:
(Emacs)
M-x ssh
t
(you should have the remote shell buffer now)
R
(once R is started)
M-x ess-remote
r
?
Claudia
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht
e HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, min
nd provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-133
fax: +49 26
ad the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-
uide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-133
fax: +49
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +49 3641 206-133
fax: +49 2641 206-399
[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reprodu
ead the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imaging
Institute of Photonic Technology
Albert-Einstein-Str. 9
07745 Jena
Germany
email: claudia.belei...@ipht-jena.de
phone: +
___
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Spectroscopy/Imagin
Christian,
My questions concerns the ROCR package and I hope somebody here on
the list can help - or point me to some better place.
When evaluating a model's performane, like this:
pred1<- predict(model, ..., type="response") pred2<-
prediction(pred1, binary_classifier_vector) perf<- performa
Peter,
as the matrices in the list have the same shape, you can unlist them
into an array and then use rowMeans.
HTH
Claudia
Am 15.03.2011 21:17, schrieb hihi:
Hi All,
is there any effiective and dense/compact method to calculate the mean of a
list of - of course coincident - matrices on a
Haakon,
as replicates imply that they all have the same data type, you can put
them into a matrix which is often faster and needs less memory (though
whether that can really matter depends of the number of replicates you
have: for small no of replicates you won't have much effect anyways).
Bu
Jonas,
have a look at tikzdevice
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
email: cbelei...@units.it
__
R-help
y solve this ?
Thanks in advance.
Jon
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
email: cbelei...@units.it
__
R-help@r-projec
an image example from matlab.
This is how far I got using R:
http://r.789695.n4.nabble.com/file/n3327986/example_R.jpg
This is the result I am aiming for:
http://r.789695.n4.nabble.com/file/n3327986/example_matlab.jpg
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Universit
his possible?
the x that is averaged is only the first 1.04, the other numbers go into mean's
... argument and are ignored.
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5
lq median uq max
sd 52875 53615 54040 54448 1385422
si 45904 46936 47332 47778 65360
Cheers,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Tr
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimen
an/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34
downloaded packages are in
‘/tmp/RtmpRJM5aT/downloaded_packages’
Updating HTML index of packages in '.Library'
Making packages.html ... done
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Tries
IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods
base
It is working at some of my systems and is failing at the most.
______
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PL
J
=== Dr. Jim Maas Research Associate in Network
Meta-Analysis School of Medicine, Health Policy and Practice CD Annex, Room
1.04 University of East Anglia Norwich, UK NR4 7TJ
+44 (0) 1603 591412
From: Claudia Beleites [mailto:cbelei...@units.it]
Dear James,
this
3
[2,]12
, , 2
[,1] [,2]
[1,]64
[2,]56
, , 3
[,1] [,2]
[1,]97
[2,]99
HTH Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40
ling list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di T
e frequently of multiple comparisons and
validation sets being compromised (not independent) than of too few data
exploration ;-) )
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
leted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Bel
to thank you in advance for your help
Best Regards
Alex
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Bele
such email reveals:
- the part or Teil is how my thunderbird (English at work, German at home)
announces the parts of multipart emails. Neither "part 1.2" nor "Teil 1.2" is
written anywhere in the source.
- the r-help list footer somehow ended up as separate part of the email
e ttf-symbols-replacement did the
trick for evionce & Co. on my system (acrobat reader was never affected; but
used to show pdfs with transparency quite ugly - there was a discussion with
solutions to both problems on the ggplot2 list last fall).
HTH,
Claudia
--
Claudia Beleites
Diparti
thanks a lot for the patience everyone:
problem is solved, solutions (including bquote) are to be found in the Wiki, and
instead of creating more fuss by unclear emails I'll fetch a coffee before I go
on plotting my confusion matrix elements...
Claudia
--
Claudia Beleites
Dipartimento dei
On 01/20/2011 02:11 PM, Uwe Ligges wrote:
On 20.01.2011 14:08, Claudia Beleites wrote:
Gerrit,
thanks & viele Grüße nach Oberhessen :-)
plot (1, 1, ylab = expression (Z[list(i,i)]))
though that cannot be evaluated, either (due to [ not knowing what to do
with an index list)
Works
quot;i, i"]))
Anyways, I put the "how to" into the R Wiki page on plotmath.
And I suggest that it should be mentioned in the plotmath help => email to
r-devel.
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via
sorry, I forgot my sessionInfo: please see below.
Original Message
Subject: puzzled with plotmath
Date: Thu, 20 Jan 2011 12:48:18 +0100
From: Claudia Beleites
To: R Help
Dear all,
I'm puzzled with matrix indices in plotmath.
I'm plotting matrix elements: Z [i, i
ble to search for the terms being
close to each other in RSiteSearch and/or RSeek? I get lots of introductory
documents as they point to plotmath and discuss matrices...
Thanks a lot for your help,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli
On 01/07/2011 06:13 AM, Spencer Graves wrote:
A more insidious problem, that may not affect the work of Jonah
Lehrer, is political corruption in the way research is funded, with
less public and more private funding of research
Maybe I'm too pessimistic, but the term _political_ corruption
ied commands like file.remove() and unlink to remove the corrupt
file from current R session.
Is there any other way inorder to remove such files??
Thanks& Regards,
Vikrant
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Al
ent{Soutput}{\lstset{language=R}}{}
\lstnewenvironment{Scode}{\lstset{language=R,basicstyle=\sl}}{}
\newenvironment{Schunk}{}{}
\newcommand{\Sconcordance}[1]{%
\ifx\pdfoutput\undefined%
\csname newcount\endcsname\pdfoutput\fi%
\ifcase\pdfoutput\special{#1}%
\else\immediate\pdfobj{#1}\fi}
--
Cl
4
> matrix(nrow = ncol <- 4)
[,1]
[1,] NA
[2,] NA
[3,] NA
[4,] NA
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-3
_
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html and provide commented, minimal,
self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e dell
w.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
email: cbelei...@units
find a syntax with angle brackets more consistent
as the code chunks start with angle brackets anyways.
My 2 ct,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
ph
8157
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dip
a name for something that probably already exists.
If this function does not exist, any ideas how I should call it?
Thanks a lot,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127
ion. But as far as I know and as I understand the help text it
should have no influence on the eigenvalue equation whether the data are
centered or not. I know about the advantages of centered date but I want to
understand how the prcomp function works in the case of uncentered data.
Thank y
Dear Yves,
You may not need to do more than set the dim attribute correctly:
dim (test) <- c (dim (myArray) [c (3 : 4, 1 : 2)]
or
dim (test) <- c (dim (myArray) [c (4 : 3, 1 : 2)]
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli St
e (m)
392 bytes
# own representation
> o <- structure(c(0, 0, 1, 1, 1, 3, 5, 4, 4, 7, -1, 8, 9, 10, 6), rowstart =
c(0, 4, 7, 9)) # index of end of row before saves subtracting 1 all the time
> o
[1] 0 0 1 1 1 3 5 4 4 7 -1 8 9 10 6
attr(,"rowstart")
[1] 0 4 7
ded or not, has no effect
on writeMat(). It is only readMat() that can read them, if
Rcompression is installed. You do not have to load it
explicitly/yourself - if readMat() detects a compress MAT file, it
will automatically try to load it;
OK, good to know.
Thanks a lot for your explanation in s
John,
Hi, just a general question: when we do hierarchical clustering, should we
compute the dissimilarity matrix based on scaled dataset or non-scaled dataset?
daisy() in cluster package allow standardizing the variables before calculating
dissimilarity matrix;
I'd say that should depend
lp/techdoc/ref/importdata.html
Tom
2010/10/28 Claudia Beleites:
I am looking for ways to use R and Matlab. Doing the data transformations
in
R and using the data in Matlab to analyze with some pre-defined scripts.
Any good ways to transfer the data into matlab in its most recent version?
I tried usi
N=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Rcompression_0.8-0 hyperSpec_0.95 lattice_0.19-13R.matlab_1.3.3
R.oo_1.7.4
[6] R.methodsS3_1.2.1
loaded via a namespace (and not attached):
[1] grid_2.12.0
-
Dear List,
Just curiosity (disclaimer: I never used random forests till now for
more than a little playing around):
Is there no out-of-bag estimate available?
I mean, there are already ca. 1/e trees where a (one) given sample is
out-of-bag, as Andy explained. If now the voting is done only ov
fter the concentration
brackets into a subscript - though you didn't say you want that.
A more "correct" expression would be:
group ("[", Ca^'2+', "]") [i]~onsets
where you can easier see that the "[" and "]" are special le
odness of fit of nnet model?
Thanks in advance.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
email: cbelei...@units.it
__
-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-3412
hould become
of the additional dimension? with 2d reference and prediction, do you want to
produce 3d or 4d confusion "matrices"?
Thank you again!
You are welcome.
Claudia
Kind regards, Greg On Oct 8, 2010, at 10:04 AM, Claudia Beleites wrote:
Gregory Ryslik wrote:
Hi, I played wi
sting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37
each of them a separate ROC. But I don't know how to
calculate these characteristics for the p-values.
How do I assign the predictions to each of the single p-value experiments?
I would appreciate any help
Thanks
Assa
On Tue, Aug 17, 2010 at 12:55, Claudia Beleites <mailto:cbele
;t want to be nasty, but if you
discover the mistakes yourself, you'll be much faster finding such things next time.
So: try with these hints, and if it doesn't work, you can ask again.
HTH,
Claudia
--
Claudia Beleites
Dipartimento dei Material
omeone asked for optimum on ROC a couple of months ago, RSiteSearch on the
mailing list with ROC and optimal or optimum should get you answers.
I would like to thank for any help in advance
You're welcome.
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
e one myself. I think they
could be helpful here to switch between the "development checks" and a complete
build & check. So I'd be very curious to see some make files.
HTH,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università
y faster than sapply, a bit less
than half of the time of mapply).
However, as I expect this to be a fairly common situation,
I want to share this experience, and
the question is: is there a better / faster / nicer / more elegant way to do
this?
Comments?
Thanks,
Claudia
--
Claudia Belei
Dear David,
you can use Gin:
\setkeys{Gin}{width=0.5\linewidth}
just before the chunk that actually produces the figure.
and, cool, I hadn't realized, that
<>=
print (
<>
)
@
works.
with {} inside the print there can be even more than one statement in
the chunk-with-lattice-functi
Jannis,
You are right, it does not seem to matter. When the R string contains
two \\, xtable prints it as only one \. I should have looked into the
Latex output before posting!
'\\' is just _one_ character in R:
> nchar ("\\")
[1] 1
Just like '\n' etc.
It is just the `print`ed (as opposed
Dear Michael,
I know this situation from writing vignettes and I usually cheat a bit
I redefine the functions along these lines:
plotmap <- function (...) print (hyperSpec:::plotmap (...))
(plotmap is a lattice-function for hyperSpec objects)
plotmap can tehn be used without the print in t
anks a lot
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipart
uestion I have is:
I assume that it is impossible for him to obtain the 10^xy samples required for
comfortable model building.
So what is he to do?
Cheers,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valer
unction of the threshold.
Remember: finding the optimal threshold from a ROC curve is a data-driven
optimization. You need to validate the resulting model with independent test
data afterwards.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di T
rate Research Laboratory
-
E-mail: apjawor...@mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122
From: Claudia Beleites
To: apjawor...@mmm.com
Cc: r-help@r-project.org
Date: 03/12/2010 02:13 PM
Subject:Re: [R] Data frame question
Andy,
Did you run into any kind of tro
(651) 736-3122
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-
ing guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 0 40 5 58-37 68
em
is like asking "How do you say in R for
concept xyz?" instead of "Could anyone do the translation I got as homework?"
HTH,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Triest
THIS POINT I WANT TO MODIFY THE CONTENT OF ... BEFORE IT IS
PASSED ON
innerFoo(...)
}
Thanks,
Mark
–––
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstraße 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
--
Claud
-guide.html<http://www.r-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.
--
View message @
http://n4.nabble.com/colname-of-arguments-tp1588146p1588213.html
To unsubscribe from colname of ... arguments, click here< (link
you can use parameters:
trellis.par.set (box.rectangle = modifyList (trellis.par.get ("box.rectangle"),
list (col = "black")))
bwplot(y~x, data=ex, pch = "|")
I think the others go along the same line. Look into panel.bwplot to see what
parameters are used to produce what.
HTH Claudia
K
What about the short-term solution of having a function
package.bug.report - along the lines of bug.report?
E.g. see attachment
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Valerio 2
I-34127 Trieste
ITALY
email: cbelei
Dear Patrick (and all)
I'm now working with R a couple of years, before working mostly in Matlab
Lazy & impatient is both true for me :-)
* What were your biggest misconceptions or
stumbling blocks to getting up and running
with R?
> * What documents helped you the most in this
> initial phas
, let me know.
Claudia Beleites
--
Claudia Beleites
DMRN, Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
ensions. That's the parallel coordinate
plot.
What you can tell from such a plot, depends very much on your data, and how
you treated it.
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 T
> evens() & last(5)
wouldn't x[evens()][last(5)] do the & already?
or is different, though.
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 (0 40) 5 58-34
nchar (c("convert this to 47 because it has 47 characters", "this one has 26
characters", "13 characters"))
HTH Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trie
ort.
This might be true in any case.
If I only think of how many lines of nrow, ncol, length & Co I could have
written instead of posting wrong proposals
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valeri
3rd, 2nd, and 1st' and 'from the 3rd
> to the 1st from the end', and so would be ambiguous. in this context,
> indeed, having explicit 'end' could help avoid the ambiguity.
that's the problem.
also: how would 'except from the 5th last to the 3rd last
-- Weitergeleitete Nachricht --
Betreff: Re: [R] The end of Matlab
Datum: Freitag 12 Dezember 2008
Von: Claudia Beleites
An: r-help@r-project.org
Am Freitag 12 Dezember 2008 13:10:20 schrieb Patrick Burns:
> How about:
>
> x[, -seq(to=ncol(x), length=n)]
Doing it
if re (to) != 0 ?
}
from : to
}
"%:%" <- function (e1, e2) ## using a new operator does not mess up ":"
make.index (x = find.x (), along.dim = find.dim (), e1, e2)
now, the heavy part are the still missing find.x () and find.dim () func
mensions of an array)?
I.e. something nicer than
t (head (t (x), -n))
for excluding the last n columns of matrix x
THX, Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 (0 40) 5
: 26 is i + (1 : 26) as the vector 1 :26 is calculated first
what happens is that for i = 1 j goes over 2 : 27, with i = 2 over 3 : 28, ...
what you want is (i + 1) : 26:
for (i in 1 : 25)
for (j in (i + 1) : 26)
cat (i, j, "\n")
HTH Claudia
--
Claudia Beleites
Dip
the proxy package, but the calculation it straightforward
(though a bit wasteful I suspect: first the whole matrix is produced, and
as.dist cuts it down again to a triangular matrix):
as.dist (0.5 - cor (t(x) / 2))
Take care wheter you want to use x or t(x).
HTH Claudia
--
Claudia Beleites
Dip
","A",
> ifelse(B=="4","A",
> ifelse(B=="5","A",
> ifelse(B=="6","A",
> ifelse(B=="7","A",
> ifelse(B=="8","A",
> ifelse(B=="9","A","B")))
to do other interesting things like downsampling,
denoising etc. using the interferogram.
Thanks,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 (0 40
uld I look?
Or am I lacking some math that tells how to do without the frequency axis?
Thanks a lot for your help,
Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste
phone: +39 (0 40) 5 58-
Am Freitag 31 Oktober 2008 12:17:30 schrieb Shubha Vishwanath Karanth:
> m=data.frame(a=c(1,NA,5,5),b=c(4,5,6,7),c=c(NA,NA,NA,5))
? which
HTH Claudia
--
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34
1 - 100 of 105 matches
Mail list logo