I need to use the scales
argument, but I don't fully understand the description there, about
how to treat the x and y axes differently.
I'd much appreciate any help. Please reply directly, as I don't
subscribe to the list.
Thank you.
David Parkhurst
___
How can I get lattice plots (with xyplot, etc.) to be produced in black
and white, rather than in color? I’m using R 2.0.1 under windows XP.
(I'm not subscribed to the list, so would appreciate direct replies.)
Thanks for any help.
David Park
iewed
one at a time. Is there any way to do the equivalent in R? (Using splom
from lattice makes the graphs too small.)
Thanks for any help. (I am not subscribed to the news mailing list, so I
would appreciate direct replies.)
David Parkhurst
__
R-help@
I'm using R 2.0.1 in windows XP (and am not currently subscribed to this
mailing list).
I have a USGS dataset, a text file with fixed width fields, that includes
dates as 6-digit integers in the form yrmoda. I could either read them that
way, or with yr, mo, and da as separate integers. In ei
I asked why my call to identify wasn’t working. Thanks to Petr Pikal,
Tom Mulholland, Gavin Simpson, and Duncan Murdoch for explaining that I
had misinterpreted the ?identify help page, and that I needed to feed
both the x and y vectors in the plot to identify(). It’s working fine
for me now.
I can't get identify to work, using R 2.0.1 under windows xp pro,
service pack 2. Here's what I enter, and the result:
> plot((our.frame2$c1),(our.frame2$c9)) # Produces desired plot
> identify(our.frame2$c1) # Plot comes to forefront, so I select a point
warning: no point with 0.25 inches
nume
o ask the folks
who installed the program on the server I use in classes to set it
(assuming that can be done)?
Thanks for any help.
David Parkhurst
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
I'm using R 1.8.0 under windows XP. I can't get certain of the graphics devices set
up. For example, when I copy this line directly from the "postscript" help screen, I
get the error messages that follow it:
> postscript("foo.ps")
Error in PS(file, old$paper, old$family, old$encoding, old$bg,
In trying to execute this line in R (Version 1.7.1 (2003-06-16), under
windows XP pro), with the randomForest library (about two weeks old) loaded,
the program crashed:
bost4rf <- rfImpute(TargetDensity~.,data=bost4rf0)
Specifically, an XP dialog box popped up, saying “R for windows GUI
front-en
After entering “library(rpart)”, I tried to plot an existing rpart tree, and
got this error message: Error: couldn't find function "plot.rpart".
However, “?plot.rpart” does bring up the help for the function. The same
things occur for text.rpart, although print(my.tree) does work.
So, I tried to
R Version 1.7.0, under windows XP pro
The help page for update.packages says that {
`download.packages' takes a list of package names and a
destination directory, downloads the newest versions of the
package sources and saves them in `destdir'. If the list of
available packages is not given as ar
A few days ago I asked whether there were options other than
na.action=na.fail for the R port of Breiman’s randomForest; the function’s
help page did not say anything about other options.
I have since discovered that a pdf document called “The randomForest
Package” and made available by Andy Lia
The help page for randomForest shows na.action=na.fail as a parameter, and
does not describe other possibilities for na.action.
I have a regression problem, with about 1000 rows in my data frame, and with
an NA in occasional predictor variables, in about 5% of rows. I would like
to have all rows
I asked why length(byyr$cnd95[byyr$cnd95=="tr"]) was counting NA's as well as "tr"s.
Thanks to Brian Ripley, Uwe Ligges, Ott Toomet, Marc Schwartz, and Thomas Lumley for
their help.
Two solutions were to replace my call with
length[byyr$cnd95 %in% "tr"] or with sum(byyr$cnd95 == "tr", na.rm=TRUE)
With the problem below, I've discoved that
n95trt<-length(byyr$cnd95[byyr$cnd95=="tr"&!is.na(byyr$cnd95)])
does give me the correct count for the number of "tr" entries. (The same behavior
occurs for the "c" level of the cnd95 factor.) It appears that
byyr$cnd95=="tr"
is finding both "tr" AND NA
I'm having a weird problem with length(), in R1.6.1 under windows2000. I have a
dataframe called byyr, with ten columns, the first of which is named cnd95.
summary(byyr) shows that byyr$cnd95 contains the factor level "tr" 66 times. Also,
when I enter byyr$cnd95 at the command line, I can count 6
I've looked every way I can think of for help on trellis.datasets, but nothing comes
up for me. Please help me find information on what is included, and how to get at
those data. Thanks.
Dave Parkhurst
__
[EMAIL PROTECTED] mailing list
http://www.stat
I use read.table(file="clipboard",...) a lot in s-plus (under windows 2000), but it
does not seem to work in R (and is not in the help screen for read.table). Am I
missing something? Would this ability be hard to add?
Thanks.
Dave Parkhurst
__
[EMAI
How can I get at the estimated parameter values from a non-linear model fitted by
nls in R, so as to plot the fitted curve? If I have
f.t <- nls(f~a*exp(b*t), ...)
then type names(f.t), all that shows up is m for model, data, and call. I don't see
how to get at a and b, other than to print them.
19 matches
Mail list logo