Displaying 20 results from an estimated 1000 matches similar to: "extract from a data frame"
2007 Apr 20
2
sorting data in R
hello,
I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below
thanks
Fertility Agriculture Examination Education Catholic Infant.Mortality
Courtelary 80.2 17.0 15 12 9.96 22.2
Delemont 83.1 45.1 6 9 84.84 22.2
2007 Apr 20
1
lancer R en batch
hello,
I'd like know if it's possible to run R with the options BATCH it means not interactively
thanks.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
2007 Apr 23
0
R: extract from a data frame
Oats[Oats$Variety %in% c("Victory", "Golden Rain"),]
or
subset(Oats, Variety %in% c("Victory", "Golden Rain"))
Stefano
-----Messaggio originale-----
Da: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di elyakhlifi
mustapha
Inviato: luned? 23 aprile 2007 9.56
A: R-help at stat.math.ethz.ch
Oggetto: [R] extract from
2006 Dec 12
0
Re : Re : implementation of t.test
Excuses I have a mistake in previous mail
Type stats:::t.test.defaultThe formal way is to use getAnywhere(t.test)
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
----- Message d'origine ----
De : justin bem <justin_bem@yahoo.fr>
À : Weiwei Shi <helprhelp@gmail.com>
Cc : R-help@stat.math.ethz.ch
Envoyé le : Mardi, 12 Décembre 2006,
2007 Mar 01
1
Fit Student Copula
Hello everybody,
I have a big problem that I do not manage to solve !
I will be very grateful if you can solve this !
I want to fit a t Copula with the copula package :
> student.cop <- ellipCopula("t", param = c(0.5, 0.6, 0.7), dim = 3, dispstr = "un",df=5)
> x<-rcopula(student.cop,1000)
> fit <- fitCopula(x, student.cop, c(0.5,0.5,0.5,5))
And there is an
2006 Oct 26
0
how to compile qemu-dm with VNC support
Hi all,
thanks to Mats I managed to compile a custom
Linux kernel (2.6.16.29) and Xen 3.0.3.
I then did
"apt-get bcc" (to be able to build "hvmloader")
cd /usr/src/xen...src/tools/
make install
Then I could launch Windows XP but I wouldn''t
see the SDL window... because qemu-dm has a
compile time dependency on SDL devel.
"apt-get libsdl1.2-dev"
I
2007 Mar 02
2
ACPI, Vista and Xen
Hi all,
I''m running XP and 2003 Server fine as HVM guests
(under a 32 bit non-pae Xen 3.0.3 self-compiled).
I''ve read that Vista can *not* be /installed/ under
Xen for it checks for ACPI support and install fails
if it isn''t present.
What if I do the install first from, say, plain Qemu
(I''re reused qemu images from Xen) or VMWare (I''ve
converted
2006 Nov 08
1
Re : A problem with Intel VT / XEN3
Hi,
Curiously, it''s worth noting that Xeon Processor 5100 series are not in the list of HVM Compatible Processors :
http://wiki.xensource.com/xenwiki/HVM_Compatible_Processors
Patrick
----- Message d''origine ----
De : Mohamed Zohny <mohamad.zohny@gmail.com>
À : xen-users <xen-users@lists.xensource.com>
Envoyé le : Mercredi, 8 Novembre 2006, 9h17mn 08s
Objet :
2006 Dec 06
0
Re : stat question - not R question so ignore if not interested
For the first question x'(y-bx)<>0 or Cov(Ui,Xi)<>0 you have heterogeinity problem !
OLS estimator in this case in biased.
The bias is equal to (Exx')^{-1}Exu
You obtain obtain correct estimator by use instrumental variable or 2SLS ...
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
----- Message d'origine ----
De
2006 Dec 08
0
Re : A smal fitting problem...
May be you are also not familiar with statistic. the solution of
min \sum_{i=1}^{n} (y_{i}-b)^{2} is the mean. So the solution is
b<-mean(y)
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
----- Message d'origine ----
De : Kåre Edvardsen <ked@nilu.no>
À : R-help <r-help@stat.math.ethz.ch>
Envoyé le : Vendredi, 8 Décembre 2006,
2006 Dec 12
0
Re : implementation of t.test
Try this
>stats.t.test.default
Best wishes.
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
----- Message d'origine ----
De : Weiwei Shi <helprhelp@gmail.com>
À : r-devel-request@stat.math.ethz.ch
Cc : r-help <R-help@stat.math.ethz.ch>
Envoyé le : Mardi, 12 Décembre 2006, 1h05mn 46s
Objet : [R] implementation of t.test
Hi, there:
2009 Oct 30
1
How to properly shade the background panels of an xyplot?
Dear R users,
this is a follow up of this message
http://tolstoy.newcastle.edu.au/R/e6/help/09/05/13897.html
I'm reproducing the core of it for convenience.
> //
> / data(Oats, package = "MEMSS") /
> / tp1.oats <- xyplot(yield ~ nitro | Variety + Block, /
> / data = Oats, /
> / panel = function(x, y, subscripts, ...) { /
2009 Oct 12
3
xyplot does not find variable in data
When we call a lattice function such as xyplot, to what extent does
the "data" designation cause the function to look inside the "data"
for variables?
In the examples below, the "subset" argument understands that
"Variety" is a variable in the data.
But the "scales" argument does not understand that "nitro" is a
variable in the data.
2009 Apr 21
3
broken example: lme() + multcomp() Tukey on repeated measures design
I am trying to do Tukey HSD comparisons on a repeated measures expt.
I found the following example on r-help and quoted approvingly elsewhere.
It is broken. Can anyone please tell me how to get it to work?
I am using R 2.4.1.
> require(MASS) ## for oats data set
> require(nlme) ## for lme()
> require(multcomp) ## for multiple comparison stuff
> Aov.mod <- aov(Y ~ N + V +
2011 Jun 02
1
an efficient way to calculate correlation matrix
Dear all,
I have a problem. I have m variables each of which has n observations. I want to
calculate pairwise correlation among the m variables and store the values in a m
x m matrix. It is extremely slow to use nested 'for' loops if m and n are large.
Is there any efficient alternative to do this? Many thanks for your
suggestions!!
Bill
2006 Sep 14
3
Help
Hello,
I am a new user of R statistical project. So, I have a matrix (4 columns and 330 rows) and I would like to have PCA (Principal Component Analysis). Besides, I would like to draw every 30 rows from 330 with a different colour but I don’t know how.
Could you help me by showing how can I draw every 30 rows with a different colour?
Thank you very much
Selim
2001 Nov 22
2
Missing panels in multipanel lme lattice/trellis
Dear R-supporters,
I have results of lme similar to those shown in Fig. 1.21, p.51 of
Pinheiro/Bates. However, In my data set, one of the panels is missing, leading
to an ugly frame shift of the following panels.
How can I replace one of the panels by an empty one to restore the raster?
Dieter Menne
---------------------------------------
Dr. Dieter Menne
Biomed Software
72074 T?bingen
Tel
2006 Oct 02
0
exact Core 2 Duo setup supporting Intel-VT
Hi all,
I checked the following page but it is not
exhaustive:
http://wiki.xensource.com/xenwiki/IntelVT
(it actually doesn''t even lists Core 2 Duo
as supporting Intel-VT [it lists Core Duo
though]... I''m not familiar with Wikis, I don''t
know how I can change this myself [and I don''t
know either if I''m allowed to change it])
Could all the people
2006 Aug 28
1
Modified Bessel function of third kind (fractional or real order)
Hello,
I am searching for code in C++ or fortran for Modified Bessel function of third kind (fractional or real order). Can someone help me?
Thank you
---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.
2006 Oct 04
1
can xend be started from a domU
Hi all,
I''ve got a few questions :
- can xend be started inside a modified guest?
- can xend be started inside an unmodified guest?
- what would be a simple way from a shell script
to detect wether we''re inside a domU or a dom0?
(taking into account the fact that the same
kernel as reported, say, by "uname -a", could
be running in the dom0 and the domUs)
Thanks in