Displaying 15 results from an estimated 15 matches for "fwri".
Did you mean:
fri
2006 May 24
5
Joining variables
...at 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
...se 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
...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
...de 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?
...,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
...98 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
...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
...ut$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
...ut$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
2005 Nov 10
2
IF/Else
...(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
2005 Oct 25
1
file size limit for importing SAS file
...S~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