Try this also:
TheBigOne[rowSums(!mapply(is.element, TheBigOne, TheLittleOne)) 0,]
On Thu, Jul 29, 2010 at 3:38 PM, BaKaLeGuM bakale...@gmail.com wrote:
Hi everybody !
little question.
I have 2 dataset
TheLittleOne-data.frame(cbind(c(2,3),c(2,3)))
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Ralf B
Sent: Thursday, July 29, 2010 10:27 AM
To: r-help@r-project.org
Subject: Re: [R] Reset R environment through R command
With environment I actually meant workspace.
Hi All,
I have a dataset that I would like to split based on : or – ( the data file
is tab delimited) for example:
Ny:23-45AC
BA:88-91DB
KJ:21-13PA
And I would like the data to be splitted and the final results look like
NY 23 45 AC
BA 88 91
Hi John,
yes, you are right. Here is what I have done:
plot(DateJonEnd1, End1Jon,
main=Weekly Training at Endurance 1, xlim=c(13700,14750), xlab=Date,
ylim=c(0,350), ylab=Volume at Endurance 1, type=b, las=1)
Where DateJonEnd1 is the date of weekly Training, classified as date and in
the
I am having some difficulties to locate the standard error from GEE output.
---sample output using list (geemodel)
Link: Identity
Variance to Mean Relation: Gaussian
Correlation Structure: Exchangeable
Call:
gee(formula = days.sick1 ~
Try this:
# Lines - readLines('your_file')
Lines - Ny:23-45AC
BA:88-91DB
KJ:21-13PA
DF - read.table(textConnection(gsub([-:], \t, Lines)))
closeAllConnections()
On Thu, Jul 29, 2010 at 2:34 PM, kayj kjaj...@yahoo.com wrote:
Hi All,
I have a dataset that I would
strsplit(s, split=:)
anyhoo
?strsplit
should get you started
On Thu, Jul 29, 2010 at 1:34 PM, kayj kjaj...@yahoo.com wrote:
Hi All,
I have a dataset that I would like to split based on : or – ( the data file
is tab delimited) for example:
Ny:23-45 AC
BA:88-91 DB
KJ:21-13
Hi R experts,
I have the following timeseries data:
#example data structure
a - c(NA,1,NA,5,NA,NA,NA,10,NA,NA)
c - c(1:10)
df - data.frame(timestamp=a, sequence=c)
print(df)
where i would like to linearly interpolate between the points 1,5, and
10 in 'timestamp'. Original timestamps should not
Well, here's one way that might work (explanation below):
The ideas is to turn each row into a character vector and then work with the
two character vectors.
bigs - do.call(paste,TheBigOne)
ix - which(bigs %in% setdiff(bigs,do.call(paste,TheLittleOne)))
TheBigOne[ix,]
However, this may
Tena koe
What do you want to control? You can govern the format used in R using the
appropriate R functions. I doubt it would be useful to have dates read from
Excel depend on the format set for displaying those dates in Excel.
HTH
Peter Alspach
-Original Message-
From:
Dear R People:
Hello again. I'm trying to have 3 graphics windows visible
simultaneously. I set up a zoo series.
Then I plot the original series. I use the locator function to select
2 values from the original series, which generates a subset of the
original series.
Next, I plot the subset.
On Thu, 29 Jul 2010, kayj wrote:
Hi All,
I have a dataset that I would like to split based on : or – ( the data file
is tab delimited) for example:
Ny:23-45AC
BA:88-91DB
KJ:21-13PA
And I would like the data to be splitted and the final results look like
NY 23
Dear R Colleagues,
When I run ls() on an R object given to me by a colleague, one of the
objects is shown literally as:
females[\dp\]
I can neither look into it nor can I get rid of it (rm(major[\dp\]).
Ideas or solutions?
Thanks,
Larry
[[alternative HTML version deleted]]
I am learning R, and instead of learning by rote, I am trying to better
understand the language in order to improve my programming. So any
meta-information on why the following code works would be greatly
appreciated...
I obtained this code to extract the first record from each of a series of
I tried
\usepackage[cp1252]{inputenc}
and it works well, giving cursive directional quotes in the final
document. Thank you Brian.
I didn't find package ae on the Auckland CRAN mirror so I wonder if it
is a LaTeX package. In any case I am happy now!
Cheers, Murray
Prof Brian Ripley
Hi there,
You forgot to give us some detail, but here is my guess:
install.packages('gee')
require(gee)
# fitting the model as in the help file under ?gee
data(warpbreaks)
fit - gee(breaks ~ tension, id = wool, data = warpbreaks, corstr =
exchangeable)
# extracting what you need
Your colleagues was careless with back quotes. See
?'`'
for a discussion of non-syntactic names. This next transcript shows how to
use the
back quote to create and then remove an object with a non-symantic name.
?which
?'`'
`females[\dp\]` - 123
ls(pat=fe)
[1] females[\dp\]
On Thu, Jul 29, 2010 at 5:16 PM, Ralf B ralf.bie...@gmail.com wrote:
Hi R experts,
I have the following timeseries data:
#example data structure
a - c(NA,1,NA,5,NA,NA,NA,10,NA,NA)
c - c(1:10)
df - data.frame(timestamp=a, sequence=c)
print(df)
where i would like to linearly interpolate
On 29/07/2010 6:18 PM, chipmaney wrote:
I am learning R, and instead of learning by rote, I am trying to better
understand the language in order to improve my programming. So any
meta-information on why the following code works would be greatly
appreciated...
I obtained this code to extract the
R is a program for doing statistics, not for playing videos. I recommend you
try something else.
Jonathan
On Thu, Jul 29, 2010 at 10:43 AM, Velappan Periasamy veepsi...@gmail.comwrote:
Pls tell me how to run this video in R
http://nptel.iitm.ac.in/video.php?courseId=1083p=4
Dear R People:
Is there an R equivalent command for selecting the Tile Vertically
option from the Windows toolbar, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodg...@gmail.com
On 29/07/2010 8:24 PM, Erin Hodgess wrote:
Dear R People:
Is there an R equivalent command for selecting the Tile Vertically
option from the Windows toolbar, please?
See ?arrangeWindows, but it's only in Windows, not other platforms.
Duncan Murdoch
[Env: Win XP Pro / R 2.11.1]
I keep occasionally running into the annoying problem of getting
warnings from R CMD check regarding
non ASCII characters in .Rd files, without any easy way of finding them.
Mostly these come from copy/paste of references or other material from
web pages or Win
Does function
showNonASCII(x)
in package tools do what you need?
Steven McKinney
Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On
I've got a couple questions related to my search (in vain) for an R tshirt
or coffee mug. The first question is simply: is there a higher-resolution
R logo available than the one at r-developer.org? (or the modified one
provided by useR conference pages)
Next: what are the
Hi
On 27/07/2010 2:51 a.m., Sebastian Weber wrote:
Hi!
I am troubled by Sweave which I want to use in order to plot graphics which
I build up successively by the use of grid.layout. Here is the code:
fig=TRUE,label=evolDist,height=6in,width=3in,pdf=FALSE=
Is the problem just that you have
On Sat, 24 Jul 2010 17:03:44 -0400, Abdi, Abdulhakim wrote:
I was wondering if anyone knows of a method (or if it's possible) to use R in
interpolating Landsat ETM+ data gaps?
I suggest using NASA's free software to fix your scenes:
I have to deal with data frames that contain multiple entries of the
same (based on an identifying collumn 'id'). The second collumn is
mostly corresponding to the the id collumn which means that double
entries can be eliminated with ?unique.
a - unique(data.frame(timestamp=c(3,3,3,5,8),
Hi Ralf,
Perhaps the following is what you are looking for:
d - data.frame(timestamp=c(3,3,3,5,8), mylabel=c(a,a,a,b,c))
d
d[!duplicated(d$timestamp),]
HTH,
Jorge
On Fri, Jul 30, 2010 at 12:18 AM, Ralf B wrote:
I have to deal with data frames that contain multiple entries of the
same
Hi jannis,
Thanks for replying
I will try to make my question more clear. Actually I have many Hourly time
series and I want to automatically detect whether seasonality is present in
this series or not.If Yes, Then I need to find the period after which the
seasonal pattern repeats. For this
I am so thankful to Jannis and David for answering. Surely, it did work and I
am thankful to you all.
--
View this message in context:
http://r.789695.n4.nabble.com/Accessing-single-element-of-data-frame-tp2302770p2307563.html
Sent from the R help mailing list archive at Nabble.com.
Hi. i have one question. is there any command to use a Chebyshev in R. i need
them to fit the data and get a Chebyshev polynomial.
thank you.
I just need the command to fit.
HI
[[alternative HTML version deleted]]
1)
dmatrix1-function(n,p,rho,sigma,k){
muvec1=zeros(1,p)
truep-as.matrix(c(3,1.5,0,0,2,0,0,0))
A=eye(p)
for(i in 1:p){
for(j in 1:p){
A[i,j]=rho^(abs(i-j))
X=mvrnorm(n,muvec1,A)
y=X%*%truep+as.matrix(rnorm(n,0,sigma))
Y=X[1:k,]
w=y[1:k]
Z=X[(k+1):n,]
Hello Everyone,
Below is some SAS code that uses a line hold specifier to read multiple
observations from each of several input lines of data. There are 3 patients per
line in the in-stream data.
Is there a way in R to read this kind of data? I've looked in my books and
online but haven't
Hi
r-help-boun...@r-project.org napsal dne 29.07.2010 18:50:20:
Dear R People:
I'm using the locator() function on a chart and I select two values.
Is there a way already in place to connect the two values with a line
segment, please?
I did this some time ago and put it to simple
101 - 135 of 135 matches
Mail list logo