Displaying 20 results from an estimated 900 matches similar to: "logical operators priority"
2008 Jan 08
2
problem when extacting columns of a data frame in a new data frame
Dear R-users,
I would like to create a new data frame composed of 2 columns of another
data frame. But it does not give me what I want...
> casesCNST[1:10,]
case X1 X2 X3 X4 expected
1 A1 0 0 0 0 E
2 A2 0 0 0 1 C
3 A3 0 0 0 2 C
4 A4 0 0 0 3 C
5 A5 0 0 0 4 C
6 A6 0 0 1 0 C
7 A7 0 0 1 1 C
8
2007 Nov 03
2
R validation
Dear R-Users,
A message to continue the discussions we had in March and June. I have
read the documents written since then
(http://www.r-project.org/doc/R-FDA.pdf ;
http://user2007.org/program/presentations/harrell.pdf ;
http://user2007.org/program/presentations/rossini.pdf ;
http://user2007.org/program/presentations/soukup.pdf) which are very
interesting and useful.
I work in a CRO and we
2008 Jan 02
1
extracting pvalue from ANOVA with repeated measures
I made an ANOVA with repeated mesures
(aov(Mesure~Distance*Genre*Correct+Error(Sujet/(Distance*Genre*Correct)),
data)) and I would like to extract the pvalues.
The output is:
-----------------------------------------------------------
Error: Sujet
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 21 97.082 4.623
Error: Sujet:Distance
Df Sum Sq Mean Sq F value Pr(>F)
Distance
2007 Mar 09
6
R and clinical studies
Does anyone know if for clinical studies the FDA would accept
statistical analyses performed with R ?
Delphine Fontaine
2007 Nov 03
0
R validation. If you know what you want, it's simple. If you don't know what you need to do, there are problems...(with any validation)
> From: delphine.fontaine at genexion.com
> To: r-help at stat.math.ethz.ch
> Date: Sat, 3 Nov 2007 09:03:39 +0100 (CET)
> Subject: [R] R validation
> Dear R-Users,
>
> A message to continue the discussions we had in March and June. I have
> read the documents written since then
> (http://www.r-project.org/doc/R-FDA.pdf ;
>
2007 Sep 17
1
longtable and Sweave
Dear Sweave-users,
I want to print listing using sweave. Because my tables are very big, I use
the longtable option. But, is it possible to recall the first line of the
table (e.g the colnames line) on each new page ?
Thanks for your help.
Delphine
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus,
I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R?
################################################
\documentclass{article}
\usepackage{Sweave}
\begin{document}
2008 Sep 18
2
Writing greek letters and subscripts in graph
Dear R-users,
I would like to write Greek letters followed by subscripts in a graph (on the X-axis and in a legend). I would appreciate any help.
thank you,
delphine courvoisier
************************************
Delphine Courvoisier
Clinical Epidemiology Division
University of Geneva Hospital
+4122 37 29029
2017 Oct 05
0
dealing with a messy dataset
Is this a fixed width format?
If so, read.fwf() in base, or read_fwf() in the readr package will solve the problem. You may need to trim trailing spaces though.
B.
> On Oct 5, 2017, at 10:12 AM, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote:
>
> dear R-users,
>
>
> I am facing a quite regular and basic problem when it comes to dealing with datasets,
2017 Dec 04
1
problem with the behaviour of dashed lines in R plots
hi Sarah,
Thanks a lot for having taken time to answer me and for your reply. I
wonder how I missed this solution. Indeed plotting the line with the 2
extreme data points works perfectly.
Best,
Jean-Philippe Fontaine
On 04/12/2017 18:30, Sarah Goslee wrote:
> It's because you are plotting a line between each of the points in
> your data frame, and they are very close togethe
2017 Dec 04
3
problem with the behaviour of dashed lines in R plots
dear R users,
I am performing a linear regression with lm, and I would like to plot
the regressor in dashed lines. I know that the lty=2 option is the way
out, but it has a very strange behaviour: the line starts dashed but
then the spaces between each dash becomes very tiny and so the line
become somehow continuous for the human eye. Do you know how to fix that
problem, in order to have a
2006 Sep 12
1
server linux
Hello
I am the administrator of a server linux with 25 clients.
Lasdt year : no problem.
Each children saves files in the same directory on the server.
But now, the teachers want that the children have different directories.
Then 600 children have a directory on the server and each directory is secured by a password.
When they want to save a file on the server, a lot of them may not open their
2017 Oct 05
4
dealing with a messy dataset
dear R-users,
I am facing a quite regular and basic problem when it comes to dealing
with datasets, but I cannot find any satisfying answer so far.
I have a messy dataset of galaxies like that :
And XVIII 000214.5+450520 0.69 17 9 0.00 -8.7 26.8 6.44
6.78 < 6.65 -44 0.5 MESSIER031 0.6 1.54
PAndAS-03 000356.4+405319 0.10 17 0.00 -3.6 27.8
4.38
2017 Dec 04
0
problem with the behaviour of dashed lines in R plots
Hi,
It's because you are plotting a line between each of the points in
your data frame, and they are very close together:
> cbind(df1$B,predict(regressor,df1))
[,1] [,2]
1 1.410832 -13.96466
2 1.589383 -15.21169
3 1.446662 -14.21491
4 1.488665 -14.50826
5 1.487035 -14.49687
6 1.497347 -14.56890
7 1.458070 -14.29458
8 1.568134 -15.06328
9 1.543364 -14.89029
10 1.513473
2008 Nov 11
1
simulate data with binary outcome and correlated predictors
Hi,
I would like to simulate data with a binary outcome and a set of predictors that are correlated. I want to be able to fix the number of event (Y=1) vs. non-event (Y=0). Thus, I fix this and then simulate the predictors. I have 2 questions:
1. When the predictors are continuous, I can use mvrnorm(). However, if I have continuous, ordinal and binary predictors, I'm not sure how to simulate
2008 May 16
3
aggregate(), with multiple functions in FUN?
I've got a data frame having numerical data by zip code:
ZIP DATA
94111 12135.545
93105 321354.65654
94111 545.555
94706 558858.66
... ...
I'm using this function to group records by ZIP and calculate the median of DATA:
aggregate(d$DATA, list(Zip = d$ZIP), FUN=median, na.rm=T)
but what I really want to do is to calculate several statistics (median,
2017 Oct 05
1
dealing with a messy dataset
dear Jim,
Yes I fixed the problem. Thanks again all of you for your contribution!
This worked :
start <- c(1, 20, 35, 41, 44, 48, 53, 59, 64, 70, 76, 78, 83, 88,
+ 93, 114, 122, 127)
data1<-read_fwf("lvg_table2.txt",skip=70, fwf_widths(diff(start)))
Well now I know how to deal with fixed-width files :)
Cheers
Jean-Philippe
On 05/10/2017 18:42, jim
2005 Oct 08
2
No incoming calls from chan_capi 0.6
Hello,
I'm trying to use the version 0.6 of chan_capi-cm for outgoing calls it
works perfectly but for incoming calls it doesn't work.
I tried to set an extension to dial my from-pstn context and it works.
So I think there's a problem with my capi.conf or something...
Here's a debug when calling
-- CONNECT_IND
(PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1)
2006 Feb 09
1
translation of the matlab PPVAL function
Hello,
I am trying to translate a matlab program into R, and I have some problems
to find out how to translate the PPVAL function.
I know that ppval(pp,xx) returns the value at the points xx of the
piecewise polynomial contained in pp( constructed by spline), but I don't
know how to do the same thing in R.
Thanks for you help
Delphine
2017 Oct 05
0
dealing with a messy dataset
You should be able to use that header information to create the
correct parameters to the read_fwf function to read in the data.
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Thu, Oct 5, 2017 at 11:02 AM, jean-philippe
<jeanphilippe.fontaine at gssi.infn.it> wrote:
> dear Jim,
>
> Thanks