similar to: Counting Frequencies

Displaying 20 results from an estimated 5000 matches similar to: "Counting Frequencies"

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 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
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
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 Sep 20
2
Read time series
Hi R experts, How can I get a ts object from a data frame object which contains a daily time series in order to apply it time series functions? Tanks Aleto [[alternative HTML version deleted]]
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]]
2006 Sep 16
2
how to rescale the limits of yaxis rather than using the data range by default?
Dear Lister, plot() is using the data range as the default limits of yaxis. Is there any way I can change the limits? I just look at the help of plot() and par() and couldn't find answers. Thanks. -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center
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")
2008 Jan 22
2
a Q about R in unix
Dear All, I finally have chance to have R install on our unix server. However, the system admin asked me if I prefer command-line or gui interface. I have experience with R on linux before but never use R on unix. Here are my questions that I need you guys help. 1) is there a good gui for R/unix like we do for windows and mac? 2) if the answer for 1) is yes, which one is better interms of
2007 Nov 08
1
finite mixture model (or latent class)
Dear Listers, My post might be somewhat OT. Currently, I am trying to use flexmix to build a finite mixture model. For instance, I am getting the prior probability and coefficients for each latent class from training data. Is there a way to get the posterior probablity and prediction of a new dataset? What I am thinking is to apply the prior prob and coefficient from training set to testing data
2007 Dec 24
2
mgarch
Is there a package or function for multivariate garch model in R? I am having a hard time in locating one. Thanks for help in advance. -Young [[alternative HTML version deleted]]
2007 Nov 14
2
Log random number
Dear R users, Simply my question is that how it is possible to generate some random numbers using rnorm( ) but in log transformed values. Thank you, Tobias --------------------------------- [[alternative HTML version deleted]]
2006 Aug 15
3
merge 2 data frame based on more than 2 variables
Dear Lister, I understand merge() can be used to join 2 data frames based on 1 variable. But how about merge based on more than 2 variables? Thank you so much! -- WenSui Liu (http://spaces.msn.com/statcompute/blog) Senior Decision Support Analyst Health Policy and Clinical Effectiveness Cincinnati Children Hospital Medical Center [[alternative HTML version deleted]]
2008 Jan 31
2
[OT] emacs / xemacs for unix without compile
Dear All, Is there a emacs/xemacs for unix without compiling it? If it is possible, I prefer something that I can use immediately after putting it on the unix server. Is it possible or am I too stupid to ask this kind of question? Thanks for your insight! -- =============================== WenSui Liu ChoicePoint Precision Marketing Phone: 678-893-9457 Email : wensui.liu at choicepoint.com Blog
2006 Nov 16
3
X-fold cross validation function for discriminant analysis
Hi all, I ran a discriminant analysis with some data and want to get a general idea of prediction error rate. Some have suggested using X-fold cross validation procedure. Anyone know if there is a function for this in R? Thanks, Wade [[alternative HTML version deleted]]
2006 Aug 26
3
for() loop question
Dear Lister, If I have a list of number, say x<-c(0.1, 0.5, 0.6...), how to use a for() to loop through each number in x one by one? Thank you so much! wensui [[alternative HTML version deleted]]