search for: fwc

Displaying 20 results from an estimated 26 matches for "fwc".

Did you mean: fw
2010 Feb 05
2
glm models with more than one response
...concentrations at sample point locations. Ultimately I'd like to use the probabilities for each response category in a simulation model such that these probabilities are used to define a realized ecological niche. When I try the following it works for a single response. Typha.glm <- glm(fwc$VegType == "Cattail" ~ fwc$TP + fwc$TC + fwc$TN + fwc$BD + fwc$LOI + fwc$Total_Mg, family = poisson) But if I try this without specifying a specific VegType it fails. plants.glm <- glm(fwc$VegType ~ fwc$TP + fwc$TC + fwc$TN + fwc$BD + fwc$LOI + fwc$Total_Mg, family = poisson) Err...
2006 May 24
5
Joining variables
...s that are factors or characters and I want to create a new variable that is the combination of both what function can I use to accomplish this? Ex. Var1 Var2 SA100055113 19851113 And I want NewVar SA10005511319851113 Thanks in advance. Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 May 16
3
subset
...those rose from the original data frame. I think I can create a new data frame without the duplicates using subset. I have tried: Subset(x,!x1) and subset(x,!x[x1,]) I can't seem to find the correct syntax. Any advice. Thanks in advance Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 Oct 19
2
randomize a matrix
...0 0 1 1 0 0 0 0] I want to create a new uniform random matrix [a] that is filled with 0's and 1's but constrained so that the row and column sums are the same as in [P]. Does anyone know how to accomplish this? Thanks in advance Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2005 Nov 21
3
Warning message help
...e code appears to work for some of the data but fails for others and inserts a NA value I also get this warning message Warning message: number of items to replace is not a multiple of replacement length Can anybody tell me what this means. thanks Cameron Guenther Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 May 10
3
Unique?
...446,000 rows of data and my computer and R simply cannot handle this follwing code on data this large. conds<-by(Step4,Step4$TRIPID,function(x) replace(x[1,],"CONVUNIT",sum(x$CONVUNIT))) Step5<-do.call(rbind,conds) Thank you, Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2005 Oct 18
3
Repeating lines in a data frame
...1 1998 3 250 1 1998 3 250 1 1999 1 150 1 1999 1 150 1 1999 1 150 1 1999 2 200 1 . . . Can anyone help me with a for statement of a function that can accomplish this? Thanks Cameron Guenther Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 Mar 27
1
Glm poisson
..."control" [28] "method" "contrasts" "xlevels" It tells me that the values are there but I can not access them. Any comments would be greatly appreciated. Thank you Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 Sep 26
1
How to "Pack" a matrix
...1 0 0 0 0 1 Can any of you help me with some code to accomplish this? I have tried different forms of order and can't seem to figure it out. Basically I want to order the matrix by both the rows and columns. Thank you for your help. Cam Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 Apr 06
1
Evaluating a function with another function
.... . . . . 7 . . . . . . . . . . . 8 . . . . . . . . . . . 9 . . . . . . . . . . . 10 . . . . . . . . . . . Thanks for any help you can offer. Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2006 Sep 19
1
-Need help with function
...out$Bt<-Bt[1:length(x$years)] out$Rt<-Rt[1:length(x$years)] out$Ct<-Ct[1:length(x$years)] out$stdr<-v out$stdc<-cr out$Bq<-Bq out$Rerr<-Rerr out$Cerr<-Cerr return(as.list(out)) } test<-calib(dat) Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther@myfwc.com [[alternative HTML version deleted]]
2006 May 03
4
Aggregate?
...SP0072357 8 25 4 NA 1000000 NA NA NA 200 1 NA NA NA 0216 3399062 Does anyone know how to do this. Data file is attached. Thanks in advance Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther@myfwc.com [[alternative HTML version deleted]]
2006 May 03
4
Aggregate?
...SP0072357 8 25 4 NA 1000000 NA NA NA 200 1 NA NA NA 0216 3399062 Does anyone know how to do this. Data file is attached. Thanks in advance Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther@myfwc.com [[alternative HTML version deleted]]
2006 Sep 20
1
help with function
...out$Bt<-Bt[1:length(x$years)] out$Rt<-Rt[1:length(x$years)] out$Ct<-Ct[1:length(x$years)] out$stdr<-v out$stdc<-cr out$Bq<-Bq out$Rerr<-Rerr out$Cerr<-Cerr return(as.list(out)) } test<-calib(dat) Cameron Guenther, Ph.D. Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2009 Feb 07
2
can anybody tell me how Magic jack can be so cheap ????
How Magic Jack can only charge $20 per year? do they have a call limit? do they have a call duration limit or limit of minutes per day?, Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090207/974cf988/attachment.htm
2005 Nov 10
2
IF/Else
...{if (Gear==301) {bioden=Biomass/(DIST_TOW*4*1853)}} Error: syntax error in "else" > } Error: syntax error in "}" It appears that the code works for the first two if/else statements and then fails there after. Any suggestions? Cameron Guenther Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2011 Sep 09
3
Missing Content-Length header breaks ActiveResource 3.1 on create
Hi, I''ve recently moved a 3.0 app ta 3.1 and am finding that ActiveResource breaks after a successful post because we now check for the presence of the Content-Length header[1] after a successful create (basically whenever the API returns a 201). The API is also on 3.1, and this only happens on staging/pre-prod/prod. I''m still investigating, but one thing that is clear is that
2005 Oct 25
1
file size limit for importing SAS file
...OCALS~1\Temp\Rtmp17498\file11436.sas The log file will be file11436.log in the current directory Warning message: SAS return code was 2 in: read.ssd(file.path("G:/DATA/Cam/ECPATH/FIM"), "tbm_c", sascmd = file.path(sashome, > Cameron Guenther Associate Research Scientist FWC/FWRI, Marine Fisheries Research 100 8th Avenue S.E. St. Petersburg, FL 33701 (727)896-8626 Ext. 4305 cameron.guenther at myfwc.com
2010 Feb 10
0
mlogit: Error reported using sample dataset
...both of those lines work, as expected. However; summary(mlogit(mode ~ pr + ca -1, data = Fish)) Call: Error in deparse(object at call) : trying to get slot "call" from an object (class "mlogit") that is not an S4 object Using my data I've done the following: xx <- fwc # copies and protects original data.frame xx$VegType <- as.factor(xx$VegType) xx.dat <- mlogit.data(xx, varying = "NULL", choice = "VegType", shape = "wide") xx.mlogit <- mlogit(VegType ~ TP, data = xx.dat,, reflevel = "1") Error in relevel.factor...
2005 May 11
0
RODBC Oracle and VB automation with R(D)COM
...;MYPWD", case = "oracle") >channel RODB Connection 4 Details: case=toupper DSN=MY_DB UID=MYUID PWD=MYPWD DBQ=LT10G DBA=W APA=T EXC=F FEN=T QTO=T FRC=10 FDL=10 LOB=T RST=T GDE=F FRL=F BAM=IfAllSuccessful NUM=NLS DPM=F MTS=T MDI=F CSR=F FWC=F FBS=64000 TLO=0 When I run the same code through VBA (and VB .NET). I would have: Rinterface.RRun("channel<- odbcConnect(dsn='MY_DB', uid='MYUID', pwd='MYPWD', case = 'oracle')") And then to check that there is a connection (since the rest of th...