[R] sql query over local tables

2007-08-29 Thread Jorge Cornejo Donoso
Hi i have to table with IDs in each one.

I want to make a join (as in sql) by the ID. Is any way to use the RODBC
package (or other) in local tables (not a access, mysql, sql, etc. )  and
made the join?

 

Thanks in advance

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Age-Length key with kimura algorith

2007-08-29 Thread Jorge Cornejo Donoso
 

Hi, I’m looking for information to implement the kimura method (kimura 
Chikuni. 1987. Mixtures of empirical distributions: an interative
application of the age length key) for calculation of fisheries age-length
key.

If someone have a manuals, methodology or examples about it I will be really
gratefull if you could share it.

 

Thanks in advance

 

Jorge Cornejo Donoso

Biólogo Marino Mención Oceanografía y Calidad Ambiental

Centro Trapananda, Universidad Austral de Chile

Portales 73, Coyhaique, Chile

Fono: +56(67)244520 fax: +56(67)239377 

 


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] It is possible to Expand RAM with HD space?

2007-04-16 Thread Jorge Cornejo-Donoso
I'm using R in a winXp machine. I have problems with the size of my database
(xyz), anyone know if is possible to use some kind of swap memory, in order
to expand my real RAM and use HD space for the processes?
I'm trying to make a variogram, and I don't want to sacrifice the precision
of the data, e.g. using mean or median by defined pixels or something like
that (now I have to do that, or use other software like SAS).

Thanks in advance!

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Reasons to Use R

2007-04-09 Thread Jorge Cornejo-Donoso
I have a Dell with 2 Intel XEON 3.0 procesors and 2GB of ram
The problem is the DB size. 

-Mensaje original-
De: Gabor Grothendieck [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 09 de Abril de 2007 11:28
Para: Jorge Cornejo-Donoso
CC: r-help@stat.math.ethz.ch
Asunto: Re: [R] Reasons to Use R

Have you tried 64 bit machines with larger memory or do you mean that you
can't use R on your current machines?

Also have you tried S-Plus?  Will that work for you? The transition from
that to R would be less than from SAS to R.

On 4/9/07, Jorge Cornejo-Donoso [EMAIL PROTECTED] wrote:
 tha s9ze of db is an issue with R. We are still using SAS because R 
 can't handle own db, and of couse we don't want to sacrify resolution, 
 because the data collection is expensive (at least in fisheries and 
 oceagraphy), so.. I think that R need to improve the use of big DBs. 
 Now I only can use R for graph preparation and some data analisis, but 
 we can't do the main work on R, abd that is really sad.


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Plot symbols dimensions

2007-04-09 Thread Jorge Cornejo-Donoso
I have the same question/problem.
I have a UTM plot, so the axes are in meters, and I need to represent each
point of 50*50 m. It is any way to do it? 

-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Cressoni, Massimo
(NIH/NHLBI) [F]
Enviado el: Domingo, 08 de Abril de 2007 18:29
Para: r-help@stat.math.ethz.ch
Asunto: [R] Plot symbols dimensions


I am writing some code to obtain publication-like plots (like the ones can
be obtained with SigmaPlot). I am not able to find the dimensions of a
point. Parameters like cex make you able to make it bigger or smaller but I
need to know the exact dimension (in relative coordinates :
if my plot is 640x480 a dot plotted with cex=1.5 will be...)

Massimo Cressoni

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

__ Informacisn de NOD32, revisisn 2173 (20070407) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Glm and random effects

2007-04-02 Thread Jorge Cornejo-Donoso
 
Hi, I'm traing to use the GLM to find tendences on my data.

E.G.
Data.frame: MyData
Len ZoneYear
121 2002
21  1   2003
32  1   2004
32  2   2002
32  2   2003
31  2   2004
3   3   2002
4   3   2003
3   3   2004
32  4   2002
4   4   2003
5   4   2004


I want toi fing tendences on the len, if they change over the year (the
anova say yes), but I wan't to include the zone as a Random effect So, I
have something like this:
 SalGLM - glm(MyData$Len ~ factor(MyData$year))
 summary.glm(SalGLM)

But, I really don't know how to incorporate the zone as a random effect,
anybody could help please?

Thanks in advance

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Glm and random effects

2007-04-02 Thread Jorge Cornejo Donoso
 
Hi, I'm traing to use the GLM to find tendences on my data.

E.G.
Data.frame: MyData
Len ZoneYear
121 2002
21  1   2003
32  1   2004
32  2   2002
32  2   2003
31  2   2004
3   3   2002
4   3   2003
3   3   2004
32  4   2002
4   4   2003
5   4   2004


I want toi fing tendences on the len, if they change over the year (the
anova say yes), but I wan't to include the zone as a Random effect So, I
have something like this:
 SalGLM - glm(MyData$Len ~ factor(MyData$year))
 summary.glm(SalGLM)

But, I really don't know how to incorporate the zone as a random effect,
anybody could help please?

Thanks in advance

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] substitute NA values

2007-03-28 Thread Jorge Cornejo-Donoso
This could work, but not with big matrix!

year - c(1990,1995,2000,2005)
Prod - c(2478,3192,NA,1594)

matrix - data.frame(cbind(year,Prod))
for (i in 1:dim(matrix)[1])
{
if (is.na(matrix[i,2])) {matrix[i,2] - 0}
}

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] RV: By sentence

2007-03-27 Thread Jorge Cornejo Donoso


Hi dear listers

Do you know how to made a mean by one or more categorical variables?
I can do that quite easy on SAS by in R I just can't do it E.g.
Some fishes
Sex Lenght
male15
fema20
fema17
fema19
male  18

So the idea is mean(Lenght) by sex, in order to have sex: Male
mean=XX Sex: Fema mean=YY
In this case is quite easy to do it by a loop, but I have a huge DB
so is not an option. Any suggestion?

Thanks in advance!

--

Jorge Cornejo Donoso

Universidad Austral de Chile

Portales 73, Coyhaique,CP 595, Region de Aisén, Chile Tel +56 67 244520
Fax +56 67 239377

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.