[R] problem with Erlang function

2012-11-12 Thread alen
I'm beginner with R language My goal is to write a function that takes an input Erlang entering your · Name · Name · Date of birth. The program will calculate age and display output first I do know the system date (month, day, year) I find with Sys.Date () I found a function. net to

[R] how to enter a string value

2012-11-12 Thread alen
) name - scan (nmax = 1) print (enter the first name) firstName - scan (nmax = 1) print (enter the date of birth) BirthDate - scan (nmax = 1) best regards alen -- View this message in context: http://r.789695.n4.nabble.com/how-to-enter-a-string-value-tp4649313.html Sent from the R help

[R] Tools for professional R developers

2011-07-28 Thread Mark Alen
Hi everyone, I was wondering what tools professional R users use so I went and posted this question on stack overflow. I appreciate if you would please answer this question too (either here or on stackoverflow) Here is the link to the question

[R] What are the good tools for professional R developers?

2011-07-22 Thread Mark Alen
I am trying to make this transition from a casual R programmer to a professional programmer (trying to make money with R) What tools should a professional R developer have? what are the good utilities that can help R developers to code and debug more efficiently? what type of tools are

[R] Calculating the mean of values in tables using formulae

2011-07-22 Thread Mark Alen
I know commands like xtabs and table allow a user to do cross-tabulation For example the following command generates a pivot table that shows the number of cars that have the same number of gears and cylinders. xtabs(~cyl+gear,data =mtcars)    gear cyl  3 4 5   4 1 8 2   6 2 4 1   812 0 2 We

[R] Converting an ftable (contingency table) to a dataframe in R

2011-06-23 Thread Mark Alen
I am generating an ftable (by running ftable on the results of a xtabs command) and I am getting the following.                                                                    Var1  Var2 date                 group                                                2007-01-01          q1