search for: mazatlanmexico

Displaying 20 results from an estimated 104 matches for "mazatlanmexico".

2012 Dec 17
5
save to file
 Hi, What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying to capture the whole R console into a text file when my code fails. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx [[alternative HTML version deleted]]
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
...= theme_text(size = 8, hjust = 1))        Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx > >From: Manuel Spínola <mspinola10@gmail.com> >To: Felipe Carrillo <mazatlanmexico@yahoo.com> >Sent: Sat, April 2, 2011 11:22:24 PM >Subject: Re: another question on shapefiles and geom_point in ggplot2 > >No problem, thank you very much Felipe. > >Best, > >Manuel > >On 03/04/2011 12:19 a.m., Felipe Carrillo wrote: >I meant to send you this on...
2010 Jun 23
1
Plotting Data on a Map
...lt;- wolves.plot + geom_polygon(data=wolfsub,aes(fill=????)) #Want to fill by WOLVES_99 but is gone #after fortify area_mod #Not sure how to proceed from here to fit the 'mod1' model to all #the 5 states.   > >From: Tom Hopper <tomhopper@gmail.com> >To: Felipe Carrillo <mazatlanmexico@yahoo.com> >Sent: Tue, June 22, 2010 9:40:19 PM >Subject: Re: Plotting Data on a Map > >Felipe, > > >I am just learning these tools, too, so it may be a good learning opportunity for both of us. Please send me the files and I will try to put it together and plot it. > &g...
2009 Apr 30
1
odbcConnectAccess function
HI: Is it possible to use the RODBC package within MS Access. I have been using from R but was just wondering if it could be used along with R(D)COM. Something like this: Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim myApp As StatConnector Set myApp = New StatConnector myApp.GetErrorText myApp.Init "R" myApp.EvaluateNoReturn "library(RODBC)" myApp.EvaluateNoReturn
2008 Mar 22
2
counting values on one colum only
Hi all: Can someone help me count the number of rows with values in colum "a" only. assume the name of my dataframe is "weekly" I was trying i<- nrows(weekly$a) i but returns 7 when it should be 4. Thanks a b c d 27.000 27.000 1.569 0.013 160.000 27.000 1.632 0.013 146.000 27.000 1.830 0.015 70.000 27.000 2.475 0.019
2010 Jul 24
2
How to generate a sequence of dates without hardcoding the year
Hi: I have a dataframe named 'spring' and I am trying to add a new variable named 'IdDate' This line of code works fine: spring$idDate <- seq(as.Date("2008-07-01"),as.Date("2009-06-30"),by="week") But I don't want to hardcode the year because it will be used again the following year Is it possible to just generate dates with the month and
2008 Aug 10
2
detect if data is normal or skewed (without a boxplot)
Hello all: Is there a way to detect in R if a dataset is normally distributed or skewed without graphically seeing it? The reason I want to be able to do this is because I have developed and application with Visual Basic where Word,Access and Excel "talk" to each other and I want to integrate R to this application to estimate confidence intervals on fish sizes (mm). I basically want to
2007 Jul 10
3
How to plot two variables using a secondary Y axis
Date Fo Co 6/27/2007 57.1 13.9 6/28/2007 57.7 14.3 6/29/2007 57.8 14.3 6/30/2007 57 13.9 7/1/2007 57.1 13.9 7/2/2007 57.2 14.0 7/3/2007 57.3 14.1 7/4/2007 57.6 14.2 7/5/2007 58 14.4 7/6/2007 58.1 14.5 7/7/2007 58.2 14.6 7/8/2007 58.4 14.7 7/9/2007 58.7 14.8 Hello all: I am a newbie to R, and I was wondering how can I
2010 May 11
2
predicting without a model
Hello: I have 5 years of weekly passage data and want to predict fish passage for the following year. I don't have a model to use to predict data for the sixth year. Can I somehow still predict based on these five years? I just want to see on the graph what the predicted year would look like and how those?new values are generated. Gracias? ? ?fall <- structure(list(week = c(48L, 49L, 50L,
2008 Oct 11
6
Sweave-LaTEX question
Hi: I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions: Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
2010 Jun 23
1
Shapefile
...a_mod <- wolves.plot + geom_polygon(data=wolfsub,aes(fill=????)) #Want to fill by WOLVES_99 but is gone #after fortify area_mod #Not sure how to proceed from here to fit the 'mod1' model to all #the 5 states. From: Tom Hopper <tomhopper at gmail.com> To: Felipe Carrillo <mazatlanmexico at yahoo.com> Sent: Tue, June 22, 2010 9:40:19 PM Subject: Re: Plotting Data on a Map Felipe, I am just learning these tools, too, so it may be a good learning opportunity for both of us. Please send me the files and I will try to put it together and plot it. Regards, Tom...
2010 Nov 29
2
drop levels problem
Hi all: I am having trouble dropping levels, got a few hints online?without success. Please consider the dataset below: ?I was under the inpression that subset(......drop=TRUE) would work but it doesn't library(ggplot2) ??? library(hmisc) x <- structure(list(first = c(38.2086, 43.1768, 43.146, 41.8044, 42.4232, 46.3646, 38.0813, 40.0745, 40.4889, 38.6246, 40.2826, 41.6056, 34.5353,
2008 Feb 15
2
How to estimate weekly Variance
Dear All: Using the Excel formula below I am able to estimate daily variance(Daily VarPD)for PD,but I can't figure out how to estimate the Weekly variance for PD. Any hints? Daily VarPD = (PD * (1 - TD))/TD + VarTD * ((PD*(1-TD)+ PD^2*TD))/TD^3 WK TD VARTD PD Daily VarPD 28 0.014735 0.0000449 0 0 28 0.012421 0.0000449 0 0 28 0.014396 0.0000449 71 7005 28 0.014898 0.0000449
2009 Jan 21
4
seq()
HI: Could someone help me with the seq function? I have a range of values starting from 1 to 52 but I want seq to start at 27 by=2, but when it reaches 51 start with with number 1 to 25. is this possible. I can do the basics of seq() but I can't figure how to do this one. This is how I want my sequence to look like: 27 29 31 33 35 37 ............51 1 3 5 7 9 11 13 ...........25 Felipe D.
2009 Jan 12
3
merge table rows (\multirow)
Hi: I need help merging rows. I am trying to merge the 'Month' column using \multirow. For example for the column 'Week' I want July to be merged into one row(weeks 27,28,29,30) and so on for the following weeks. Below, I am creating a PDF using Sweave, MikTex,R-2.8.1 and windows XP to show an example. \documentclass[11pt]{article} \usepackage{longtable,verbatim} \title{How to
2008 Mar 16
2
How to loop through all the columns in dataframe
Hi: Can anyone advice me on how to loop and perform a calculation through all the columns. here's my data xd<- c(2.2024,2.4216,1.4672,1.4817,1.4957,1.4431,1.5676) pd<- c(0.017046,0.018504,0.012157,0.012253,0.012348,0.011997,0.012825) td<- c(160524,163565,143973,111956,89677,95269,81558) mydf<-data.frame(xd,pd,td) trans<-t(mydf) trans I have these values that I need to
2012 Nov 12
3
arrange data
Dear r-users,   I have daily rainfall data from 1971 to 2000.  I would like to extract november and december data only.  I would also like to do column bind for november and december, therefore I would like to delete 31 December from december data so that the length of november and december are the same.  Hope somebody can help me.  I tried this below:   > kuantan.dt.1 <-
2009 Feb 02
2
Upgrading to TINN - R 2.1.1.6
I know this has been addressed before, but I'm still confused by the solution. When running TINN - R (ver 2.1.1.6) with R (2.8.0) I have lost the functionality of TINN-R It returns an error source(.trPaths[5], echo=TRUE, max.deparse.length=150) I modified the RProfile.site file as follows: options(pager="interal") .trPaths=c( 'C:/Documents and
2009 Jan 10
1
Hmisc-xtable label
Dear all: Does anybody know about label conflicts between xtable and Hmisc? I found a couple of e-mails similar to this problem but is not clear to me how to get around the label problem. The first table(longtable below) is generated with the latex function from Hmisc but for some reason when I try to hyperlink to it,it takes me to the top of the document. The second table created with the xtable
2008 Sep 26
2
bar and line plot
Hello All: Using the below dataset how can I make a barplot with Date(X) and NumEggs(Y) by Site. Then plot Temp(lineplot) It seems really simple, but I am having a hard time trying to do it by Site. Thanks Date NumEggs Site Temp 1 2008-04-22 0 Massacre Flat (RK424.5) 51.20 2 2008-04-23 0 Massacre Flat (RK424.5) 50.80 3 2008-04-24