RES: [R] Structural Equation Model

2004-02-26 Thread Marcos Sanches
De: Chuck Cleland [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 26 de fevereiro de 2004 10:10 Para: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; John Fox Assunto: Re: [R] Structural Equation Model Marcos Sanches wrote: > I want to estimate parameters in a MIMIC model. I have one latent &g

[R] Structural Equation Model

2004-02-26 Thread Marcos Sanches
Hello all! I want to estimate parameters in a MIMIC model. I have one latent variable (ksi), four reflexive indicators (y1, y2, y3 and y4) and four formative indicators (x1, x2, x3, x4). Is there a way to do it in R? I know there is the SEM library, but it seems not to be possible to spe

RES: [R] AGREP

2004-02-12 Thread Marcos Sanches
s2)) print(c(t1,dist1)) # [1] 46.83 0.23 54.24 NA NA 443.00 t2 <- system.time(dist2 <- levenshteinFast(s1,s2)) print(c(t2,dist2)) # [1] 18.82 0.07 20.90 NA NA 443.00 /Henrik > --- > Date: Thu, 12 Feb 2004 11:01:19 -0300 > From: Rodrigo Abt <[EMAIL PR

RES: [R] AGREP

2004-02-12 Thread Marcos Sanches
str(a,i-1,i-1)!=substr(b,j-1,j-1)) ) # Returns the distance m[an,bn]-1 } --- Date: Thu, 12 Feb 2004 11:01:19 -0300 From: Rodrigo Abt <[EMAIL PROTECTED]> To: 'Lista de Correo de R' <[EMAIL PROTECTED]> Subject: Re: [R] AGREP "Marcos Sanches" <[EMAIL PRO

[R] AGREP

2004-02-11 Thread Marcos Sanches
Hi listers If you don't know what is the Edit Distance beetwen two strings, I will try to explain, in fact it is very simple to understund but not to calculate througth a program. It is simplilly the minimum number of operations you must perform to transform string A on string B, by operations I m

[R] AGREP

2004-02-11 Thread Marcos Sanches
Hi all, I have two questions 1 - I have the version 1.4.1 of R, and it doesn't have the 'agrep' function in the base library. Is there a way to make this funcion avaliable in R 1.4.1? I mean, how to 'copy' it from R 1.8.1 and 'paste' it in R 1.4.1? 2 - The AGREP function doesn't give me

[R] RConsole

2004-02-09 Thread Marcos Sanches
I changed my R console configurations, for example, the letters are white, the background is black, etc,... Then I saved this new configuration. What should I do if I want to have this new configuration everytime I open R? TIA __ [EMAIL

[R] Printting 'for' and 'while' indices

2004-02-09 Thread Marcos Sanches
Sorry, I forgot to correct the message subject, so I am resending my doubt it below: Hi all! I wrote a very basic program in R, which has some loops ('for' and 'while'). Is there a way to print the 'for' (or while) indice while the program is running so that I am able to estimate where the pr

RES: [R] Duncan's Multiple Range test

2004-02-09 Thread Marcos Sanches
Hi all! I wrote a very basic program in R, which has some loops ('for' and 'while'). Is there a way to print the 'for' (or while) indice while the program is running so that I am able to estimate where the program is and how long it will last? I mean, I want something like this: i<-0 While(i

RE: [R] Generalized linear model

2003-11-17 Thread Marcos Sanches
Ok, it worked!!! But what would be the command if I want to eliminate another point? I mean, two points at the same time. Thanks, Marcos -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 1:02 PM To: Marcos Sanches Cc

[R] Generalized linear model

2003-11-17 Thread Marcos Sanches
Hi all! I am fitting a Poisson model, using the following command: > fit2<-glm(canc~id1+year1+time+lnpa,family=poisson) where 'id1', 'year1' and 'time' are factors. I defined them with: > id1<-C(factor(id1), treatment) and 'lnpa' is a continuous variable. The 'summary' function