Displaying 20 results from an estimated 2000 matches similar to: "divided scatter plots"
2008 Jan 12
2
Lattice equivalent of par(mfrow = )
Dear r-helpers,
Does anyone have a straightforward example of putting together three
unrelated (expect for a common y-axis) xyplot() figures in what would
be in base graphics a par(mfrow = c(1, 3)) arrangement?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102
2011 Jun 30
1
Error "singular gradient matrix at initial parameter estimates" in nls
Greetings,
I am struggling a bit with a non-linear regression. The problem is
described below with the known values r and D inidcated.
I tried to alter the start values but get always following error
message:
Error in nlsModel(formula, mf, start, wts):
singular gradient matrix at initial parameter estimates
Calls: nls -> switch -> nlsModel
I might be missing something with regard to the
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
Hi all,
I am trying to make tiff files of lattice plots at a resolution greater
than 300 dpi required by a journal (PLoS ONE). I have tried both the tiff
and bitmap functions. tiff keeps panel colors but reduces axes and tick
labels so they are nearly invisible. bitmap maintains correct label size
but only produces greyscale. Regular plots work fine with tiff; the
problem is only with lattice
2005 Mar 01
6
Help : delete at random
Hello
I would like to delete some values at random in a data frame. Does
anyone know how I could do?
With best regards
Caroline
2004 Apr 03
3
Seeking help for outomating regression (over columns) and storing selected output
Hello,
I have spent considerable time trying to figure out that which I am about to describe. This included searching Help, consulting my various R books, and trail and (always) error. I have been assuming I would need to use a loop (looping over columns) but perhaps and apply function would do the trick. I have unsuccessfully tried both.
A scaled down version of my situation is as follows:
2011 Mar 09
1
state.x77 dataset
I tried:
> data(state.x77)
Warning message:
In data(state.x77) : data set 'state.x77' not found
data(iris) seems to work fine, but the other state datasets (which I haven’t every tried before) don’t seem to be available
on my windows 7 running R 2.12.2 installation.
?state brings up the state help page page which suggest the dataset should still be there. In help there still seems to
2009 May 28
3
String replacement in an expression
Dear R-experts,
I need to replace in an expression the character "Cl" by "Cl+beta"
But in the following case:
form<-expression((Cl-(V *ka) ) +(V *Vm *exp(-(Clm/Vm) *t)))
gsub("Cl","(Cl+beta)",as.character(form))
We obtain:
[1] "((Cl+beta) - (V * ka)) + (V * Vm * exp(-((Cl+beta)m/Vm) * t))"
the character "Clm" has been
2008 Jul 09
4
Strptime/ date time classes
Dear all,
I've come across a problem using strptime, can anyone explain what's
going on? I'm using version 2.7.0 on Windows XP.
Thank you
Caroline
First read in a data file using read.table
alldata = read.table(file, header=F, skip=4, colClasses =
c("character","numeric"))
dim(alldata)
[1] 223960 2
# inefficient, safe way of sorting out missing or dodgy
2009 Feb 11
1
2 different colors for 2 groups of lines using xyplot
Hi All,
I am trying to use xyplot to plot several lines in one panel with red
color for a group of lines, say 3 lines and blue color for another
group of lines, say 4. I know this can be easily done using regular
plot function. But i could not figure out how to do this in xyplot.
Any help would be greatly appreciated.
Xuesong
[[alternative HTML version
2018 Jun 07
3
FTS Solr errors using doveadm
Solr 7 returns JSON by default but fts_solr requires XML.
Would be good to have wt=xml added to the query to force it to xml all the time, this would prevent errors if solr has
not had xml set as default for index.
Dovecot 2.2.36
Centos 6
*Doveadm Request:*
doveadm search -u caroline at covermg.com TEXT smith
doveadm(caroline at covermg.com): Error: fts_solr: Invalid XML input at 1:0: not
2011 Aug 03
4
slow computation of functions over large datasets
Hello there,
I’m computing the total value of an order from the price of the order items
using a “for” loop and the “ifelse” function. I do this on a large dataframe
(close to 1m lines). The computation of this function is painfully slow: in
1min only about 90 rows are calculated.
The computation time taken for a given number of rows increases with the
size of the dataset, see the example with
2009 Sep 12
3
how to find maximum for multivariable data
Dear all,
I have a data set as follows:
ID cycle.number cycle.result
1 2525 1 38
2 2525 2 38
3 2525 3 25
4 2525 4 25
5 2525 5 25
6 2525
2003 Jun 26
1
xyplot
I am doing group wise plots by using the following commands; it shows
errors that I do not know how to fix it. Please help.
xyplot(within.2.special.care ~ agecat| mco.cms.ind, neuro, panel =
function(x,y){
+ panel.grid()
+ panel.xyplot(x,y)
+ panel.loess(x,y, span =1)})
Error: couldn't find function "xyplot"
[[alternative HTML version deleted]]
2006 Nov 20
2
To delete rows in a dataframe
Hi everybody,
Does anyone know how to delete certain rows (satisfying a particular
condition) of a data frame in R?
Thanks u,
Shubha
[[alternative HTML version deleted]]
2011 Jun 19
1
Accessor functions in lattice graphics
I know about the current.row, current.column, and panel.number functions that
are useful within panel functions written for lattice. Are there easy ways
to obtain the names of the conditioning variables (those appearing after |)
and their values for the current panel?
Thanks
Frank
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
2007 Dec 17
4
Installation of RGtk2 (PR#10519)
Full_Name: Caroline Keef
Version: 2.6.1
OS: Windows XP
Submission from: (NULL) (195.171.203.131)
I have tried to install the package rggobi which if I'm right requires the
package RGtk2
If I install RGtk2 using the install.packages (I used the UK (Bristol) mirror, I
haven't tried any other mirror) within R and then use library(RGtk2) I get the
following message box
"This
2011 Jan 26
1
text labels in Trellis plot
Dear all,
I need to generate plots in which the points of the plot are replaced
by text labels, such as "dog" and "cat". The usual way of specifying
the plotting symbol with pch works only if the labels are single
characters, as far as I know. So,
plot(runif(3), pch=c("A", "B", "C"))
will work OK, but
plot(runif(3), pch=c("dog",
2017 Jun 22
1
MODISTools Help
1. You should always cc the list unless there is a clear reason not to.
2. You still have failed to follow the posting guide: You say you have
difficulty troubleshooting your code, but you have shown us no code.
You got an error message that seems explicit, but with neither code
nor data, I do not know whether anyone can make sense of it. In any
case, I certainly cannot.
Cheers,
Bert
Bert
2005 Oct 20
4
creating a derived variable in a data frame
Hello,
I have read through the manuals and can't seem to find an answer.
I have a categorical, character variable that has hundreds of values. I want to group the existing values of this variable into a new, derived (categorical) variable by applying conditions to the values in the data.
For example, suppose I have a data frame with variables: date, country, x, y, and z.
x,y,z are
2009 Mar 24
1
Is aggregate() function changing?
Hi R developers and debian users:
Finally I found how to work with aggregate() function
on the last patched version fo R.
I you use this command it fails:
aggregate(state.x77, list(Region = state.region), mean)
But if you modify it in this way, it works!:
aggregate(state.x77, list(Region = state.region), function(x) mean(x) )
Is it necesary to change the example?
What is changing in