similar to: "autonumber" for grouping variable

Displaying 20 results from an estimated 300 matches similar to: ""autonumber" for grouping variable"

2009 Feb 20
3
mean over previous cells
Dear RUsers, I guess this is an easy question for someone a little familiar with programming...(which I am not)... I've got 2 colummns, one shows just dates(SST_date, Class 'Date' num), the other one shows the SeaSurfaceTemperature (SST, num) at that certain date. SST_date SST 2008-01-01 22.2 2008-01-02 21.8 2008-01-03 22.8 2008-01-04 22.9 2008-01-05 23.1 2008-01-06 23.2 ...
2009 Apr 28
2
Why there is no p-value from likelihood ratio test using anova in GAM model fitting?
Hello, everybody, There is the first time for me to post a question, because I really cannot find answer from books, websites or my colleagues. Thank you in advance for your help! I am running likelihood ratio test to find if the simpler model is not significant from more complicated model. However, when I run LRT to compare them, the test did not return F value and p-value for me. What's the
2009 May 05
1
A question about using “by” in GAM model fitting of interaction between smooth terms and factor
I am a little bit confusing about the following help message on how to fit a GAM model with interaction between factor and smooth terms from http://rss.acs.unt.edu/Rdoc/library/mgcv/html/gam.models.html: ?Sometimes models of the form: E(y)=b0+f(x)z need to be estimated (where f is a smooth function, as usual.) The appropriate formula is: y~z+s(x,by=z) - the by argument ensures that the smooth
2011 May 11
1
Help with gam
Hi, I am a brand new user of R and I am trying to use the gam procedure with the package mgcv. I did a bit of my homework by consulting the R-manual, as well as the mgcv manual written by Simon Wood. I admit it was just a few hours, but what I am trying to do is really basic. Essentially, what I am trying to do is to generate the fitted values after the execution of the gam procedure and export
2007 Mar 22
3
assign events on creation of a new user
Hello everyone, I am developing a web app that is being used to track users and their associated events. Events could be like ''getting married'', ''having a baby'', ''buying a car'', etc. and each event has a median age associated with it. For instance the getting married median age is 25. I have the application working with checkboxes where you
2010 Jul 20
1
Using" fig=" in one screen created with "split.screen()"
Hi, I successfully created 3 screens with the following: fig.mat<-c(0,.5,.5,.5,1,1,0,0,.5,1,.5,1) fig.mat<-matrix(fig.mat,nrow=3) fig.mat split.screen(fig.mat) I can plot three different plots on those 3 screens, but when I try the following: (Trying to create three graphs with a common x-axis but different y-axis on screen 1) screen(1) par(oma=c(3,3,0,0)) par(fig=c(0,1,0,0.33))
2011 Nov 17
1
how to read a free text file into individual variables
hi ,I am writing a soft package based on R. But when I try to read a configure file showed as below. How can I read the parameter in this text file. How can I read the parameter into each variable in this file ? configinfo<-scan(file(configfile),ok=TRUE,n=-1) scan seems need every line have same column ? configinfo <- readLines(configfile,ok=TRUE,n=-1) methodnum <-
2011 Nov 10
0
Help with gam
From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de <mailto:ligges_at_statistik.tu-dortmund.de?Subject=Re:%20[R]%20Help%20with%2 0gam> > Date: Wed, 11 May 2011 19:08:38 +0200 On 11.05.2011 17:22, Zsolt Macskasi wrote: > Hi, > <http://tolstoy.newcastle.edu.au/R/e14/help/11/05/1036.html#1040qlink1> > I am a brand new user of R and I am trying to use the gam
2009 Aug 16
1
How to deal with multicollinearity in mixed models (with lmer)?
Dear R users, I have a problem with multicollinearity in mixed models and I am using lmer in package lme4. From previous mailing list, I learn of a reply "http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg38537.html" which states that if not for interpretation but just for prediction, multicollinearity does not matter much. However, I am using mixed model to interpret something,
2009 Nov 25
2
difference of two rows
Dear R user, I'd like to calculate the difference of two rows, where "ID" is the same. eg.: I've got the following dataframe: ID YEAR 13 2007 15 2003 15 2006 15 2008 21 2006 21 2007 and I'd like to get the difference, like this: ID YEAR diff 13 2007 NA 15 2003 3 15 2006 2 15 2008 NA 21 2006 1 21 2007 NA that should be fairly
2006 Jun 30
4
ActiveRecord Migrations, without autonumbered PK''s
I love using ActiveRecord Migrations to build tables. Sometimes, I don''t want to use autogenerated PK''s - I want to set them automatically (why? I''m importing read only data from a large list of medications, and want to use the PK''s assigned by the medication research company...). Is there anyway to do this using Migrations? I know that I don''t
2009 Oct 21
1
re ferring to data of previous rows
Dear Rlers, in the following dataset I would like to insert a new column that refers to the data of the previous row. My question is whether the probability of a female (Id) changes if she had given birth to a pup in the previous year. So my dataframe consists of the column Id, year (2003-2007 for each Id) and offspring (=of; 1-0): Id year of 1 2003 1 1 2004 0 1
2009 Feb 09
2
length of object in repeated measures
Hi there. I collectad data of several animals (Id) that were caught and measured at several occasions. The dataframe looks like this: Grouped Data: mass ~ age | Id Id age mass 1 1 5.4 1 3 6.2 1 15 10.0 2 3 8.1 2 10 12.8 3 2 5.9 3 10 7.1 3 15 15.4 3 17
2006 May 03
6
ruby on rails international & BIRT integration?
Hello, I see, that Rails is quite english-centric. I am developing some webs, that are not primarily in English. I have a few questions: - besides turning of plurals, what should I take care? How to use utf-8 for all data and converting it from local charsets to utf-8? - how do I make my page multilingual (i.e. adding english support later)? Is there something like gettext support? Is
2011 Jan 02
1
lmtp (xxx@mydomain.yy): Error: user xxx@mydomain.yy: Initialization failed: Namespace '': mbox: mbox requires client_limit=1 for service
new Dovecot 2.0.8 installation on Opensuse 11.3 I got the error "lmtp (xxx at mydomain.yy): Error: user xxx at mydomain.yy: Initialization failed: Namespace '': mbox: mbox requires client_limit=1 for service" while trying to transfer mails by lmtp from postfix to dovecot. I googled and looked on the dovecot wiki about this client_limit issue, but no success. What's the syntax
2010 Dec 31
1
user xxx@mydomain.com doesn't exist
new setup of Dovecot 2.0.8 with postfix local users are simply defined as Linux users named xxx, yyy et cetera; IMAP access is fine with that users. Postfix is delivering mails with two domains (to xxx at mydomain.com or xxx at mydomain.org) and these are rejected by dovecot with 550: user doesn't exist. I've tested the possible usernames with "doveadm user" xxx: okay xxx at
2011 Jan 06
0
virtual user problems
dovecot 2.0.8 with postfix; transfer postfix -> dovecot by lmtp is fine Now i have to redirect a couple of virtual email names (like admin at mydomain.com, postmaster@, webmaster@, info@, sales@ ...) to a single user postbox named xxx at mydomain. As I use mysql for the auth-sql, it's returning userhome /home/<name>/maildir for all sql requests to <name>=admin, postmaster etc.
2010 Jul 18
3
R graphic help
Dear All, I've done some searching, but to no avail -- I'm plotting x-y data via the "plot" command, and the "log=x" command. The graphed x values are in scientific notation (1e-02 1e-01 1e+00 etc). Might you have some idea on how I can get the plot to uses the x values (0.01 0.10 1.0 10.0 etc) instead? A related Q - where might a good place to search for such
2006 Jul 21
4
Printed/PDF Reports (Text/Tabular/Summary) in Rails
The recent discussion about different graphing solutions made me think. What is everyone using for general reports? Currently I have a web based application at work that has roughly 20 different reports ranging from simple tabular data with totaling at the bottom to pretty, colorized, graphic logo''s,etc... going to clients, and finally complex ones I hate to think about such as
2010 May 28
4
Matrix interesting question!
hi, I have been trying to do this in R (have implemented it in Excel) but I have been using a very inefficent way (loops etc.). I have matrix A (columns are years and ages are rows) and matrix B (columns are birth yrs and rows are ages) I would like to first turn matrix A into matrix B And then I would like to convert matrix B back again to the original matrix A. (I have left out details of