Displaying 20 results from an estimated 4000 matches similar to: "Read time series"
2009 Jul 23
3
Calculate weighted mean for each group
Hi R experts,
I need know how calculate a weighted mean by group in a data frame. I have
tried with aggragate() function:
data.frame(x=c(15,12,3,10,10),g=c(1,1,1,2,2,3,3),w=c(2,3,1,5,5,2,5)) -> d
aggregate(d$x,by=list(d$g),weighted.mean,w=d$w)
Generating the following error:
Error en FUN(X[[1L]], ...) : 'x' and 'w' must have the same length
Thanks in advance
[[alternative
2009 Sep 20
4
running many different regressions
Dear R community,
I have a dataframe with say 100 different variables. I wish to regress
variable 1 separately on every other variable (2-100) in a linear regression
using lm. There must be an easy way to do this without loops, but I have
difficulties figuring this out... Can you please help?
Thank you and best regards, Georg.
*****************************************
Georg Ehret
Johns Hopkins
2009 Dec 19
3
DROP and KEEP statements in R
What is equivalent to DROP or KEEP statements of SAS in R?
--
This message was sent on behalf of sarjinder at yahoo.com at openSubscriber.com
http://www.opensubscriber.com/messages/r-help at r-project.org/topic.html
2009 May 03
2
is there a way to read a specific column from a txt file
Sometimes, it is too costly to read the whole data file into R.
I am looking for solution in scan() and read.Lines() but don't they work.
Thank you so much!
--
==============================
WenSui Liu
Acquisition Risk, Chase
Blog : statcompute.spaces.live.com
Tough Times Never Last. But Tough People Do. - Robert Schuller
2010 Jan 03
2
Artificial Neural Networks
Hi! I am studying to use some R libraries which are applied for working with artificial neural neworks (amore, nnet). Can you recommend some useful, reliable and easy to get example data to use in R for creating and testing a neural network?
__________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet
2009 Jun 01
3
Editor R
Do you know any good editor R?
--
View this message in context: http://www.nabble.com/Editor-R-tp23822342p23822342.html
Sent from the R help mailing list archive at Nabble.com.
2009 Dec 09
2
Counting Frequencies
Hi - I'm having difficulty with frequencies in R. I have a table with a
variable (column) called "difference" 600 observations (rows). I would like
to know how many values are < -0.5 as well as how many are > 0.5. The rest
are obviously in the middle.
In SAS I could this immediately but am unable to do it in R.
Thanks for your help.
--
View this message in context:
2009 Sep 01
1
Best option for exporting data frame to SPSS?
Dear list,
I am leaving my old position and now need to convert my R data frames
into a format that can be used by an SPSS user replacing me, without
running into conversion problems.
The data set consists of strings in UTF8 encoding and values in double
precision floats. The data set is not terribly large, but I had bit
problems getting it into R due to the large number of unfortunate
characters
2009 Aug 28
3
CHAID in R
Hi..I am trying to run CHAID in R..I have installed the sofyware Party and
trying to use the function ctree() to carry out the analysis. but I am
getting the following message Error in terms.default(formula, data = data) :
no terms component
. I am having some Likert scale variable where I have variables like
"Overall satisfaction"(Dependent Variable),"Product quality", Brand
2009 Jul 31
3
Compare lm() to glm(family=poisson)
Dear R-helpers,
I would like to compare the fit of two models, one of which I fit using lm()
and the other using glm(family=poisson). The latter doesn't provide
r-squared, so I wonder how to go about comparing these
models (they have the same formula).
Thanks very much,
Mark Na
[[alternative HTML version deleted]]
2009 Dec 06
3
SAS "datalines" or "cards" statement equivalent in R?
Hi R Users,
Is there a equivalent command in R where I can read in raw data? For example
I'm looking for equivalent R code for following SAS code:
DATA survey;
INPUT id sex $ age inc r1 r2 r3 ;
DATALINES;
1 F 35 17 7 2 2
17 M 50 14 5 5 3
33 F 45 6 7 2 7
49 M 24 14 7 5 7
65 F 52 9 4 7 7
81 M 44 11 7 7 7
2 F 34 17 6 5 3
18 M 40 14 7 5 2
34 F 47 6 6 5 6
50
2010 Apr 15
3
Add header line to large text file
All,
I have a 30 million record text file without header information. I would
like to add a header to this file without reading it first. Is this
possible? The code below does what I want except that the readLines
portion takes quite a long time. Is there a way around reading the
lines? I'm working on Windows XP.
Zev
input<-readLines("c:/junk/forR.csv")
2010 Jan 25
5
Bash script for backup
Hello guyz!
I'm new here, and this is my very first truble...
I need a script that will backup & compress the folder /media/system in
the folder /media/backups
But that's not the problem, I need that only the last 7 backups (last 7
days, yeah I know, cronjob...) will stay in that folder...
The script need:
1 - Compress folder /media/system
2 - Store in /media/backups
3 - Name the
2003 Feb 11
2
krb5 + samba config
Hi,
my W2K clients and users are authenticated by a native MIT Kerberos-V5
KDC, that is they get tickets and TGT, while user data are stored in
an openldap directory. I use samba-3.0alpha21 which is still requiring
userpasswords beeing stored in the DIT, although i have following
directives in smb.conf
realm = MY.REALM
security = ads
smb ist still not requiring and accepting tickets from KDC. How
2004 Jun 20
2
customflags considered a folder?
Hello,
i just switched from courier-imap to dovecot on a machine. The transition was
painless except for one issue - when using the "Check mail" feature of kmail,
one gets the message:
"Unable to get information about folder customflags. The server replied:
internal error..."
So it looks like the server isn't properly hiding the .customflags file for
some reason. I
2001 Dec 11
2
Samba suddenly going nuts!
Hello,
we're running 2.2.1a on a production server. Lately, it's been giving
us troubles. Monday mordning, this moring, and 2 times more during
today, samba stopped responding to all requests from Windows (2000)
clients. This has happened once before a week ago, and once several
weeks ago. Today it seems to be getting much worse.
If left un-attended the system will eventually run out of
2002 Jun 10
1
Very strange problem with profiles
Hello,
I have just had a client of ours encounter an extremely weird problem with
roaming profiles. Wheather or not it's samba related I do not know, but I
believe it could be.
The problem is that the person in question is MOVING files from one
location to another inside "My Documents" while logged in using a
domain account WHILE DISCONNECTED from the network. He also changes a few
2002 Jun 25
2
Ogg Vorbis in the news
http://news.com.com/2100-1023-938564.html
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
2003 Jan 17
1
Write to ext3 fs -> kjournald goes bananas
Hello,
we have just observed a rather annoying behavior one of our servers.
Specifically, when writing data to a file on an ext3fs filesystem at
around 1.5 MB/sec, network connectivity suddently started to show
signs of lag.
The ping would spike up to ~1 second every 5 seconds or so. This affects
the server in question and all hosts routing traffic through it (i.e.,
it's not a userland-only
2001 Oct 14
1
Slashdot story on Ogg Vorbis
Hey,
http://slashdot.org/article.pl?sid=01/10/13/1343236&mode=thread
If anyone's interested.
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
--- >8 ----
List archives: