Displaying 20 results from an estimated 5000 matches similar to: "subset error message"
2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all,
I'm building a plot of the values in tmeant (below) against positions 1 to
5, using matplot.
tmeant looks like this:
case1 case2
pos1 861.8466 818.5909
pos2 961.2841 976.3466
pos3 878.6080 1262.8523
pos4 950.8011 1129.6080
pos5 968.1080 1063.3920
I also have lower (object tl) and upper (object tu) bounds on the
confidence intervals as follows:
tl:
pos1
2001 Dec 21
0
read.table and as.vector (Was error message: "Error in model.frame")
Hi all,
I figured out some things about an earlier question I posted today; this
is a new question:
I have a for-loop in which I have the following lines
for (i in list.files(pattern = "*.dmp")) {
currentfile <- read.table(i)
vecrawrts <- as.vector(currentfile$V3)
...
}
Now, vecrawrts is numeric, but if I run the script on all the files with
extension .dmp, I get the
2001 Nov 17
1
xyplot link missing
Hi,
I am trying to install the nlme package, but during installation I get
the message
<snip>
pdSymm text html latex example
plot.ACF text html latex example
missing link(s): xyplot
plot.Variogram text html latex example
missing link(s): xyplot
plot.augPred
2001 Dec 20
0
error message: "Error in model.frame"
Hi all,
All the files related to the question below are in
http://ling.ohio-state.edu/~vasishth/TempRdir/
I've been using a script (called newresiduals.R, the code is in the above
directory; I wanted to avoid cluttering up this message) that is run in
the following manner at the command prompt:
R --vanilla "wordlen-2-01-g1" < newresiduals.R
What it does is: it goes through a
2001 Nov 29
2
animations?
Is there a method for creating "animations" using R. Or is there another
piece of software (unix perferrably) that can generate a "movie" from many
ps/eps/gif/jpg files?
Thanks,
Jeff.
Jeff D. Hamann
Hamann, Donald and Associates
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann at hamanndonald.com
www.hamanndonald.com
2006 Nov 05
1
lme4 install error
Dear all,
I'm trying to install lme4 (after having installed R 2.4.0 from source, and
having installed the latest Matrix package). lme4 fails with the following
message:
pedigree.o definition of _lme4_xSym in section (__DATA,__common)
pedigree.o definition of _lme4_ySym in section (__DATA,__common)
make: *** [lme4.so] Error 1
ERROR: compilation failed for package 'lme4'
** Removing
2001 Nov 30
4
Script editor for R on Linux
Hi all,
Could you point me to a script editor in Linux that will allow me to a
somewhat easy pasting of section(s) of an R script or function into
R for execution? Something like WinEdt+RWinEdt macro in R for
Windows?
(My time is a bit pressed. I haven't succeeded in my attempts to
install ESS for XEmacs. No doubt due to my confusion and lack of
competence. I am abandoning it for the
2003 Jun 28
2
Truncating y axis
Hi folks,
I want to have a y-axis using matplot where the y axis is truncated as
shown schematically below:
(msecs)
3000 | x
~
~
800 | x
|
| x
|
----|----|----|-----------------
1 2 3
Position
The ~ is supposed to stand for a curved line showing a break. The issue is
that I want to plot the points shown by the
2002 Jul 25
3
Barplot coloring question
Hi all,
I have the following dataset, call it test.data (30 columns, and one row
named "0"):
ADVP ADVP AP AP CONJ CONJ CP CP DU DU INF INF MWU
MWU NP NP PP PP PPRT PPRT REL REL SMN SMN SSB SSB SV1
SV1 TI TI
0 96.85 2.05 89.07 2.54 70.91 2.37 94.92 3.46 82.31 11.33 40.96 2.25 98.06
3.43 90.77 17.63 86.60 10.78 60.27 1.32 93.27 0.97 77.60
2002 Jan 12
1
Question about mixed-effects models example (Pinheiro and Bates)
Hi all,
I'm trying to figure out the example about mixed models in the Pinheiro
and Bates book (Mixed-Effects Models in S and S-Plus, 2000, pp. 135-137).
One thing I don't understand is:
When I run the command
fm1Orth.lm <- lm( distance ~ age, Orthodont )
followed by
fm2Orth.lm <- update( fm1Orth.lm, formula = distance ~ Sex*age )
and then do
summary(fm2Orth.lm)
2001 Nov 09
1
Re-sent to correct list: passing parameters
Hi,
My apologies for sending this message earlier to the wrong list (next
time I'll wait till I'm fully awake).
I'm a new R user. I want to do the following:
I want to pass a filename to R repeatedly (about 400 times) in order to
do a repetitive task (calculating regressions).
The way I'm setting it up is to write a bash script that will create an
R source file on the fly for
2009 May 26
2
Problem accessing "row number" from subset on a dataframe
I would like to use the "row number" information returned from performing a subset command on a dataframe.
For example, I would like to automatically delete some rows from a dataframe if they match a criteria. Here is my example below.
data(airquality)
names(airquality)
subset(airquality, airquality$Month == 6)
Now how do I delete the row numbers returned automatically?
I
2008 Apr 07
0
Published or in-press work using nlme or lme4
Dear R users,
Many of you are aware of the statistical package lme4 used in R for carrying
out mixed-effects modeling. The lme4 R-Forge website [
https://r-forge.r-project.org/projects/lme4/] is going to maintain a list of
all dissertations and articles (accepted for publication, in press, or
published) that use lme4 or its precursor, nlme.
It would be helpful if members of this list could
2004 Dec 26
2
Prosodic/phonetic analysis with R
Hi Folks,
I'm interested in looking (in a beginner's amateurish way)
at prosodic/phonetic analysis of recorded speech.
In particular I would want to use R to formulate and
evaluate specific models.
So I would like to ask R people for their recommendations
for a program which would
a) Take as input a sound file in one of the common formats
(".wav", ".au")
b)
2009 Apr 14
2
Subset function: selecting variables within a factor
Hi all
I know this must be an easy one so sorry for the trouble. I would like
to select a list of variables within a factor
The following example is given in help for subset:
subset(airquality, Temp > 80 select = c(Ozone, Temp))
So how do I select all temperatures of 90 and 80 ie Temp = c(80,90)
I would appreciate your help.
Kind regards
andy
Andrew McFadden MVS BVSc
Incursion
2007 Apr 01
1
Non-unique column names in data frames
Dear r-devel members,
It's just been brought to my attention that R permits non-unique column
names in data frames -- e.g., via assignment to names() or colnames(). This
behaviour is consistent with the help files (as I discovered), but it's not
consistent with the behaviour of rownames() and row.names(). For example,
row.names(airquality) <- rep("a", nrow(airquality))
2009 Jul 31
2
how use the subset?
hi ,everyone
I want subtract some dataset by subset.
>From the help running help(subset), ths information is "*subset(airquality,
Day == 1, select = -Temp)* "
while I running my script written as "*g1data<-subset(errdata, fac>12) *"
,it is wrong with the error information "*subset.default(newerrdata,
fac>12),can not find fac*"
and g1 in read
2009 Aug 04
5
Stacked plots with common x-axis and different y-axis
Is there a place that shows how to create two plots that are stacked on top of each other where they share a common x-axis scale, but have differnt y-axis scale?
Say have the following data: airquality
Stack plot(airquality$Day, airquality$Wind) on top of plot(airquality$Day, airquality$Temp).
I am interested in stacking the two on top of each other with no seam, or plotting the two lines with
2012 Feb 23
1
Sexpr not getting expanded in Sweave
An Sweave file, 'test.Rnw':
\documentclass{article}
\title{Sweave minimal}
\author{MK}
\begin{document}
\maketitle
We try Sweave:
<<1>>=
data(airquality)
summary(airquality)
x <- airquality[1, 1]
@
I try Sexpr: \Sexpr{x}
We plot:
\begin{center}
<<2, fig=TRUE, echo=FALSE >>=
boxplot(Ozone ~ Month, data = airquality)
@
\end{center}
\end{document}
I check the
2013 Jul 23
1
cbind error with check.names
Here is an example where?cbind?fails with an error when?check.names=TRUE?is set.
data(airquality)
airQualityBind =cbind(airquality,airquality,check.names =TRUE)
?I understand that?cbind?is a call to?data.frame?and the following works:
airQualityBind =data.frame(airquality,airquality,check.names =TRUE)
but I would like to understand why?cbind?throws an error.
I asked this question on SO here: