Displaying 20 results from an estimated 100 matches similar to: "Problem with save or/and if (I think but maybe not ...)"
2007 Aug 27
0
how to write nicely a condition on a loop "for" (that is, not like I did)
Hi again,
This is the follow of my post "Problem with save or/and if (I think but
maybe not ...)".
In this post, I wrote that I solved my main problem. And it is true.
I also wrote that there was still another problem, which I managed to solve.
But I think there must be another way to solve it taking advantages of the R
language (which I don't master at all), that is with less
2007 Dec 17
2
Must be obvious but not to me : problem with regular expression
Hi,
I have a vector called nfichiers of 138 names of file whose extension is .P0
or P1 ... to P8.
The script is not the same when the extension is P0 or P(1 to 8).
Examples of file names :
[128] "Output0.P0"
[129] "Output0.P1"
[130] "Output0.P2"
[131] "Output01102007.P0"
[132] "Output01102007.P1"
[133]
2007 Aug 29
1
Strage result with an append/strptime combination
Hi,
I keep on trying to write some small scripts in order to learn R but even
with basic scripts I have problems ...
I start with the name of a file which is in fact the time the file has been
generated (I cannot change the format). Then I convert namefile with
strptime. The problem occurs when I add another time from another file with
append. It displays some informations I don't want.
I
2004 Jan 18
1
multcomp, simint, simtest and computation duration
Dear R-listers,
I am trying to compute simultaneous confidence intervals with simint from the package multcomp. 230 measures (abundance) have been taken in 23 sites (factor) of a data.frame (donnees: a file can be sent on request, saved with save(donnees,file="donnees")). I would like to get all pairwise comparisons with :
mc<- simint(ren~ID,type="Tukey",data=donnees)
I
2009 Oct 21
2
linear regression: Is there a way to get the results of lm as variables
Hi R users
I used R to get the results of a linear regression
reg<-lm(y~x)
here are the results:
# Call:
# lm(formula = donnees$txi7098 ~ donnees$txs7098)
#
# Residuals:
# Min 1Q Median 3Q Max
#
2007 Sep 17
4
Must be easy, but haven't found the function (numerical integration)
Hi,
I have a data frame of 2 columns with the following types :
data$day char
data$value num
And I plot my data with :
plot(strptime(donnees$day,format="%Y-%m-%d %H:%M:%S"),donnees$value,
type="l")
And I'd just like to get the numerical value of the integration of this
graph.
I looked at ?integrate but, as far as I understood (that is, not very much,
due to my poor
2007 Apr 27
1
add arrows to barchart with groups
Hello Rhelpers,
I am trying to represent the following data (hereafter named donnees) in a barchart with a grouping variable :
site traitement date s res
1 NT 17/10/2005 normal 76.2
1 T 17/10/2005 normal 103.2
1 NT 23/11/2005 tardif 81.6
1 T 23/11/2005 tardif 98
2 NT 15/10/2005 normal 72.71
2 T 15/10/2005 normal 94.47
2 NT 15/11/2005 tardif 79.65
2 T 15/11/2005 tardif 94.7
2005 Aug 08
1
get the wald chi square in binary logistic regression
hello,
I work since a few time on R and i wanted to know how to obtain the Wald chi
square value when you make a binary logistic regression. In fact, i have the z
value and the signification but is there a script to see what is the value of
Wald chi square. You can see my model below,
Best regards,
S??verine Erhel
[Previously saved workspace restored]
> m3 = glm(reponse2 ~ form +
2007 Nov 16
2
ks.test
Hello,
I want to do normality test on my data
I write this but I don't understand the display of the results
ks.test(data,"pnorm")
In fact I want to know if my data is a normal distribution. I have to check the p-value or D?
Thanks.
_____________________________________________________________________________
l
[[alternative HTML version deleted]]
2005 Oct 20
3
problème d'import de fichier
hello!
je veux importer un fichier de donnees excel que j'ai au prealable
converti en fichier txt avec separateurs tab, fichier de la forme entree
simple (suite de colonnes contenant des variables).
Voila ma ligne de commande :
> poussins <- read.table("poussins.txt", header=T, sep="\t")
et sa reponse
Erreur dans scan(file = file, what = what, sep = sep, quote =
2010 Jul 22
2
how to write legend of a plot
Dear R Users,
If we issue simple plot command in R we don't get legend of the plot
automatically.
For example, following lines plots two curves, but to write a legend of
these two curves there is no simple command. I checked with ?legend but
it seems bit complicated for me. Does anyone know how to get a legend in a
simple way for following R plot.
Thanks, Yogesh
>plot (x,y,
2009 Nov 22
1
Portec - feedback wanted
I am thinking of buying a Portec MV370 (single channel VoIP/GSM gateway)
I am after feedback reports both good and otherwise please.
Thanks,
Michael
2010 Mar 27
0
Error lm.fit(...) - pairs cointegrated trading
Hello guys,
I'm trying to do a pairs trading cointegration analysis on two stocks (AXAP
and AXANY), but I get an error that I don't understand...
Here's my code:
setwd("S:/Users/Alexis/Desktop/Essai") #chemin du dossier contenant les
donn?es
donnees <- read.csv("Data_R.csv", head=T, sep=";", stringsAsFactors=F)
library(xts)
dates <-
2007 Aug 29
1
How to let the program know the end of a file is reached?
Dear collegues.
I am using scan( ) to read from a table (a csv file).
I am wondering how to let the program know that the end of the file is
reached?
Your help will be highly appreciated!
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2006 Aug 18
0
roaming profile unusable after smb ports = 139
Hello,
I have a big problem with a samba setup.
After I tried the config option
smb ports = 139
in the global section, 90% of the roaming profiles are not
usable by the windows XP clients.
Removing the smb ports options didn't help.
No errors in the samba logfile.
erasing the profiles seems to fix the issue, but I cannot
afford losing all my users profile data!
here is my smb.conf.
2006 Jul 18
1
Reproducible Research - Examples
All,
Recently I ran across a URL documenting published research using R:
http://www.cgd.ucar.edu/ccr/ammann/millennium/CODES_MBH.html
A note on the site indicates that the code is being revised. The code and
data are provided, so that one could reproduce the results without having to
buy a proprietary software program. In poking around the R website it is
clear that a lot of thought has gone
2004 Jun 01
2
Problem in random (lme)
In a lattice 11x11 with 6 repetitions, we want to compare lines to their two parents. 3 of the 6 repetitions are sprinkled and the 3 others not. There are 5 factors : hm (hydrous mode), variety, block, rep and grandrep. grandrep gathers two repetition, a sprinkled and a not (as in Split Plot !). I use lme but I have problems in random. Can someone help me ?
Ibnou DIENG
2006 Oct 26
3
Measurements of 3000 criminals
Hallo everyone,
excuse me if this is not a genuine R question but I do not know where to
ask else.
Referring to e.g.
https://stat.ethz.ch/pipermail/r-help/2004-December/062114.html
I wonder if these measurements of 3000 criminals (raw data) are
available anywhere. At least I didn't find them in the R datasets
package or by means of Google. What I did find was a table of
frequencies of
2006 May 04
2
R pour débutant
Bonjour,
Je suis actuellement doctorant (en fin de th?se) et je vais avoir besoin de me
servir de R.
Devant apprendre R tout seul, je suis tomb? sur un mail de vous disant que vous
aviez r?aliser un tutorial sur ce logiciel pour des 100% d?butant comme moi
J'aurai essentiellement ? utiliser des algo de clustering (SOM ou Nu?e dyna) sur
des matrices pouvant faire 41x230
Cependant je
2006 Aug 24
0
strange kind of sharing violation disappearing with socket options
Hello,
On a samba (3.0.22 from samba.org on FC4) setup running at
one of our customer site, we got a strange kind of bogus sharing
violation using
excel and word (french version).
the messages, translated in english:
Excel:
"saving of the document has succeeded, but Excel was not able to
reopen-it due to
a sharing violation. Close the document and try to reopen-it".
"New