mistakes
(missing parntheses, missing commas, etc.). Typing mistakes are probably the
most common source of failing code.
Regards
Petr
-Original Message-
From: Elaine Kuo [mailto:elaine.kuo...@gmail.com]
Sent: Tuesday, January 08, 2013 2:03 AM
To: PIKAL Petr
Cc: r-help@r-project.org
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of arun
Sent: Tuesday, January 08, 2013 3:30 PM
To: Elaine Kuo
Cc: R help
Subject: Re: [R] error in a abline loop
HI Elaine,
In the data you sent to me, it had 5 levels
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Paolo Donatelli
Sent: Wednesday, January 09, 2013 5:03 PM
To: r-help@r-project.org
Subject: [R] Basic loop programming
Hi all,
newbie question: I am trying to set up a
Hi
No HTML. No highlighting.
if you want some data from object use extraction operator
?[
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of shairul samat
Sent: Friday, January 11, 2013 10:19 AM
To: r-help@r-project.org
Hi
structure of your data frame is not suitable for this task.
library(reshape)
tutu.m-melt(tutu, nam)
table(tutu.m$nam, tutu.m$value)
art deb joy mar seb lio nem tat
da 2 3 1 4 1 1 0 0
fr 2 2 2 3 0 1 1 1
ya 1 2 1 0 0 1 1 0
Hi
with your specific example you can use
remat-function(mat) {
mt-t(mat)
mt-c(mt[1:3], rep(0,6), mt[4:6])
matrix(mt, 2,6, byrow=TRUE)
}
lapply(sample, remat)
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of
Hi
or you can just call factor function after subsetting
newdata[,7] - factor (newdata[,7])
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Ista Zahn
Sent: Wednesday, January 16, 2013 6:36 PM
To: paladini
Cc:
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Mary
Sent: Thursday, January 17, 2013 6:02 PM
To: r-help@r-project.org
Subject: Re: [R] Getting discrete colors on plot
Hi,
This is my first post; I'm new to R but am
Hi
One option are regular expressions but you can also read data with = as
separator.
test-read.table(input_kvpairs.csv, sep=c(=), header=F, stringsAsFactors=F)
#use this function to split and extract numeric parts
extract-function(x) as.numeric(sapply(strsplit(x,,),[,1))
# and apply the
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of condor
Sent: Friday, January 18, 2013 10:17 AM
To: r-help@r-project.org
Subject: Re: [R] plotting from dataframes
So by hand the command would be
par(mfrow=c(1,2))
Dear all
I try to evaluate pictures and find positions, size and amount of dropouts (I
enclose two pictures to play with and a code I used below). You can see that
the first picture is smooth with only few dropouts in entire area. The second
picture has many dropouts and even a scratch, with
[mailto:r-help-bounces@r-
project.org] On Behalf Of PIKAL Petr
Sent: Monday, January 21, 2013 10:01 AM
To: r-help
Subject: [R] picture processing
Dear all
I try to evaluate pictures and find positions, size and amount of
dropouts (I enclose two pictures to play with and a code I used below
-
project.org] On Behalf Of PIKAL Petr
Sent: Monday, January 21, 2013 2:37 PM
To: r-help
Subject: Re: [R] picture processing
I am sorry, pictures did not went through. Using dput is not a way to
go, the output file has over 3 MB. I try to find a suitable way where
to put those pictures (they have about
Hi
Maybe you could use mapply
mapply(c, Part1$dataset,Part2$dataset)
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Alaios
Sent: Tuesday, January 22, 2013 11:26 AM
To: R help
Subject: [R] Concatenate two
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Yuan, Rebecca
Sent: Tuesday, January 22, 2013 4:07 PM
To: R help
Subject: [R] plot two time series with different length and different
starting point in one figure.
Hi
This function adds line to each panel
addLine - function (a = NULL, b = NULL, v = NULL, h = NULL, ..., once = F)
{
tcL - trellis.currentLayout()
k - 0
for (i in 1:nrow(tcL)) for (j in 1:ncol(tcL)) if (tcL[i,
j] 0) {
k - k + 1
trellis.focus(panel, j, i,
about debugging grid graphics by Paul
Murrell.
Regards
Petr
On Tue, Jan 22, 2013 at 11:49 PM, PIKAL Petr petr.pi...@precheza.cz
wrote:
Hi
This function adds line to each panel
addLine - function (a = NULL, b = NULL, v = NULL, h = NULL, ...,
once
= F) {
tcL
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of David Studer
Sent: Friday, January 25, 2013 9:28 AM
To: r-help@r-project.org
Subject: [R] Recoding variables (without recode() )
Hi everybody!
I have a rather simple
Hi
Attachment did not went through. Can you show us result of dput(head(data)) or
output from str(data)?
Anyway I wonder how time can became temperature. R is smart but I do not
believe that during import it somehow gets a local temperature at given time
and put it in your data.
Regards
Petr
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of kevj1980
Sent: Friday, January 25, 2013 11:22 AM
To: r-help@r-project.org
Subject: [R] Help with adding 'dates' string as rownames to matrix
Hi, I need help with two
Hi
or use prop.table
barplot(prop.table(table(stop)))
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Rui Barradas
Sent: Wednesday, January 30, 2013 4:01 PM
To: Naser Jamil
Cc: R help
Subject: Re: [R]
Hi
Maybe others can help you but here is my comment. I already use R for many
years and never used such construction. Objects in global environment shall not
be modified by functions it is a bad practice. Imagine you have some data frame
you prepared and controlled in many steps and use some
Hi
see inline
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of staysafe23
Sent: Friday, February 01, 2013 1:01 AM
To: r-help@r-project.org
Subject: [R] Nested loop and output help
Hello Everyone,
My name is Thomas and I
Hi
The same with me on Windows
Most probably an issue of daylight savings time setting.
Sys.timezone()
[1] CET
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Pascal Oettli
Sent: Friday, February 01, 2013 9:18
Hi
you have something wrong in your R session, works for me.
aa-list(c(1:3), c(4:6))
aa
[[1]]
[1] 1 2 3
[[2]]
[1] 4 5 6
bb-list(3,5)
bb
[[1]]
[1] 3
[[2]]
[1] 5
lapply(aa, setdiff, bb)
[[1]]
[1] 1 2
[[2]]
[1] 4 6
Regards
Petr
-Original Message-
From:
Hi
I do not see any problem with your code. *apply functions are also hidden
cycles and there shall not be substantial improvement in speed.
Why you do not want to use for cycle?
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On
/feb/2013, at 13:31, PIKAL Petr petr.pi...@precheza.cz wrote:
Hi
I do not see any problem with your code. *apply functions are also
hidden cycles and there shall not be substantial improvement in speed.
Why you do not want to use for cycle?
Petr
-Original Message-
From
[mailto:staysaf...@gmail.com]
Sent: Friday, February 01, 2013 10:12 PM
To: PIKAL Petr
Cc: r-help@r-project.org
Subject: RE: [R] Nested loop and output help
Thank you very much Petr,
I believe I have fixed my inquiry to not use floating points in my cycle as you
pointed out and to use the list structure
Hi
I am not sure if it suits your needs but I use this function for identifying
peaks in different spectral data.
peaks - function (series, span = 3, ties.method = first)
{
if ((span - as.integer(span))%%2 != 1)
stop('span' must be odd)
z - embed(series, span)
s - span%/%2
R intro document (chapter 2 and chapter 9).
You probably could find answer yourself quicker then waiting for me to answer
it.
Regards
Petr
From: staysafe23 [mailto:staysaf...@gmail.com]
Sent: Thursday, February 07, 2013 9:09 PM
To: PIKAL Petr
Subject: RE: [R] Nested loop and output help
Hi
Hi
Does not work in some locale environment
strptime(testtime, %Y-%m-%d %I:%M:%S %p)
[1] NA
Sys.getlocale(LC_TIME)
[1] Czech_Czech Republic.1250
Sys.setlocale(LC_TIME, C)
[1] C
strptime(testtime, %Y-%m-%d %I:%M:%S %p)
[1] 2013-01-01 13:00:01
Regards
Petr
-Original Message-
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of e-letter
Sent: Monday, February 11, 2013 2:31 PM
To: r-help@r-project.org
Subject: Re: [R] convert 12 time stamp to 24 hour
Readers,
Have since tried to plot converted
Hi
-Original Message-
From: e-letter [mailto:inp...@gmail.com]
Sent: Monday, February 11, 2013 3:11 PM
To: PIKAL Petr
Cc: r-help@r-project.org
Subject: Re: [R] convert 12 time stamp to 24 hour
On 11/02/2013, PIKAL Petr petr.pi...@precheza.cz wrote:
str(testtimedataset
Hi
Why you do not change date and time to POSIX object? It is simple and saves you
a lot of frustration when merging two data frames.
If you changed lightdata date and time to new column
lightdata$newdate - strptime(paste(lightdata$date, lightdata$time, sep= ),
format = %d/%m/%y %H:%M:%S)
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Craig O'Connell
Sent: Wednesday, February 13, 2013 11:03 PM
To: r-help@r-project.org
Subject: [R] Need Help Plotting Line for multiple linear regression
Hello,
My name
Hi
most probably your dates are not what you expect. Eg. they look like a date but
they are not treated as date. You can check yourself by
str(tabelle)
which will result probably in factor, numeric, factor.
You need to change variables date and date2 into Date class.
?strptime or ?as.Date
Hi
much quicker and better for you is to inspect help pages.
?axis
axis(1, at=1:4, labels=c(letters[1:4]))
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of e-letter
Sent: Thursday, February 14, 2013 11:41 AM
Hi
when I tried your code the labels were positioned at correct positions. Please
send some reproducible example.
Regards
Petr
-Original Message-
From: e-letter [mailto:inp...@gmail.com]
Sent: Thursday, February 14, 2013 11:58 AM
To: PIKAL Petr
Cc: r-help@r-project.org
Subject
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Kategoricus
Sent: Thursday, February 14, 2013 12:25 PM
To: r-help@r-project.org
Subject: Re: [R] Problems plotting and regression w.r.t. date data type
on x axis
Hello
Hi
?merge
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Mat
Sent: Friday, February 15, 2013 10:45 AM
To: r-help@r-project.org
Subject: [R] match a task No. to a few person-IDs
hello together,
i have a
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of e-letter
Sent: Friday, February 15, 2013 11:37 AM
To: Duncan Murdoch
Cc: r-help@r-project.org
Subject: Re: [R] plot custom x axis ticks values
On 15/02/2013, Duncan
Hi
The code gives me some warnings but all seems to be OK. 4 points, dashed red
line and error bars. Did you expect some other line?
maybe issue of version/OS? (unstated)
Petr
sessionInfo()
R Under development (unstable) (2012-10-29 r61044)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
Hi
Hello,
I am new to R and have a couple of questions. My data set contains the
variables Bwt and Hwt, which are bodyweight and heartweight,
respectively, of a group of cats.
With the following code, I am making two plots, both to be viewed in
the same plot window in R:
Hi
?ncol
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of nandita srivastava
Sent: Thursday, February 21, 2013 8:34 AM
To: r-help@r-project.org
Subject: [R] (no subject)
how to sum columns in R?
Dear all
I prepared some image processing routine which depended on package ReadImages.
Basically I imported image to R, changed rgb to grayscale, normalised an image
made some selections and changed to image by imagematrix.
Recently I learned that this package was removed from CRAN and can
#Image-files .
Thanks, I will try.
On Thu, Feb 21, 2013 at 8:26 AM, PIKAL Petr petr.pi...@precheza.cz
wrote:
Dear all
I prepared some image processing routine which depended on package
ReadImages. Basically I imported image to R, changed rgb to
grayscale, normalised an image made some
:36 AM
To: PIKAL Petr
Cc: nandita srivastava; r-help@r-project.org
Subject: Re: [R] (no subject)
Huh? This answer seems to have absolutely no bearing on the question.
cheers,
Rolf Turner
On 02/21/2013 11:26 PM, PIKAL Petr wrote:
Hi
?ncol
Regards
Petr
simple, without direct possibility to
transform from rgb to grayscale and normalisation.
Anyway, I will give it a try.
Petr
From: Greg Snow [mailto:538...@gmail.com]
Sent: Friday, February 22, 2013 6:45 AM
To: PIKAL Petr
Cc: r-help
Subject: Re: [R] package ReadImages
Some possibilities
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Rich Shepard
Sent: Friday, February 22, 2013 11:33 PM
To: r-help@r-project.org
Subject: Re: [R] Controlling Order of Panels in Lattice Trellis Plots
On Fri, 22 Feb 2013,
suggested options.
Regards
Petr
From: Greg Snow [mailto:538...@gmail.com]
Sent: Friday, February 22, 2013 5:54 PM
To: PIKAL Petr
Cc: r-help
Subject: Re: [R] package ReadImages
For some of the fancier transforms it may be easier to use an outside tool such
as Imagemagick which will do a lot
Hi
What language are you comming from?
colnames(ScoutRSM.mat) - paste(X, 1:39, sep=)
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Prew, Paul
Sent: Saturday, February 23, 2013 1:35 AM
To:
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Nicole Ford
Sent: Monday, February 25, 2013 7:57 AM
To: R help
Subject: [R] colors to pie chart.
hello, all.
i am trying something new and am stuck. i typically go
Hi
From: Rasmus Hedegaard [mailto:hedegaard...@hotmail.com]
Sent: Monday, February 25, 2013 2:53 PM
To: PIKAL Petr
Subject: RE: [R] Making the plot window wider and using the predict function
Thank you, Petr - the command
linreg0 - lm(Hwt ~ Bwt, data = maleData)
works perfectly.
Regarding
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Andy Siddaway
Sent: Monday, February 25, 2013 11:24 AM
To: Sarah Goslee
Cc: r-help
Subject: Re: [R] R software installation problem
Dear Sarah,
Thanks for your email.
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Jonas Walter
Sent: Monday, February 25, 2013 2:38 PM
To: r-help@r-project.org
Subject: [R] creating variable that codes for the match/mismatch
between two other variables
Hi
-Original Message-
From: Jonas Walter [mailto:jonas.wal...@student.uni-tuebingen.de]
Sent: Monday, February 25, 2013 4:25 PM
To: PIKAL Petr
Cc: r-help@r-project.org
Subject: RE: [R] creating variable that codes for the match/mismatch
between two other variables
Hi Petr,
oh
Hi
can not resist
Var001 - (NAM=7 NAM=9)*1
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Tasnuva Tabassum
Sent: Tuesday, February 26, 2013 7:03 PM
To: Berend Hasselman
Cc: R help
Subject: Re: [R] Merging
Hi
as far as result of operation is logical vector you can change it to numeric by
simple multyplying by 1 or adding 0. It is treated as 0 when FALSE and 1 when
TRUE.
Regards
Petr
From: Tasnuva Tabassum [mailto:t.tasn...@gmail.com]
Sent: Wednesday, February 27, 2013 10:16 AM
To: PIKAL Petr
Hi
exactly what is
fortune(surgery)
about.
Anyway, you can save yourself a lot headache, if you start using lists for your
objects.
Lists can be used easily in cycles.
for (i in 1:n) {
some.list[i] - some.function(some.other.list[i])
}
and also lapply/sapply functions can be useful
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Benoit Gendreau-Berthiaume
Sent: Friday, March 01, 2013 12:54 AM
To: r-help@r-project.org
Subject: [R] Ploting different values with different colors
Hello I am trying to
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Cesar Terrer
Sent: Friday, March 01, 2013 4:21 AM
To: r-help@r-project.org
Subject: [R] Select first element of each factor and convert to NA
Hi all,
I have a
Hi
Not sure if it solves all possible misbehavior with sensor but
changing all jumps start to NA or 0, summing diferences and adding them to
start can help you to polish your data
x
[1] NA NA 246 251 250 255 5987 5991 5994 5999
xd-diff(x)
xd[xd10]-NA
xd[is.na(xd)]-0
cumsum(xd)
[1] 0
Hi
maybe
index - which(is.na(dataset1$V2))
y - dataset2$V1[index]
plot(y~x)
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of e-letter
Sent: Thursday, March 07, 2013 8:28 AM
To: r-help@r-project.org
Subject:
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of ishi soichi
Sent: Friday, March 08, 2013 10:50 AM
To: r-help
Subject: [R] transpose lists
Can you think of a function that transposes a list like
What shall be the result
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of chris201
Sent: Friday, March 08, 2013 11:23 AM
To: r-help@r-project.org
Subject: [R] Substitute value
Hi,
I have a large data frame and within this there is one column
Hi
Some issues:
1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN packages)
6 try to send reproducible example for others to enable them to test the problem
Hi
some brute force
aggregate(test$Value, list(rep(1:61, each=7)[1:422]), mean)
or
aggregate(test$Value, list(findInterval(1:nrow(test), seq(1,422,by=7)),
test$Data), mean)
gives you aggregated values for each week.
or
lll - split(test, test$Data)
lapply(lll, function(x) aggregate(x,
Hi
I did not see any answer yet but can you explain what you mean by factor
expansion? Something like expand.grid?
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Jose Bustos Melo
Sent: Wednesday, September 12, 2012
Hi
because you need to evaluate it.
print(paste(Trial and ,eval(x[1]), sheet))
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Sri krishna Devarayalu Balanagu
Sent: Tuesday, September 18, 2012 11:41 AM
To:
Hi
before you can use predict you need to do lm(whatever.). If you used
lm(whatever., na.action=na.exclude)
predict will give you results with correctly placed NA values.
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Niklas Fischer
Sent: Thursday, September 20, 2012 11:13 PM
To: r-help@r-project.org
Subject: [R] creating new variable
Dear R-helper
I have a data which is about
To: PIKAL Petr; r-help@r-project.org
Subject: RE: [R] List creation based on matrix
Please see the attached .csv files for further info,
Thanks guys,
Ben Gillespie
Research Postgraduate
School of Geography
University of Leeds
Leeds
LS2 9JT
Tel: +44(0)113 34 33345
Mob: +44(0)770 868
Hi
I suppose you want
diff(v)
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Hermann Norpois
Sent: Monday, September 24, 2012 1:01 PM
To: r-help@r-project.org
Subject: [R] serial subtraction within a vector
Hi
I do not understand your point.
actually
lm(y~x) is the same as lm(y~x+1)
You can specify a model without intercept by
lm(y~x-1)
you can even do
lm(y~log(x))
But log(intercept) does not have sense. You will get an intercept which is a
number and you can consider it
log(intercept)
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of benrgillespie
Sent: Monday, September 24, 2012 1:20 PM
To: r-help@r-project.org
Subject: [R] List creation based on matrix
Hi guys,
It would be great if you could help
Hi
I have no access to Nabble so it is difficult to understand what do you want.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of benrgillespie
Sent: Monday, September 24, 2012 1:47 PM
To: r-help@r-project.org
Subject: [R]
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Raoni Rodrigues
Sent: Tuesday, September 25, 2012 7:22 AM
To: r-help@r-project.org
Subject: [R] Strange data frame behavior
Hello all,
I don't understand a strange
Hi
your data are difficult to read so I make my own
set.seed(111)
sender-sample(letters[1:5], 20, replace=T)
receiver-sample(letters[1:5], 20, replace=T)
xtabs(~sender+receiver)
receiver
sender a b c d e
a 1 1 3 1 0
b 0 1 0 1 1
c 1 3 2 2 0
d 0 1 0 0 1
e 0 0 0 1 0
Hi
thanks for data. Probably others can come with better solution
with
library(reshape)
you can put your data to better form
dat2.m-melt(dat2)
dat1.m-melt(dat1)
merge them
dat-merge(dat1.m, dat2.m, by=Species)
and finally compute required values
select one site
temp-dat[dat[,2]==Site3
: Wednesday, September 26, 2012 6:39 PM
To: PIKAL Petr; r-help@r-project.org
Subject: Re: [R] factor expansion
Thank you PIKAL Petr,
This is used when you have a big data base of a national sample. So, this
factor is a variable that uses the sample in order to obtain information about
all the people
Hi
It seems that it still works.
x-c(3,7,7,3)
y-c(4,4,6,6)
par(bg=pink)
plot(1:10,1:10)
polygon(x, y, border=TRUE, col=0)
version
_
platform i386-pc-mingw32
arch i386
Hi
?merge or ?rbind
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of killerkarthick
Sent: Friday, October 05, 2012 6:39 AM
To: r-help@r-project.org
Subject: [R] How to add a new row in to an existing data set in
Hi
see inline
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of fxen3k
Sent: Friday, October 05, 2012 11:28 AM
To: r-help@r-project.org
Subject: [R] Calculating the mean in one column with empty cells
Hi all,
I recently
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of fxen3k
Sent: Friday, October 05, 2012 3:18 PM
To: r-help@r-project.org
Subject: Re: [R] Calculating the mean in one column with empty cells
I imported the whole dataset
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Skála, Zdeněk (INCOMA GfK)
Sent: Friday, October 05, 2012 3:38 PM
To: r-help@r-project.org
Subject: [R] R: machine for moderately large data
Dear all,
I would like to
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of William Dunlap
Sent: Saturday, October 06, 2012 6:17 PM
To: David Winsemius; fxen3k
Cc: r-help@r-project.org
Subject: Re: [R] Calculating the mean in one column with empty
Hi
homework? No homewok policy here.
You can check e.g. ggplot2 package
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Nethal Jajo
Sent: Monday, October 08, 2012 10:27 AM
To: r-help@R-project.org
Subject: [R]
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of liang@us.pwc.com
Sent: Tuesday, October 09, 2012 2:50 AM
To: r-help@r-project.org
Subject: Re: [R] How to use Lines function to draw the error bars?
one extra question
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Alex van der Spek
Sent: Wednesday, October 10, 2012 2:48 PM
To: r-help@r-project.org
Subject: [R] Summary using by() returns character arrays in a list
I use by() to
: Wednesday, October 10, 2012 4:03 PM
To: PIKAL Petr
Cc: Alex van der Spek; r-help@r-project.org
Subject: RE: [R] Summary using by() returns character arrays in a list
Thank you Petr,
Try this
str(by(iris, iris$Species, summary))
and you will see what is actually returned is a list
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of kallu
Sent: Thursday, October 11, 2012 3:05 PM
To: r-help@r-project.org
Subject: [R] Exporting each row in the table as new table
Dear all,
I am new to R and I am
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Pieter Schoonees
Sent: Friday, October 12, 2012 6:19 PM
To: Vining, Kelly; r-help@r-project.org
Subject: Re: [R] average duplicated rows?
You will have to split() the data
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Gunsalus, Catherine
Sent: Friday, October 12, 2012 8:52 PM
To: r-help@r-project.org
Subject: [R] Error in rowMeans function
Hello,
I am trying to create parcels for a
Hi
snip
While I am generating graphs for the above data I am getting four
graphs in four pages in a pdf with the following programme.
Page1: Only dots (No lines)
Page2: Lines observed
Page3: Lines observed
Page4: Only dots (No lines)
I want to get rid of page 1 and 4 i.e Only dots
To: r-help@r-project.org
Subject: Re: [R] Error in rowMeans function
On 10/15/2012 08:28 AM, PIKAL Petr wrote:
Hi
-Original Message- From: r-help-boun...@r-project.org
[mailto:r-help-bounces@r- project.org] On Behalf Of Gunsalus,
Catherine Sent: Friday, October 12, 2012 8:52 PM
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of David Arnold
Sent: Monday, October 22, 2012 4:26 AM
To: r-help@r-project.org
Subject: [R] Margin annotation
I have this code:
x=seq(80-3*15,80+3*15,length=200);
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of asafwe
Sent: Monday, October 22, 2012 4:02 AM
To: r-help@r-project.org
Subject: [R] Counting duplicates in a dataframe
Hello,
I am looking at a two-way ANOVA dataset,
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of noobmin
Sent: Monday, October 22, 2012 2:28 AM
To: r-help@r-project.org
Subject: [R] How to use tapply with more than one variables grouped
I'm studying alone the R
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of noobmin
Sent: Monday, October 22, 2012 12:31 PM
To: r-help@r-project.org
Subject: Re: [R] How to use tapply with more than one variables grouped
interTable -data.frame
Hi
-Original Message-
From: Bert Gunter [mailto:gunter.ber...@gene.com]
Sent: Monday, October 22, 2012 4:00 PM
To: PIKAL Petr
Cc: noobmin; r-help@r-project.org
Subject: Re: [R] How to use tapply with more than one variables grouped
Inline.
On Mon, Oct 22, 2012 at 6:55 AM
1 - 100 of 1449 matches
Mail list logo