> so I want to measure how strong the exclusiveness between two specific
> > mutation types across those patients with at least one mutation type.
>
> >
>
> > Then put the pair of mutations with strong negative mutations on the top
> > rows by order of negative mutat
O'Keefe ; r-help@r-project.org
Subject: Re: [R] please help generate a square correlation matrix
Your expanded explanation helps clarify your intent. Herewith some comments. Of
course, feel free to ignore and not respond. And, as always, my apologies if I
have failed to comprehend your intent.
gative correlated mutations,
> the drug treatment for cancer patients is usually only for those patients
> carrying the specific mutation,
>
> then it is informative to know how strong the negative correlation when
> considering different combination of treatment strategies.
>
>
>
mutation,
then it is informative to know how strong the negative correlation when
considering different combination of treatment strategies.
Ding
From: R-help On Behalf Of Richard O'Keefe
Sent: Saturday, July 27, 2024 4:47 AM
To: Bert Gunter
Cc: r-help@r-project.org
Subject: Re: [R] please
;-gene22mut.coded
> > > > r <- P <- matrix(NA, nrow = 22L, ncol = 22L,
> > > > dimnames = list(names(dat), names(dat)))
> > > >
> > > > for(i in 1:22) {
> > > >#i=1
> > > >x <- dat[[i]]
t: Thursday, July 25, 2024 11:26 AM
> > > To: Rui Barradas ; r-help@r-project.org
> > > Subject: Re: [R] please help generate a square correlation matrix
> > >
> > > HI Rui, Thank you for the help! You did not remove a row if zero values
> > > exist in bot
tem2[,2])
> >r[i, j] <- tmp3$estimate
> > P[i, j] <- tmp3$p.value
> > }
> >}
> > }
> > r<-as.data.frame(r)
> > P<-as.data.frame(P)
> >
> > From: R-help On Behalf Of Yuan Chun Ding via
> > R-help
>
5, 2024 11:26 AM
To: Rui Barradas ; r-help@r-project.org
Subject: Re: [R] please help generate a square correlation matrix
HI Rui, Thank you for the help! You did not remove a row if zero values exist in both
column pair, right? Ding From: Rui Barradas Sent: Thursday,
July 25, 2024 11: 15 AM To: Yua
.test(tem2[,1],tem2[,2])
r[i, j] <- tmp3$estimate
P[i, j] <- tmp3$p.value
}
}
}
r<-as.data.frame(r)
P<-as.data.frame(P)
From: R-help On Behalf Of Yuan Chun Ding via
R-help
Sent: Thursday, July 25, 2024 11:26 AM
To: Rui Barradas ; r-help@r-project.org
Subject: Re: [
HI Rui,
Thank you for the help!
You did not remove a row if zero values exist in both column pair, right?
Ding
From: Rui Barradas
Sent: Thursday, July 25, 2024 11:15 AM
To: Yuan Chun Ding ; r-help@r-project.org
Subject: Re: [R] please help generate a square correlation matrix
Às 17: 39 de
Às 17:39 de 25/07/2024, Yuan Chun Ding via R-help escreveu:
Hi R users,
I generated a square correlation matrix for the dat dataframe below;
dat<-data.frame(g1=c(1,0,0,1,1,1,0,0,0),
g2=c(0,1,0,1,0,1,1,0,0),
g3=c(1,1,0,0,0,1,0,0,0),
g4=c(0,1,0,1,
В Tue, 14 Mar 2023 02:03:29 +0200
Guy Kelman пишет:
> A while ago I tried to bundle packages for offline installations. For
> this I created a script that would access
> ftp://cran.r-project.org/pub/R/src/contrib/ for each package in a
> loop.
Next time, follow the instructions at
https://cran.r
On Fri, 5 Nov 2021 12:29:21 +0530
Shrinivas Dharma wrote:
> I am trying to run the following double loop which I have written
> but it is not running.
Thanks for providing the code, but it's much easier to help you if you
provide the data, too. Use dput(head(...)) to make it easy for us to
copy
: Re: [R] please help with "could not find function "ComBat.mc" "
Hi Yuan,
The package named "Enmix" is maintained on Bioconductor. It seems to be
specific to particular lab equipment and so all I can advise is:
1) Try your question on the Bioconductor help list
2) I
Hi Yuan,
The package named "Enmix" is maintained on Bioconductor. It seems to be
specific to particular lab equipment and so all I can advise is:
1) Try your question on the Bioconductor help list
2) If no help there contact Zongli Xu (the maintainer)
Jim
On Thu, Nov 12, 2020 at 11:40 AM Yuan Ch
As a C implementation of merge sort, that is the very reverse of impressive.
I would not translate *that* code into anything.
There is a fundamental difference between between arrays in C and arrays in R,
and it is the same as the difference between Python and R.
You are MUCH better to start from
The obvious question is "why?"
If you just want to sort stuff, ?sort and ?order tell you about the
sorting methods available in R.
If you want to translate this specific algorithm into R for some reason,
(a) if you don't know enough about array processing in R to do this yourself,
how are you
And similar to my response to the C++ question you posted, it is
possible to incorporate Python code into R programs using the
reticulate package.
On Sun, Dec 15, 2019 at 5:58 AM Boris Steipe wrote:
>
> See my response to the C++ question you posted a minute later.
>
> B.
>
>
>
>
> > On 2019-12-1
It is fairly easy to incorporate C++ code into R programs using the
Rcpp package.
Definitely worth the effort to learn how to do this.
On Sun, Dec 15, 2019 at 5:48 AM Boris Steipe wrote:
>
> See this thread why that's a bad idea ...
> https://stackoverflow.com/questions/26080716/merge-sort-in-r
See my response to the C++ question you posted a minute later.
B.
> On 2019-12-15, at 05:35, Александр Дубровский wrote:
>
> # Iterative Merge sort (Bottom Up)
>
> # Iterative mergesort function to
> # sort arr[0...n-1]
> def mergeSort(a):
>
>current_size = 1
>
># Outer loop for t
See this thread why that's a bad idea ...
https://stackoverflow.com/questions/26080716/merge-sort-in-r
... and use the code given there, or give us some context why a literal
translation would be important to you.
Cheers,
Boris
> On 2019-12-15, at 05:37, Александр Дубровский wrote:
>
> /*
Hello Rui, yes, I thought of that and rebooted RStudio and only loaded the
specific pkgs for this project and that fixed that issue.
Thank you Rui!
WHP
From: Rui Barradas
Sent: Wednesday, June 12, 2019 3:01 PM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Please help
quot;NULL"
WHP
From: Rui Barradas
Sent: Wednesday, June 12, 2019 2:03 PM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Please help with ggplot error
Hello,
Works with me, as soon as I corrected "Loess" to "loess".
Hope this helps,
Rui Barradas
:
no applicable method for 'margin' applied to an object of class "NULL"
WHP
From: Rui Barradas
Sent: Wednesday, June 12, 2019 2:03 PM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Please help with ggplot error
Hello,
Works with me, as soon as I corre
Oh my, sheesh! Oh my gosh!
UGH!
Thank you Rui!
WHP
From: Rui Barradas
Sent: Wednesday, June 12, 2019 2:03 PM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Please help with ggplot error
Hello,
Works with me, as soon as I corrected "Loess" to "loess&quo
Hello,
Works with me, as soon as I corrected "Loess" to "loess".
Hope this helps,
Rui Barradas
Às 18:56 de 12/06/19, Bill Poling escreveu:
#RStudio Version 1.2.1335
sessionInfo()
#R version 3.6.0 Patched (2019-05-19 r76539)
#Platform: x86_64-w64-mingw32/x64 (64-bit)
#Running under: Windows 1
I don't use coxphf, but it is generally a bad idea to reference variables via
multiple environments (e.g. global and the data= argument in this case)
directly from within a formula. Just use FAM138A.chr wherever you have used
test[,6] and it should work.
--
Sent from my phone. Please excuse my
I am trying to figure out the algorithm you are using to calculate
event_episodes, event_status, and start_minutes.
Where does the 129600 come from?
Why is the start(minutes) 0 for the last row instead of 40?
Mark
R. Mark Sharp, Ph.D.
msh...@txbiomed.org
> On Jul 5, 2017, at 1:03 AM, Sunny
Strictly speaking, this is reliability, not survival, data, since
failed pumps are apparently repaired and put back in service as new.
Also, it is not clear from your data whether there is interval
censoring: is the recorded "event" time (failure) the actual failure
time -- so no censoring -- or th
Mark,
Below is the sampled simulated granular data format for pumps for
trial period of 3 months that I need to transform for survival
analysis:
3 months = (60*24*90) minutes i.e 129600 minutes
pump_id timingsevents vibration temprature flow
pump1 01-07-2017 00:00 0
A small example data set that illustrates your question will be of great value
to those trying to help. This appears to be a transformation that you are
wanting to do (timestamp to units of time) so a data representing what you have
(dput() is handy for this) and one representing what you want t
Thanks Boris and Bret,
I was successful in simulating granular/transactional data.
Now I need some guidance to transform the same data in format acceptable
for survival analysis i.e below format:
pump_id | event_episode_no. | event(0/1) | start | stop | time_to_dropout
The challenge I'm experienc
In principle what you need to do is the following:
- break down the time you wish to simulate into intervals.
- for each interval, and each failure mode, determine the probability of an
event.
Determining the probability is the fun part, where you make your domain
knowledge explicit and i
I think you need to find a local consultant. Someone here might have a
suggestion or two where to look (as I do below), but this list only
provides help on R programming code, not statistical issues (see
programming guide below for details).
You might wish to have a look at the CRAN survival analy
Hi Maryam,
Your labels have been "greeked" as the font is too small to be
displayed properly. If you must use PNG format, specify your image
file at least twice as high.
png("pheatmap.png",width=1254,height=5000)
PDF would be a better choice as you can just zoom in and scroll down.
Jim
On Mon,
> On Oct 3, 2016, at 4:43 AM, maryam moazam wrote:
>
> Hi all,
>
> I'm trying to show about 190 items using "pheatmap" package. I'm working
> with R 3.3.1 on windows 7. I used the following code:
>
> pheatmap(mat_data, cellwidth=20, cluster_rows = FALSE, cluster_cols =
> FALSE, fontsize=5, fon
Thanks for getting back to me. Worked like a charm.
Ken
kmna...@gmail.com
914-450-0816 (tel)
347-730-4813 (fax)
> On Aug 22, 2016, at 11:45 PM, Thomas Mailund wrote:
>
> Hi Ken,
>
> You are trying to install R as a package. That won't work. The .pkg file you
> downloaded from https://cra
Follow up on my previous mail.
See the FAQ for OS X :https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html
Read the section "3.2 Installation of packages". It tells it all.
(reachable from the contents entry "How to install packages").
Berend
> On 23 Aug 2016, at 08:27, Berend Hasselman wro
> On 22 Aug 2016, at 22:17, KMNanus wrote:
>
> I’m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5).
>
> I want to update to 3.3.1 and have downloaded the package, but have not been
> able to install it. I’ve tried install.packages("R-3.3.1.tar.gz”) and
> install.packages("R-
Hi Ken,
You are trying to install R as a package. That won't work. The .pkg file you
downloaded from https://cran.r-project.org/bin/macosx/ is an installer, though,
so if you just double-click on it, it should take you through the installation.
After that you probably need to install a number o
The file may have been stored in the UTF-16 encoding (what Windows Notepad
calls "Unicode"). If so, adding fileEncoding="UTF-16" to the read.table
command might read it correctly.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jul 14, 2016 at 3:49 PM, Christa Rose wrote:
> Can someone pl
Christa,
As others are noting, the file is not a text file.
Open the file in Notebook or Notepad. If the editor complains, then
open it in Word. Save it as a "plain text" file. You will have to
choose the file type in the "Save As" dialog. You may run into other
issues such as the field separ
On 14/07/2016 6:49 PM, Christa Rose wrote:
Can someone please help? The read.table command is not working for me I
think because Windows has my account name stored as "Christa Rose" with a
space in it. Is this a problem? I have tried many syntax iterations, and
cannot get around this.
I don't t
Hi Christa,
The error messages tell you that the file contains NULL characters,
which can cause problems with reading files. You can remove these
characters with a "hex editor". I am not familiar with those used on
Windows, but look at this Web page:
http://alternativeto.net/software/okteta/?platf
ot;, "19:00", "21:00", "23:00", "3:00", "5:00", "7:00", "9:00"
), class = "factor"), Kontrolor = structure(c(6L, 6L, 6L, 6L,
6L, 6L, NA, NA, NA), .Label = c("CLLAB", "KOŠUTKOVÁ", "KOUTNÁ PETRA",
"KOVÁŘO
In line
John Kane
Kingston ON Canada
> -Original Message-
> From: bgunter.4...@gmail.com
> Sent: Mon, 14 Mar 2016 07:45:28 -0700
> To: damjanfaks2...@gmail.com
> Subject: Re: [R] please help
>
> ... also, **if** this is homework, this list has a no homework poli
John Kane
Kingston ON Canada
> -Original Message-
> From: damjanfaks2...@gmail.com
> Sent: Mon, 14 Mar 2016 09:43:45 +0100
> To: r-help@r-project.org
> Subject: [R] please help
>
> Dear all,
>
> with the below 2 files I would like to to the t.test and var.test
>
> but it does not wor
... also, **if** this is homework, this list has a no homework policy.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Mar 14, 2016 at 1:43 AM, Dam
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Damjan /
> Subject: [R] please help
>
> Dear all,
>
> with the below 2 files I would like to to the t.test and var.test
>
> but it does not work.
>
> Can you help me ?
>
Dear Damjan
The posting guide at http://www.R-project.or
Hi
From: Sunny Singha [mailto:sunnysingha.analyt...@gmail.com]
Sent: Monday, March 14, 2016 10:37 AM
To: r-help; PIKAL Petr
Subject: Re: [R] Please help -- Cbind data frames within LIST() in R
Thanks Petr,
I'm going through the link that you have provided. Merge won't be useful in my
Thanks Petr,
I'm going through the link that you have provided. Merge won't be useful in
my case. Let me give the complete picture of what I'm trying to achieve.
I'm extracting data from fb pages. I have the data frame 'pages_df' which
has all the details of the fb pages. 'Page_id' is the importan
Hi
There are several options e.g.
http://stackoverflow.com/questions/6988184/combining-two-data-frames-of-different-lengths
http://stackoverflow.com/questions/7196450/create-a-data-frame-of-unequal-lengths
but maybe you want to do actually merging
see
?merge
Cheers
Petr
> -Original Messa
... But This list has a *no homework* policy, and this sounds like homework.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Sep 7, 2015 at 12:17 PM, John Kane wrote:
> Some suggestions on h
Some suggestions on how to ask a question on the R-help list
John Kane
Kingston ON Canada
> -Original Message-
> From: ghada.f...@gmail.com
> Sent: Mon, 7 Sep 2015 16:57:19 +0300
> To: r-help@r-project.org
> Subject: [R] please help me for my project
>
> Hello dears member
> I have proj
Joseph Mbowe writes:
> Dear R members, I want to call my R script thorough php but no I am not
> getting output
> When I call my r script by bat file works fines also when run by Rstudio it
> works fines
> but when i cant call via php
> here is the php code:
> exec('C:/"Program Files"/R/R-3.2.0/
Hi Ghada,
The value returned by Mclust ("m" in your example) has different
components from say the hierarchical clustering. The second argument
for "cluster.stats" is the cluster IDs of the objects in the initial
set. Perhaps if you call it like this:
cluster.stats(d,m$classification)
I don't hav
This mailing list has a no homework policy (read the Posting Guide, please,
which also requests that you post in plain text format only). If this is not
homework then you will have to be a bit more specific about what you know and
what you don't in order to get useful help. Questions about why y
Use an 3-dimensional array.
?array
And any basic introduction to R.
-
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project
Hi,
replace `lst2` with:
#Subset of data
lst1Sub <- lapply(lst1Not1970,function(x) x[c(1:25, 18707:18708)])
lst2 <- lapply(lst1Sub,function(x) {dateSite <- gsub("(.*G.{3}).*","\\1",x);
dat1 <- data.frame(Year=as.numeric(substr(dateSite,1,4)),
Month=as.numeric(substr(dateSite,5,6)),Day=as.numeri
Thanks AK.
Great job. I appreciate your effort.
Atem.
On Monday, March 31, 2014 11:28 AM, arun wrote:
Hi,
replace `lst2` with:
#Subset of data
lst1Sub <- lapply(lst1Not1970,function(x) x[c(1:25, 18707:18708)])
lst2 <- lapply(lst1Sub,function(x) {dateSite <- gsub("(.*G.{3}).*","\\1",x);
dat1 <
Hi Atem,
Try this:
I created 3 folders (Precip, Tmax, Tmin) within the folder "sample"
#working directory: sample
list.files()
#[1] "Imputation_Daily_Sim01.dat""Imputation_Daily_Sim02.dat"
#[3] "Imputation_Daily_Sim03.dat""Precip"
#[5] "Sim1971-2000_Daily_Sim001.
Hi,
Try either:
Ceramic <- read.table("ceramic.dat",header=TRUE)
Ceramic1 <- Ceramic
Ceramic$indx <- ((seq_len(nrow(Ceramic))-1)%/%60)+1
library(plyr)
DF1 <- data.frame(M=as.vector(t(ddply(Ceramic,.(indx), colwise(mean))[,-1])),
S=as.vector(t(ddply(Ceramic,.(indx),colwise(sd))[,-1])),Rep = 60)
co
There's probably a better way to do it, but here's one way:
require(stringr)
windows()
file_list <- list.files(pattern=".txt")
for (file in file_list)
{
dataset <- read.table(file, header=TRUE, sep="\t")
plot(dataset)
savePlot(filename=str_replace(file,".txt",""),type="png")
Hi,
May be this helps.
list.files()
#[1] "file1.txt" "file2.txt" "file3.txt"
lapply(list.files(),function(x)
{x1<-read.table(x,header=TRUE);x2<-gsub("txt","png",x);png(x2);plot(col2~col1,data=x1,type="l");dev.off()})
A.K.
- Original Message -
From: David Lyon
To: "r-help@r-project.or
After you get that message, use
conflicts()
(and read the help page for the conflicts function)
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 1/23/13 10:04 PM, "Fumie Sugahara" wrote:
>Hi
>
>The message occurred
Hi,
It means that the functions "combn" from the package "utils" is masked
because a function with the same name exists in loaded package "combinat".
You still can access the one from the package "utils" using:
> utils::combn
HTH,
Pascal
Le 24/01/2013 15:04, Fumie Sugahara a écrit :
Hi
Th
t couldn't also be attributed to items
within that condition. So long as this isn't an issue for you, you should be
fine.
Freya
--
Message: 72
Date: Wed, 17 Oct 2012 16:47:08 -0400
From: Ista Zahn
To: Ralitt
Cc: r-help@r-project.org
Subject: Re: [R]
Hi,
On Wed, Oct 17, 2012 at 3:25 PM, Ralitt wrote:
> Hi all,
> I am just starting my first models in R and am having trouble with some of
> the basics.
>
> The main things at the moment are about setting up my data correctly. I
> have a repeated measures design-all participants complete 4 experi
On 12-09-30 2:18 PM, Andras Farkas wrote:
Dear All,
I have reviewed some examples over the net on this issue, but still not getting
the results. I have the following text and code i would like to place into a
pdf with sweave, but I would like to change the margins on the produced
document. T
On 8/23/12 7:37 AM, "David Lyon" wrote:
> Can someone show me some code to do normalization by the median of some
> control genes for the example below?
> Many Many Thanks in advance
>
>
> This strategy selects a subset of genes (called ³control genes²) and makes the
> median of their data distri
HI,
You could try:
limma package: normalizeWithinArrays()
A.K.
- Original Message -
From: David Lyon
To: "r-help@r-project.org"
Cc:
Sent: Thursday, August 23, 2012 8:37 AM
Subject: [R] Please helpnormalization by the median of some control genes
Can someone show me some code to
Hello,
I'm not sure I understand what you want. You want the medians to be
"similar"? Why not equal?
(The code below assumes ids represent genes.)
d <- read.table(text="
id1id2id3
control10.80.70.6
control20.60.20.4
probe10.30.20.5
probe
, after running the script, there is a error I really
unable to understand:
error at data.frame(..., check.names = FALSE) :
parameter value mean different rows 0, 31981
If you can understand what the problem is, please as kind as
offer me a direction.
Many thanks,
;degreesN",as.double(lat))
However, after running the script, there is a error I really unable to
understand:
error at data.frame(..., check.names = FALSE) :
parameter value mean different rows 0, 31981
If you can understand what the problem is, please as kind a
parameter value mean different rows 0, 31981
If you can understand what the problem is, please as kind as offer me a
direction.
Many thanks,
Jun
> Date: Wed, 4 Jul 2012 10:39:29 +0100
> From: kri...@ymail.com
> Subject: Re: [R] Please help
> To: chensh...@hotmai
Many thanks,
Jun
> Date: Wed, 4 Jul 2012 10:39:29 +0100
> From: kri...@ymail.com
> Subject: Re: [R] Please help
> To: chensh...@hotmail.com
> CC: r-help@r-project.org
>
> Hello,
>
> Following lines are wrong:
> > x=dim.def.ncdf("Lon","degrees
Dear Jun
I think you should consider to submit your question to R-SIG (special
interest group) about spatial data
http://r-sig-geo.2731867.n2.nabble.com/
This will improve the probability you get some help.
Cheers
Giuseppe Calamita
-
Giuseppe Calamita
PhD at CNR-IMAA Italian National Co
Hello,
Following lines are wrong:
> x=dim.def.ncdf("Lon","degreesE",140.0251:146.6751)
> y=dim.def.ncdf("Lat","degreesN",(-31.025):(-38.975))
You have 241 longitudes and 160 latitudes.
lon <- seq(from=140.0251, to=146.6751, length.out=241)
lat <- seq(from=-38.975, to=-31.025, length.out=160)
Reg
Hi,
On Fri, Jun 1, 2012 at 12:05 PM, pigpigmeow wrote:
> Thank, it OK now
> but I don't understand what is the meaning of y <- y[!is.na(y[5]),]
> Thank in advance!
This is very basic R syntax. You should definitely read the
Introduction to R, and also
?"["
?"!"
?is.na
Sarah
--
Sarah Goslee
ht
Thank, it OK now
but I don't understand what is the meaning of y <- y[!is.na(y[5]),]
Thank in advance!
--
View this message in context:
http://r.789695.n4.nabble.com/please-help-Extract-the-row-to-the-new-file-by-using-if-statment-tp4631957p4632090.html
Sent from the R help mailing list archive
Not sure whether I understand your data and objectives well enough but here is
what I would do:
To make my life easier, I used x as a variable name. I'm not using attach().
You can extract your data with something like
y <- x[x$wrfta>= 255 | x$wrfta<= 65 & x$wrfrain == 0, ]
y <- y[!is.na(y[5]),]
I don't know if we can figure that out... I would figure out what these
data are, and then read the relevant help files, ?glm, and literature
associated with linear modeling.
HTH,
Stephen
On 05/08/2012 01:15 AM, T Bal wrote:
Hi,
I have a data with the forum
a b c
8.9 0
>From the posting guide of this mailing list: Basic statistics and classroom
>homework: R-help is not intended for these.
Ask your fellow students or your teacher.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitsz
On 02.05.2012 02:55, Ulfa Hasanah wrote:
hi all,can you help me? index moran is very difficut for me, i have data n
neighbor as enclosure:
please help me to make the program for find index moran value each
variabel,...thank very much
Which translates to:
please help me, and note that
- I
arima is one of the largest R functions and not an easy one to
explain, but you can see its source simply by typing arima with no
parentheses at the prompt. To get the C functions that are called,
look here: https://svn.r-project.org/R/trunk/src/library/stats/src/
You might also check the referenc
On Jan 6, 2012, at 6:09 PM, Chris Conner wrote:
I'm trying to understand how to set graphical parameters for trees
created with the party package. For example take the following code:
library(party)
data(airquality)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone
Two problems with your post:
a) you used a format that is not accepted by the mail server and
resulted in all of your linefeeds being removed, so it is now
basically unreadable. As the Posting Guide says, please use plain
text. (And please read the Posting Guide for yourself ... and do it
In the 'inst/scripts' directory of package 'gamair' there are files
containing the R code for each chapter of the book (questionable layout
uncorrected, but typo free, at least!).
Simon
On 21/06/11 16:27, pigpigmeow wrote:
i read a book from WOOD, there's an example which is talking about th
On Tue, Jun 21, 2011 at 9:20 AM, Sarah Goslee wrote:
> Hi,
>
> On Tue, Jun 21, 2011 at 11:27 AM, pigpigmeow wrote:
>> i read a book from WOOD, there's an example which is talking about the
>> pollutant.
Read the text carefully!!!
>>
>> library(gamair)
>> library(mgcv)
>
> data(chicago) # otherw
b<-rep(0,n-11)
for(i in 0:(11-10))
b<-b+a[(i+1):(n-11+i)]
i don't know what does "rep" mean and for-loop!
--
View this message in context:
http://r.789695.n4.nabble.com/please-help-for-mgcv-package-tp3614485p3615861.html
Sent from the R help mailing list archive at Nabble.com.
__
Hi,
On Tue, Jun 21, 2011 at 11:27 AM, pigpigmeow wrote:
> i read a book from WOOD, there's an example which is talking about the
> pollutant.
>
> library(gamair)
> library(mgcv)
data(chicago) # otherwise this isn't reproducible
> y<-gam(death~s(time,bs="cr",k=200)+s(pm10median,bs="cr")+s(so2med
On Jun 21, 2011, at 11:27 AM, pigpigmeow wrote:
i read a book from WOOD, there's an example which is talking about the
pollutant.
library(gamair)
library(mgcv)
y<-gam(death~s(time,bs="cr",k=200)+s(pm10median,bs="cr")
+s(so2median,bs="cr")+s(o3median,bs="cr")
+s(tmpd,bs="cr"),data=chicago,fam
it is from Generalized Additive Models an introduction with R by Simon
N.Wood . Page 251
--
View this message in context:
http://r.789695.n4.nabble.com/please-help-for-mgcv-package-tp3614485p3614535.html
Sent from the R help mailing list archive at Nabble.com.
__
...@csiro.au
Sent: Sun 6/19/2011 2:36 PM
To: gloryk...@hotmail.com; r-help@r-project.org
Subject: Re: [R] please help! what are the different using log-link function
and log transformation?
The two commands you give below are certain to lead to very different results,
because they are fitting very
The two commands you give below are certain to lead to very different results,
because they are fitting very different models.
The first is a gaussian model for the response with a log link, and constant
variance.
The second is a gaussian model for a log-transformed response and identity
link.
The problem is not that you are new to R. This is a conceptual issue.
Let y be the response variable and let {x_i} be a set of predictors. Your first
model (identity response and log-link) is saying that
y=f(x_1)f(x_2)...f(x_n) + e, e~Normal(0,sigma)
i.e. this is an additive observation-error
(1) Use an informative subject line.
(2) Do not use html mail.
Then you might get a response.
cheers,
Rolf Turner
On 01/06/11 02:12, mustafabinar wrote:
> Hi R people.
>
> I have a problem. What can I create by using functions the
> combinations of distances in multiple compar
Hi,
On Mon, Apr 4, 2011 at 5:15 AM, Sadaf Zaidi wrote:
> Dear Sir/Madam,
> I am stuck with a nagging problem in using R for SVM regression. My data has 5
> dimensions and 400 observations. The independent variables are :
> Peb, Ksub, Sub, and Xtt.
> The dependent variable is: Rexp.
> I tried usin
Em 5/3/2011 21:29, Umesh Rosyara escreveu:
Dear All
I am reposting because I my problem is real issue and I have been working on
this. I know this might be simple to those who know it ! Anyway I need help
!
Let me clear my point. I have huge number of datapoints plotted using either
base plot f
I think you've made your problem too complicated.
Given your example below (and THANK YOU for including a workable
example), is this not what you need?
sigdata <- dataf[dataf$p < 0.01,]
plot(dataf$xvar, dataf$p)
text(sigdata$xvar, sigdata$p, sigdata$name)
text() will take vectors of arguments.
1 - 100 of 184 matches
Mail list logo