Displaying 13 results from an estimated 13 matches for "breiwick".
2009 Dec 18
2
Package creation - require statement?
...dependencies in R code ... WARNING
'library' or 'require' calls not declared from:
RODBC
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
Does anyone know where I have gone astray? Thank you.
Jeff Breiwick
2012 Apr 02
2
nls() error
Hello,
I am running a simple nls model (which a friend ran OK) but I get the
following error:
Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, :
object 'R_nls_iter' not found
Does anyone know what the 'R_nls_iter' error is?
The data are:
x=1:8 ; y=c(14,19,25,34,43,56,69,76)
# starting values:
R=.3, K=94
Thanks in advance.
Jeff
2011 Oct 05
3
R CMD check
Dear R-Group,
I have a function that sorts a data frame and oneo of the lines in the
function is:
vars <- unlist(strsplit(formc, "[\\+\\-]"))
The function works fine and the above line is always reached. However, when I
include the function in a package and run "R CMD check pkgname" it gives this
error message:
'\+' is an unrecognized escape in character
2003 Apr 23
1
Comparing formulas
...2 different formulas, say F1 and F2, which consist of about 10
factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other
doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper
way to compare formulas?
-------------------------------------------
Jeffrey M Breiwick, Ph.D.
National Marine Mammal Lab., AFSC, NOAA
7600 Sand Point Way NE, Bldg. 4
Seattle, Washington 98115 USA
2007 Jan 29
2
countour and poygon shading
Hi,
I have a contour plot and I want to shade a polygon (the area below a line)
but the polygon shading wipes out the contour lines. Does anybody know how
to shade the polygon and still see the contour lines? Thanks.
Jeff
2008 Apr 24
1
system() function
...- shQuote("CMD INSTALL -l D:/R/JMB.LIBS jmb.test")
system(paste('"R"',commands))
Can anyone tell me where I have gone astray? I suspect the problem lies in
quoting the strings. The command (R CMD INSTALL etc.) runs OK if I run it in
a windows shell.
Thank you.
Jeff Breiwick
2005 Oct 28
1
multiple boxplots
...as 8
groups, the 2nd has 7 and the third has 6. But I the groups to line up:
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8
3 4 5 6 7 8
where the numbers actually refer to years. I suspect I have to manipulate
the function bxp(). Is there a relatively simple way to do this? Thanks for
any help.
Jeff Breiwick
NMFS, Seattle
2006 May 10
1
attach() warning message
...as the following line which causes
a warning:
attach(what="c:/r/jmb/.RData", pos=3)
I get the following message after .First() is loaded:
During startup - Warning message:
use of NULL environment is deprecated
Is there a simple fix that will eliminate this warning message? Thanks.
J. Breiwick
2004 Oct 19
1
Creating Packages with Windows under R 2.0.0
...group of
functions? I know the DESCRIPTION file is different under R 2.0.0 but what
else do I have to consider? I've read most of the pertinent documentation
and though it is somewhat helpful it is not always helpful if you haven't
been able to get these procedures to run correctly.
Jeff Breiwick
National Marine Mammal Laboratory
Natl. Marine Fish. Serv.
7600 Sand Point Way NE, Bldg 4
Seattle, WA 98115 USA
______________________________________________
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....
2003 Apr 14
7
functions in a package
Hello,
I have a beginner's Q:
if i want to know all the functions provided by a package,
what is command for that?
in another word,
Is there a command to list all the commands available in a packege?
thanks a lot,
yan
2006 Oct 12
1
.RData and UNIX
Hi,
I have been using R under Windows but have started to use R (ver. 2.3.0,)
under Linux (linux-gnu).
I have been saving my workspace and I notice that I sometimes end up with 2
version of the .RData file:
.RData and .Rdata. Can someone explain what is happening? I am not sure
which one is loaded so I have ended up losing data by deleting the wrong
file. I think the saved file should be
2005 Sep 13
3
Collineariy Diagnostics
Hi, and thanks for your help
in order to do collinearity analysis I downloaded the perturb package. I run
a lm (regression) and on that the ??calldiag?? commad to get condition numbers
but i get the following message: the variable XY with modus ??numeric?? was
not found (it does the same with all predictors despite all variables are
numeric and exists).
Can anyone tell me how can I go arround
2010 Dec 19
3
monthly median in a daily dataset
Hello,
I have a multi-year dataset (see below) with date, a data value and a flag
for the data value. I want to find the monthly median for each month in this
dataset and then plot it. If anyone has suggestions they would be greatly
apperciated. It should be noted that there are some dates with no values and
they should be removed.
Thanks
Emily
> print ( str(data$flow$daily) )