Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-20 Thread Ista Zahn
On Mon, Nov 18, 2013 at 8:45 AM, PIKAL Petr wrote: > Hi > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Zach Feinstein >> Sent: Wednesday, November 13, 2013 2:57 PM >> To: r-help@r-project.org >> Subject: [R] R Beginner -

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-18 Thread PIKAL Petr
Hi > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Zach Feinstein > Sent: Wednesday, November 13, 2013 2:57 PM > To: r-help@r-project.org > Subject: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to > Learn Few Ba

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-14 Thread John Kane
This is not an R question per se. It really seems like an RStudio question. They have their own help forum and it is probably best to ask there. My first thought was that you had just closed the output window in RStudio but in my version, 0.97.449 under Ubuntu 13.10 the window automatically

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Mitchell Maltenfort
Bert: Yet another reason I'm a fan of Frank Harrell. Does anyone know when I get to buy the next edition of Regression Modeling Strategies? Zach: Check www.coursera.org. They have some nice R-centric classes. I signed up myself since my own R skills are self-taught. Also consider investing in s

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-13 Thread Bert Gunter
Type the following into your console window: install.packages("fortunes") library(fortunes) fortune("brain surgery") (It's not quite apposite, but close enough). Cheers, Bert On Wed, Nov 13, 2013 at 5:57 AM, Zach Feinstein wrote: > I have finally decided that I will learn R and learn it very

Re: [R] R beginner: matrix algebra

2012-12-18 Thread kevj1980
Thanks to all for help. The filter function appears most straightforward way for this problem. Kevin -- View this message in context: http://r.789695.n4.nabble.com/R-beginner-matrix-algebra-tp4653335p4653414.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] R beginner: matrix algebra

2012-12-18 Thread Patrick Burns
Convenient ways of computing both simple and log returns are at the very end of: http://www.portfolioprobe.com/2012/11/05/an-easy-mistake-with-returns/ Those work whether you have a vector or a matrix. Pat On 17/12/2012 17:16, kevj1980 wrote: Hi, I have an n x m matrix of numerical observati

Re: [R] R beginner: matrix algebra

2012-12-17 Thread William Dunlap
ct.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Richard M. Heiberger > Sent: Monday, December 17, 2012 1:54 PM > To: kevj1980 > Cc: r-help@r-project.org > Subject: Re: [R] R beginner: matrix algebra > > I think this is what you are looking for. > > > t

Re: [R] R beginner: matrix algebra

2012-12-17 Thread Richard M. Heiberger
I think this is what you are looking for. > tmp <- matrix(sample(20), 5, 4) > tmp [,1] [,2] [,3] [,4] [1,]6 15 18 20 [2,]45 10 19 [3,]7913 [4,]8 14 11 13 [5,] 17 12 162 > t(apply(tmp, 1, diff)) [,1] [,2] [,3] [1,]932 [

Re: [R] R beginner

2012-12-03 Thread avadhoot velankar
Hi andrew Stick to one tutorial before you get confident enough. I found this one very good. informative, easy to understand and best thing you basically try everything out on sample files provided. word of caution though instead of using ctrl+R command in script file, manually type it in consol i

Re: [R] R beginner

2012-12-02 Thread andrewcd
My $.02: re-do an analysis that you did in another software package in R, making sure that you get the same results. A good way to learn any language. -- View this message in context: http://r.789695.n4.nabble.com/R-beginner-tp4651719p4651759.html Sent from the R help mailing list archive at N

Re: [R] R beginner

2012-12-02 Thread Bert Gunter
Google "Learn R" (What else!) -- And please do not post here further until you have done some studying. -- Bert On Sun, Dec 2, 2012 at 3:55 PM, Rui Barradas wrote: > Hello, > > An Introduction to R, file R-intro.pdf comes with every installation of R, > folder R/doc. > And there are many boo

Re: [R] R beginner

2012-12-02 Thread Rui Barradas
Hello, An Introduction to R, file R-intro.pdf comes with every installation of R, folder R/doc. And there are many books available at http://www.r-project.org/. (Choose the link Other at the left.) Good luck. Hope this helps, Rui Barradas Em 02-12-2012 22:45, Akrem Zoghlami escreveu: Dear

Re: [R] R beginner

2012-12-02 Thread R. Michael Weylandt
On Sun, Dec 2, 2012 at 10:45 PM, Akrem Zoghlami wrote: > Dear R-help group, > > I'm a R beginner and I find difficulty in manipulating R. Could you send to > me a support that helps me to be familiar with R. Thank you in advance > Try typing help.start() at your prompt. This will bring up the m

Re: [R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread Henrik Singmann
Hi Phil, I think you want: merge(listA, listB, by = "NACE") which will give you: NACE Name aaa bbb ccc 11a a a c 21a a a c 31a a a c 42b a a c 52b a a c 63c a a c If you want to get rid of the Name column, th

Re: [R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread arun
Hi, Try this: dat1<-read.table(text=" NACE aaa bbb ccc 1 a a c 1 a a c 1 a a c 2 a a c 2 a a c 3 a a c 4 a a c 4 a a c 4 a a c ",sep="",header=TRUE) dat2<-read.table(text=" Name NACE a 1 b 2 c 3 ",sep="",header=TRUE)  dat3<-merge(dat1,dat2)  dat3<-dat3[,1:4]  dat3   NACE aaa bbb ccc 1    1   a

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Arne Henningsen > Sent: Thursday, March 10, 2011 12:09 PM > To: Alex Olssen; r-help@r-project.org > Subject: Re: [R] R beginner - Error in as.vector(x, mo

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Arne Henningsen
Dear Alex On 10 March 2011 20:31, Alex Olssen wrote: > I find it hard to provide a reproducible version of this error. > When I use the exact same procedure but get data from data() > everything works fine. > I.e., I do not think the startvals are the problem - in fact I copied > the syntax for t

Re: [R] R beginner - Error in as.vector(x, mode)

2011-03-10 Thread Arne Henningsen
Hi Alex! On 10 March 2011 09:46, Alex Olssen wrote: > Hi everyone, > > I am new to R and keep getting the message > Error in as.vector(x, mode) > while trying to run nlsystemfit. > > Below is my exact code.  The data is in Stata format because I only > recently swapped to R and am trying to compa

Re: [R] R beginner

2010-04-13 Thread azman
I have try again my function from this email.I just copy and paste it on the R software and it doesn't give any problem like before.Did you change anything to my function? Actually before this I have do others about my research and long time not see this function. Thank you very much for your help

Re: [R] R beginner

2010-03-03 Thread Dieter Menne
azman wrote: > > i'am is new in R software.i have try to make a function but it can't give > what it should.i dunno what have to do next. > Can somebody help me to solve it.i'll very appreciate... > > Your example is nice, because it is self-contained (even if there is a buglet). When I run i

Re: [R] R beginner - how to apply function to more than one matrix / data.array / ...

2008-04-09 Thread Gabor Csardi
Yes, it is exactly 'apply', and its friends. E.g. you can collect the objects into a list and then do sapply(mylist, is.matrix) G. On Wed, Apr 09, 2008 at 11:52:08AM -0400, Mon Mag wrote: > I would like to apply a simple function, like > is.matrix > to more than one data.frame > How can I call