Displaying 20 results from an estimated 2000 matches similar to: "extensive grid docs?"
2003 Nov 06
2
created data doesn't remain when split...
I've been trying to figure out why the following is happening....
I've got some data I'll load in from a file...
rm(list=ls(all=TRUE))
trees <- read.table( "c:/cruisepak/data.txt", header=T)
trees$ct <- 1
And when I create some temp variable, then split the data to perform further
processing, the additional column doesn't maintain the data correctly....
mtrees
2003 Dec 02
3
check WARNING...
I've been developing a package and have been getting the following warning
when running the check command:
* checking S3 generic/method consistency ... WARNING
plot:
function(x, ...)
plot.summaries:
function(trees, sp)
* checking for replacement functions with final arg not named 'value' ... OK
* checking Rd files ... OK
...blah, blah, blah...
* checking examples ... OK
*
2006 Mar 09
0
variable '%s' was fitted with class... in predict.nls()
I've tried to predict the values from a new data.frame using the
nls.predict function and keep getting the error message:
Error in if (sum(wrong) == 1) stop(gettextf("variable '%s' was fitted with
class \"%s\" but class \"%s\" was supplied", :
missing value where TRUE/FALSE needed
I first thought that it was becuase there may have been something
2004 Feb 20
1
Sweave not found from MikTeX?
I've been working on a LaTeX document that contains Sweave code and cannot
get MikTeX to find the Sweave.sty file. I've added the c:\rw1081\share\texmf
path in the MikTeX roots (I've ven added the path in the environment
variables ) but to no avail. Is there a trick to getting Sweave installed
correctly when using MikTeX on Windows XP? Do I need to move/copy the
Sweave.sty file to the
2004 Jan 15
2
plotting predicted values (lines) over data?
I've been trying to plot the predicted values, as a line, over the data for
a simple nonlinear fit with the following commands:
plot( hg ~ ht )
... define some function hg ~ ht + junk ...
... blah, blah, obtain parameter estimates and predicted values, blah...
... then...
lines( sort( $predicted ) ~ sort( ht ) )
which results in a line that isn't smooth (which I knew would happen).
2003 Nov 16
2
prevent conversion to factors in aggregate?
I've been trying to figure out how to prevent a column that is the result of
an aggregate function call so that I can use it in further calculations. For
example, I would like to aggregate the expf for the data.frame by sp
(character) and dbh (double d=rounded to integer) using the command:
> st2 <- aggregate( ntrs$expf, by=list(sp=ntrs$sp,dbh=ntrs$dbh), sum )
> st2$expf <- st2$x
2003 Nov 13
1
creating a "report" table from a set of lists
I've been trying to figure out how to accomplish the following...
I've got a list (returned from a function) and I would like to "cbind()" the
lists together to create a "cross tab" report or simply bind them together
somehow
the function returns a list that looks like the following:
> all$BM
$species
[1] "BM"
$vbar.nobs
[1] 3
$vbar.sum
[1] 54.05435
2005 Mar 30
1
help with plotting a grid on levelplot
I'm trying to plot a grid over a levelplot
print( levelplot( var1.pred~x+y,
data=saw.pred,
aspect=mapasp(saw.pred),
col.regions=terrain.colors(80),
main=main) )
using the data...
> saw.pred
x y var1.pred var1.var sort
1 5 5 3.3761200 256.3363 saw
2 15 5 3.3884142 499.5695 saw
3 25 5 3.5394769
2004 Jan 19
1
another wish?
I've wondered why the digest version of the r-devel emails have the messages
as attachments and the r-help-request have all the messages in one email
(which I like MUCH better). Is it possible to send out the r-devel digest
emails in the same format as the r-help-request digest emails?
please, pretty please?
---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA
2004 Mar 03
1
why is rcmd shlib including files not in the list?
I've been trying to create a shlib file (using mingw instead of the
cygwin -- after reconfiguring my machine, yet again) and I'm getting the
following behaviour that I think is incorrect:
When using rcmd shlib and explicitly listing the files to include in the
build such as:
C:\Sequential\Code>rcmd shlib --output=optflikam flikam.c as47.f as154.f
as197.f
making corrAdaptiveSim.d from
2004 Mar 03
1
why is rcmd shlib including files not in the list?
I've been trying to create a shlib file (using mingw instead of the
cygwin -- after reconfiguring my machine, yet again) and I'm getting the
following behaviour that I think is incorrect:
When using rcmd shlib and explicitly listing the files to include in the
build such as:
C:\Sequential\Code>rcmd shlib --output=optflikam flikam.c as47.f as154.f
as197.f
making corrAdaptiveSim.d from
2004 Jan 20
1
requesting new entry to keywords.db
R-developers:
How do we go about adding keywords to the KEYWORDS and KEYWORDS.db files?
I would like to add "econometrics & Econometrics" to the Statistics
section of the file... Is this something I would have to do through CVS?
Statistics
datagen & Functions for generating data sets
distribution & Probability Distributions and Random Numbers
univar & simple
2004 Jan 20
2
Error: unknown identifier {|} in tabular format {|l|c|c|c|}
I've got a package I would like to send out for testing and have noticed a
"problem" with the \tabular portion of the help "compiler"
the code for inserting vertical lines, in the tabular environment, causes
the build to choke, but not the check command.
C:\>rcmd build --binary -docs=all nlsystemfit
\tabular{|l|c|c|c|}{
\hline
Method \tab Instruments \tab
2004 Feb 18
0
return a list of vectors from C?
I've been working on a shared library that will be called from R. The
functions pass several vectors in and out (residuals, parameters, etc) and I
would like to be able to return a list of objects. I'm familiar with return
single objects (vectors, etc) from a C function, but need a little help for
returning a list of objects.
My code so far looks something like:
/* this function will
2004 Feb 18
0
return a list of vectors from C?
I've been working on a shared library that will be called from R. The
functions pass several vectors in and out (residuals, parameters, etc) and I
would like to be able to return a list of objects. I'm familiar with return
single objects (vectors, etc) from a C function, but need a little help for
returning a list of objects.
My code so far looks something like:
/* this function will
2003 Dec 02
0
names of parameters from nonlinear model?
I've been trying to figure out how to build a list of terms from a nonlinear
model (terms() returns a error). I need to compute and evaluate the partial
derivatives (Jacobian) for each equaiton in a set of equations.
For example:
> eqn <- q ~ s0 + s1 * p + s2 * f + s3 * a
> sv2 <- c(d0=3,d1=4.234,d2=4,s0=-2.123,s1=0.234,s2=2.123,s3=4.234)
> names( sv2 )
[1] "d0"
2003 Nov 18
1
data.frame subset?
Can someone tell me why this is since I can't seem to find an explination in
the docs or FAQ for this.
Since there are no "BM" in the mtrs data.frame, but only in the "parent"
data.frame (trees), I'm assuming the subset data.frame is still associated
with the original. Is that correct and how would I create a completly
separate data.frame since I'll be using by,
2011 Jan 31
1
httpd-access.log parsing and graph construction.
R gurus:
I'm thinking about using R for website traffic analysis but didn't find anything in my web searches specific to R.
If I have the webpages (simple example would contain something like three (3) static pages with a couple of links each) and parse the apache access log file (httpd-access.log), then I can populate the graph representing the website and perform whatever analysis I
2012 Jun 22
1
Vignettes are not being (re)built.
I'm adding a couple of vignettes to an existing package.
When I make a change to the sweave file, and run the check command,
c:\conifers\trunk>R CMD check rconifers
I get the following message(s) in the 00check.log file:
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... WARNING
Package vignette(s) without corresponding PDF:
2004 May 12
1
summary table newbie question
I've got a newbie question and I got a little lost in the "table helps".
I've got a data.frame I would like to summarize as a (and pardon for the
lack of correct vernacular) data collection matrix. My data looks like,
stand siteindex age acres pct.acres
1 232 116 45 8477.3105 0.56159458
2 234 121 25 11120.1530 0.73667441
3 235 132 25