On 18-08-2012, at 05:28, Yingwei Lee wrote:
> Hi all,
> I'm just having trouble getting row means of a matrix which
> contain zero.
> For example.
>
> m=matrix(c(1:4, c(0, 0, 0, 0), c(1, 0, 1, 1)), nc=4, byrow=TRUE)
>
> I want to be able to calculate means for non-zero elements for eac
On Aug 17, 2012, at 6:04 PM, bantex wrote:
Thanks David. I have actually 1 more question. How do I assign a
name to the
output created by this function?
abc_ret <- abc(...)
--
View this message in context:
http://r.789695.n4.nabble.com/specific-matrix-element-tranformation-tp4640550p464
Please do include context.
"name assignment" can mean a few things:
i) Adding a "name" attribute can be done with names(x) <- _whatever_
ii) Assigning to an object name should be done outside the function,
not within it:
x <- myLongFunc(...)
Cheers,
Michael
On Fri, Aug 17, 2012 at 9:04 PM, ban
This is not a typo error, in feature detection when it was not able to
calculate 'tn' then they are using this formula and there are more papers
(referred journal) which quote same formula. In the same manner i had also
got the tp, fp and fn. Based on it can some one suggest me to plot the ROC
curv
On Aug 17, 2012, at 8:28 PM, Yingwei Lee wrote:
m=matrix(c(1:4, c(0, 0, 0, 0), c(1, 0, 1, 1)), nc=4, byrow=TRUE)
is.na(m) <- m==0
rowMeans(m, na.rm=T)
#[1] 2.5 NaN 1.0
--
David Winsemius, MD
Alameda, CA, USA
__
R-help@r-project.org mailing list
ht
Thanks David. I have actually 1 more question. How do I assign a name to the
output created by this function?
Cheers,
B
--
View this message in context:
http://r.789695.n4.nabble.com/specific-matrix-element-tranformation-tp4640550p4640680.html
Sent from the R help mailing list archive at Nabbl
Hi all,
I'm just having trouble getting row means of a matrix which
contain zero.
For example.
m=matrix(c(1:4, c(0, 0, 0, 0), c(1, 0, 1, 1)), nc=4, byrow=TRUE)
I want to be able to calculate means for non-zero elements for each row.
## what i have is this
apply((m[apply(m != 0, MARGIN
Dear Todd,
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of ToddE
> Sent: Friday, August 17, 2012 5:57 PM
> To: r-help@r-project.org
> Subject: [R] Making data in R available to Rcmdr
>
> I'm an R newbie. I'm trying to use Rcm
Hello,
You need to provide us with a bit more information:
Do all the files have the same structure, i.e., tables with the same
columns? Are they xls, xlsx or csv files? Do their names share something
in common such as a preffix or are they alone in the directory, or...?
When you write "in the
I'm an R newbie. I'm trying to use Rcmdr to make a 3-D scatterplot of data
from a two-independent-variable regression and of the regression plane.
The object "dat" in R contains the data:
> print(dat[1:20,])
y x1 x2
1 431.69 76.40 132.80
Rcmdr "knows" about dat. If I click D
You probably have hyper threading so even though you only have two
physical cores, there are 4 logical cores, hence 25%. Google can lead
you to how to adjust this, if possible.
Cheers,
Josh
On Fri, Aug 17, 2012 at 2:41 PM, Shantanu MULLICK wrote:
> Hello Everyone
>
> I have a dual-core Intel i
Yes, basename(filepath) assumes that filepath represents
path to a file on the OS that R is running on. Hence, on
Windows we get
> basename("dir\\path")
[1] "path"
> basename("dir/path")
[1] "path"
because both / and \ are valid separators (and invalid in file names)
Linux allows \ in a f
Hello Everyone
I have a dual-core Intel i3-370M processor and Windows 64 operating system.
I have a 3GB RAM and my processor can support a maximum of 8GB RAM.
I have virtual memory enabled on my computer.
I am running a program in the 64 bit R which implements a MCMC on a large
dataset and invol
Hello,
Em 17-08-2012 20:27, Bert Gunter escreveu:
... so it may be just the way object.size() counts in the two cases, right?
Or maybe the way character vectors and factors are coded.
(64 bit Windows 7 or ubuntu 12.04) 80k for the character vector seems to
be 8 * 1e4 for pointers plus room fo
On Aug 17, 2012, at 4:19 PM, Amir Kasaeian wrote:
> Dear all,
> Good day!
> I have a problem in reading Excel files in R and appending them to each
> other. Suppose we have several Excel files in a directory with headers and
> want to use R to append them in a single file with an additional
I am reposting my message from April 8th because I never received a response to
the original post:
Dear R-listers,
I am an MD and clinical epidemiologist developing a measure of comorbidity
severity for patients with liver disease. Having developed my comorbidity score
as the linear predictor
>From a blurb I wrote recently:
Publishing on R has accelerated over the last few years. Chapman and
Hall/CRC Press publish over 50 books on R and has recently issued a call for
new submissions. Springer has a growing series called "Use R!" (38 volumes).
Wiley has a series called "Statistics Using
Dear all,
Good day!
I have a problem in reading Excel files in R and appending them to each other.
Suppose we have several Excel files in a directory with headers and want to use
R to append them in a single file with an additional variable in the final file
indicating from which files the dat
Thank you both for your time and assistance.
On Fri, Aug 17, 2012 at 12:25 PM, Douglas Bates wrote:
> ** **
> On Fri, Aug 17, 2012 at 6:46 AM, Travis Perry
> wrote:
> > Dr. Bates,
> > Our department is considering replacing existing statistical
> > software packages in our curriculum
Uwe,
I did give you the output from R CMD INSTALL (or at least, what I thought was
the relevant part).
Here is the output in toto:
* installing to library 'C:/programming/r/revolutions/R-2.14.2/library'
* installing *source* package 'KernGPLM' ...
** libs
*** arch - i386
ERROR: compilation fa
In the example I gave, the "temp.shp", 'temp.bdf", etc ... do not
exist in the current working directory (".") before I call:
writeOGR(shape, '.', layer='temp', driver='ESRI Shapefile', verbose=TRUE)
I should have specified this. Also, the working directory permissions
are set to owner read/write/
Are the output files already there?
In that case, try overwrite_layer=TRUE
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 8/17/12 9:28 AM, "Scott Duke-Sylvester"
wrote:
>I have a quick question: It appears that in rgd
On Fri, Aug 17, 2012 at 11:34 AM, Rui Barradas wrote:
> Hello,
>
> No, factors may use less memory. System dependent?
I think it's a 32-bit vs. 64-bit distinction - I get Rui's results on
64-bit Windows and Linux installation, but Bert's result on a 32-bit
Linux machine.
Peter
>
>> x <-sample(c
Hello,
No, factors may use less memory. System dependent?
> x <-sample(c("small","medium","large"),1e4,rep=TRUE)
> y <- factor(x)
> object.size(x)
80184 bytes
> object.size(y)
40576 bytes
>
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COL
Dear R users,
I'm estimating a mixed effects model in which the spatial correlation is
controlled for by the "corGaus" structure. I'm wondering if there is a
document or paper that explains how the spatial correlation structure (such
as "corExp" or "corGaus") works.
Let me use the example and dat
Steve, et. al:
Yes, if object.size() is to be believed, you're right:
> x <-sample(c("small","medium","large"),1e4,rep=TRUE)
> y <- factor(x)
> object.size(x)
40120 bytes
> object.size(y)
40336 bytes
I stand (happily) corrected.
-- Bert
On Fri, Aug 17, 2012 at 11:09 AM, Steve Lianoglou
wrote:
Hi,
On Fri, Aug 17, 2012 at 1:58 PM, Jeff Newmiller
wrote:
> I don't know if my recent post on this prompted your post, but I don't see
> much to argue with in your discussion. I find factors to be useful for
> managing display and some kinds of analysis.
>
> However, I find them mostly a handi
I don't know if my recent post on this prompted your post, but I don't see much
to argue with in your discussion. I find factors to be useful for managing
display and some kinds of analysis.
However, I find them mostly a handicap when importing, merging, and handling
data QC. Therefore I dela
I second to Bert's opinion, factors can be confusing, but they have quite nice
features which can not be easily mimicked by plain character vectors. I find
extremelly usefull possibility of manipulating its levels.
> fac<-factor(sample(letters[1:5], 20, replace=TRUE))
> fac
[1] e e d d e e c e
Folks:
Over the years, many people -- including some who I would consider
real expeRts -- have criticized factors and advocated the use
(sometimes exclusively) of character vectors instead. I would just
like to point out that, for me, factors provide one feature that I
find to be very convenient:
Dear all,
I am really confused with the syntax for mixed model using lmer in lme4
library.
My model is Value = Sample + Run (nested with Sample )
Here sample is a fixed effect and Run is a random effect nested with
sample.
Can anyone give some hint on the correct syntex for this model.
Here's a slightly different approach without regular expressions:
> dat1<-data.frame(slope=c("slope (60/25/15)","slope (90/10)",
"slope (40/35/15/10)","slope (40/25/25/10)" ))
> tmp <- strsplit(as.character(dat1$slope), split="[/()]")
> tmp2 <- sapply(tmp, function(x) as.numeric(x[-1]))
> m
yy[!yy%in%xx]
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler INTERNET: cl...@math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600FAX:(360) 407-7534
Olympia, WA 98504-7600
The cbind method to data.frame is just a wrapper for data.frame(...). So
character columns are converted to factors.
dat <- cbind(data.frame(x = 1:3), a = c("a", "b", "c"), b = c("a", "a", "c"))
str(dat)
## 'data.frame': 3 obs. of 3 variables:
## $ x: int 1 2 3
## $ a: Factor w/ 3 levels "a",
On Aug 17, 2012, at 9:25 AM, aleksandr shfets wrote:
>
> Michael,
> Thank you for suggestions;
> it seems to me that there's a fundamental lacuna with respect to names of a
> three dimensional array:
A lacuna in the English language, not in R: though perhaps Prof Ripley's
employer's dictio
Q.
>> Here i have a file path, for eg : - FPath <- "D:\\MyFolder\\MyFile.txt"
>> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
A.
> x <- substr(FPath,13,nchar(FPath)) should give you the desired output.
But this is much like saying
x <- "MyFile.txt"
will give you the desired outpu
Dear All,
My question is from the simulation of survival time with censoring
indicator.
Suppose I have a person with:
1. exponential life time, h(t) = lambda* exp(- lambda* t), some
known lambda>0.
2. a pre-determined event time, constant T;
3. a censoring indicator, delta=0 if the observed life t
On 17-08-2012, at 18:18, penguins wrote:
> Can anyone tell me how to remove several numbers for a sequence. For example:
>
> xx<- c(1,5,7,10)
> yy<-seq(1,10,1)
>
> how do I get take xx away from yy to get the new sequence
>
> 2,3,4,6,8,9
>
You can also do this
yy[!(yy %in% xx)]
Berend
___
HI,
Try this:
yy[is.na(match(yy,xx))]
#[1] 2 3 4 6 8 9
A.K.
- Original Message -
From: penguins
To: r-help@r-project.org
Cc:
Sent: Friday, August 17, 2012 12:18 PM
Subject: [R] Remove several numbers from a sequence
Can anyone tell me how to remove several numbers for a sequence. For
When you call plot with more than two columns, uses the pairs() function.
That means you have to write a panel function. Here are a couple of
relatively simple examples:
pairs(variable[,2:4], panel=function(x, y, ...) text(x, y,
variable$group))
pairs(variable[,2:4], panel=function(x, y, .
Take a look at ?setdiff
Michael
On Aug 17, 2012, at 12:18 PM, penguins wrote:
> Can anyone tell me how to remove several numbers for a sequence. For example:
>
> xx<- c(1,5,7,10)
> yy<-seq(1,10,1)
>
> how do I get take xx away from yy to get the new sequence
>
> 2,3,4,6,8,9
>
> Many thanks
On 08/17/2012 09:25 AM, Douglas Bates wrote:
On Fri, Aug 17, 2012 at 6:46 AM, Travis Perry wrote:
Dr. Bates,
Our department is considering replacing existing statistical
software packages in our curriculum with R, at my request. To better inform
this decision we are interested to kn
> Subject: Re: [R] set working directory to current source directory
A windows-centric work-round (assuming .Rdata files are 'associated' with the
right R binary n installation) is to save an empty environment in the relevant
project directory with the source file you would normally run. Star
The provided solution is:
panel.text <- function(x, y, text, ...)
text (x, y, labels = text)
pairs(variable[,2:4], pch=19, text = variable$group,
lower.panel = panel.text,
upper.panel = panel.text)
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-multiple-variabl
I know about the text function,
it works well if I plot just 2 variables -> I give the x and the y
coordinates,
but I doesn't work if i try to do this in this plot whith the multiple
variables:
*time1 plot plot
plot time2 plot
plot plot time3*
so what would the solution?
variable[,2:4] are the c
Hello,
The message is not about lengths, it's about sets. It means that the two
factors, compkey and armkey don't have the same levels, which you can
see with
levels(compkey)
levels(armkey)
and test for equality.
Also, your post's prologue doesn't have a direct relation with the
error, you
I have a quick question: It appears that in rgdal v0.7-12 (R version
2.15.1, OSX 10.6.8) writeOGR will not write a shapefile the the
current directory. Is this correct? An earlier version of rgdal must
have allowed this because I have a older script that used to work, but
doesn't now.
So, as an ex
Can anyone tell me how to remove several numbers for a sequence. For example:
xx<- c(1,5,7,10)
yy<-seq(1,10,1)
how do I get take xx away from yy to get the new sequence
2,3,4,6,8,9
Many thanks in advance
--
View this message in context:
http://r.789695.n4.nabble.com/Remove-several-numbers-
On Fri, Aug 17, 2012 at 6:46 AM, Travis Perry wrote:
> Dr. Bates,
> Our department is considering replacing existing statistical
> software packages in our curriculum with R, at my request. To better inform
> this decision we are interested to know the prevalence of R in the published
>
The length of a vector of yes/no answers has little to do with the number of
possible responses (2). Factors keep both pieces of information.
If you only have yes responses in your data set, when converted to factor you
would have to tell R that other responses were possible.
I prefer to avoid
On Aug 17, 2012, at 10:00 AM, Rainer M Krug wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 17/08/12 15:04, Berend Hasselman wrote:
>>
>> On Fri, Aug 17, 2012 at 5:28 AM, Rantony wrote:
>>> Hi,
>>>
>>> Here i have a file path, for eg : - FPath <- "D:\\MyFolder\\MyFile.txt"
>
Have you showed us how to reproduce your original problem?
Have you showed us the output of traceback() after encountering
the error? Have you tried setting options(error=recover) before
encountering the error and then using recover() to look at the dimensions
and dimnames of the array that caused
On Aug 15, 2012, at 23:17 , Trevor Carey-Smith wrote:
> On 08/15/2012 10:45 PM, S Ellison wrote:
>> label<- 'Temperature'
>> unit<- bquote(degree*C)
>> text(5,5,substitute(l~u, list(l=label, u=unit)))
>
> Thanks, that's exactly what I was after.
A curious application of bquote though. How about
?text
Have you read the "Introduction to R" tutorial. If not, do so before
further posting. If so, re-read section 12.2.
-- Bert
On Fri, Aug 17, 2012 at 6:33 AM, cm256 wrote:
> Hello, I have a data.frame with 10-15 entries which looks like this:
>
> group time1 time2 time3
> 1 F1
Michael,
Thank you for suggestions;
it seems to me that there's a fundamental lacuna with respect to names of a
three dimensional array:
that is, rownames fits dimension 1, colnames fits another dimension(that is, 3,
if I read it correctly),
but there is no specific name for the third dimension
Why the error is coming? even though the length of outcome.new$compkey and
outcome.new$armkey were exactly same.
Can anyone help?
setwd("D:/AZ")
library("RODBC")
cdb_cnct <-
odbcConnectExcel("AZIF_DC_GVK_NSCLC_MSALL_287papers_02072012_141450_v1_4.xls")
outcomes <- sqlFetch(cdb_cnct, "Outcomes_in
HI,
Try this:
dat1<-data.frame(slope=c("slope (60/25/15)","slope (90/10)","slope
(40/35/15/10)","slope (40/25/25/10)" ))
dat1$slope<-gsub("slope\\s+.*(\\(.*\\))","\\1",dat1$slope)
dat1$slope<-gsub("\\((.*)\\)","\\1",dat1$slope)
dat2<-strsplit(dat1$slope,"/")
dat2[[1]][4]<-0
dat2[[2]][3:4]<-0
data
Do
splits <- strsplit(filePath,"file://%22,fixed=true)[[1/]]
fileName <- splits[length(splits)])
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting g
On 17.08.2012 11:28, Rantony wrote:
Hi,
Here i have a file path,
for eg : -
FPath <- "D:\\MyFolder\\MyFile.txt"
HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
basename(FPath)
Uwe Ligges
- thanks in advance
Antony.
--
View this message in context:
http://r.789695.n4.nabb
Thanks pramod.
From: Pramod [via R] [mailto:ml-node+s789695n4640600...@n4.nabble.com]
Sent: Friday, August 17, 2012 5:24 PM
To: Akkara, Antony (GE Energy, Non-GE)
Subject: Re: Get the filename from the given path
x <- substr(FPath,13,nchar(FPath)) should give you the desired output.
Hello,
basename(FPath)
Hope this helps,
Rui Barradas
Em 17-08-2012 10:28, Rantony escreveu:
Hi,
Here i have a file path,
for eg : -
FPath <- "D:\\MyFolder\\MyFile.txt"
HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
- thanks in advance
Antony.
--
View this message in context:
Thanks Gabor!
This is exactly what I was searching for! --- And it works like a charm.
On Fri, Aug 17, 2012 at 1:03 PM, Gabor Grothendieck
wrote:
> On Thu, Aug 16, 2012 at 3:30 PM, Kenneth Rose wrote:
>> Hi R community
>>
>> I copied a bit of my R code that gets some data from a database. You
I tried these two and testquery2 now does the job :) Somehow the str_c
function from the stringr package doesn't work when I run the sqlQuery
function even though the testquery string is the same as testquery2
string. Thanks for the pointers!
fromdate <- c("'2005-01-01 00:00:00'")
testquery <- st
Above mentioned formula is wrong - maybe a typo
http://en.wikipedia.org/wiki/Receiver_operating_characteristic
The false positive rate is the rate of false positives, meaning how many of the
total negatives (all in reality negatives(N), that is, all negatives falsely
classified as positives(fp)
Hello, I have a data.frame with 10-15 entries which looks like this:
group time1 time2 time3
1 F18 4394.500 21043.50 14949.00
2 F25 4678.000 23727.65 15683.12
3 F30 4909.775 23487.60 16724.40
I plot this with:
plot(variable[,2:4])
so that a plot with 3 rows and 3 line
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17/08/12 15:04, Berend Hasselman wrote:
>
> On Fri, Aug 17, 2012 at 5:28 AM, Rantony wrote:
>> Hi,
>>
>> Here i have a file path, for eg : - FPath <- "D:\\MyFolder\\MyFile.txt"
>>
>> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
>>
On Fri, Aug 17, 2012 at 5:28 AM, Rantony wrote:
> Hi,
>
> Here i have a file path,
> for eg : -
> FPath <- "D:\\MyFolder\\MyFile.txt"
>
> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
>
Please don't shout.
?basename
Berend
__
R-hel
On Fri, Aug 17, 2012 at 5:28 AM, Rantony wrote:
> Hi,
>
> Here i have a file path,
> for eg : -
> FPath <- "D:\\MyFolder\\MyFile.txt"
>
> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
>
Quite possibly by yelling at it
or regular expressions: you know, whatever
> - thanks in a
On 17.08.2012 12:38, Fg Nu wrote:
I am trying to compile the R package "KernGPLM" found here:
http://www.marlenemueller.de/KernGPLM/KernGPLM_0.65.tar.gz
since the binary available is for R 2.4.
but the compilation ends with the error message:
*** arch-i386
ERROR: compilation failed for t
Thanks, Bert.
2012/8/17 Bert Gunter
> 1. Post on R-sig-mixed-models, not here.
>
> 2. Models 2 and 3 make no sense (to me, anyway). What do you think
> they mean? (Don't answer here -- explain on the mixed models list).
>
> -- Bert
>
> On Thu, Aug 16, 2012 at 9:13 PM, li li wrote:
> > Dear all,
At 19:01 16/08/2012, Viechtbauer Wolfgang (STAT) wrote:
I had noticed this oversight a while ago. In an updated version of
the metafor package (hopefully to be released in the near future),
the argument will be called "maxiter" (as intended). Using "maxit"
will then work as well, due to partial
On 17.08.2012 12:37, nikos giallousis wrote:
Hello, many thanks for the advice.
Unfortunately I did not mention that my os is Windows 7. I am sorry for
that.
Some feedback here?
Yes: R-forge seems to support the current release version of R only re.
binaries. If you want it for an old rele
Hello,
I've changed the name of the data.frame, df is an R function.
DF$RowId[ DF$x != DF$y ]
Hope this helps,
Rui Barradas
Em 17-08-2012 10:48, Sri krishna Devarayalu Balanagu escreveu:
df <- data.frame (
"RowId" = 4:7,
"x"=c("1_1", "2_2", "3_3", "3_3"),
"y"=c("1_1", "3_3",
On Thu, Aug 16, 2012 at 3:30 PM, Kenneth Rose wrote:
> Hi R community
>
> I copied a bit of my R code that gets some data from a database. You
> won't be able to run the code, but I am a beginner so you will
> probably understand what going on.
>
> I would like to make a variable I can refer to in
I am trying to compile the R package "KernGPLM" found here:
http://www.marlenemueller.de/KernGPLM/KernGPLM_0.65.tar.gz
since the binary available is for R 2.4.
but the compilation ends with the error message:
*** arch-i386
ERROR: compilation failed for the package 'KernGPLM'
Here is my session
Hello, many thanks for the advice.
Unfortunately I did not mention that my os is Windows 7. I am sorry for
that.
Some feedback here?
> install.packages("tikzDevice", repos="http://R-Forge.R-project.org";)
Installing package(s) into C:/Users/N31k/Documents/R/win-library/2.14
(as lib is unspec
It happens relatively often to me.
Regards
Le 17/08/2012 17:19, Jessica Streicher a écrit :
Pretty much every time i reply to a post in this list i get a bounce saying the
above, + waiting for approval.
I first thought it was because i didn't send in plain, but now they are and it
hasn't be
On 08/17/2012 07:48 PM, Sri krishna Devarayalu Balanagu wrote:
df<- data.frame (
"RowId" = 4:7,
"x"=c("1_1", "2_2", "3_3", "3_3"),
"y"=c("1_1", "3_3", "2_2", "3_3")
)
How can we compare corresponding values of x and y (first value of x exacly
matches w
On 17.08.2012 02:42, David Winsemius wrote:
On Aug 16, 2012, at 4:33 PM, Kevin Goulding wrote:
Hi, I'm having trouble installing and using the 'foreign' package in R
on a
UNIX machine.
sessionInfo()
R version 2.11.1 (2010-05-31)
sparc-sun-solaris2.10
locale:
[1] C
at
df <- data.frame (
"RowId" = 4:7,
"x"=c("1_1", "2_2", "3_3", "3_3"),
"y"=c("1_1", "3_3", "2_2", "3_3")
)
How can we compare corresponding values of x and y (first value of x exacly
matches with the first value of y)?
If they were not matced exactly how can w
Hi,
I could build the package, finally, adjusting the path correctly (Rtools
folders in front).
Regards
Eva
--- El jue, 16/8/12, Eva Prieto Castro escribió:
De: Eva Prieto Castro
Asunto: Re: [R] Problem with global variable building a package
Para: "Uwe Ligges"
CC: "Greg Snow" <538...@gma
Hi,
Here i have a file path,
for eg : -
FPath <- "D:\\MyFolder\\MyFile.txt"
HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
- thanks in advance
Antony.
--
View this message in context:
http://r.789695.n4.nabble.com/Get-the-filename-from-the-given-path-tp4640578.html
Sent from t
Hi,
thanks for the quick response, but as i said in my case due to two
different threshold the detected features will differ. Moreover, there is
some standard /refined/ formula in calculating the tpr and fpr. herewith i
had attached the refined formula from a standard international journal
h
Pretty much every time i reply to a post in this list i get a bounce saying the
above, + waiting for approval.
I first thought it was because i didn't send in plain, but now they are and it
hasn't become any better. Any other ideas? Is this normal?
__
Okay, first of a point in ROC space is spanned by true positive rate and false
positive rate.
Now you need to decide if you want to plot a curve for each image or maybe a
curve for the complete data (add all together).
In your case you only have 2 thresholds, so that makes the "curves" a little
thanks! this solves my problem perfectly
--
View this message in context:
http://r.789695.n4.nabble.com/multiple-boxplots-on-the-same-figure-reducing-space-in-between-tp4640503p4640570.html
Sent from the R help mailing list archive at Nabble.com.
__
Dear list,
I have a question about imputing 2 level data in MICE, could you give me some
suggestions please? Thank you very much.
The data set contains 35634 cases and 1007 variables, 280 of them are
categorical variables, and the rest of them are continuous variables. On the
second level,
Hello,
I've made a mistake, it's in the last if/else/if/else. Complete
statement below.
Em 17-08-2012 06:23, Rui Barradas escreveu:
Hello,
Inline
Em 17-08-2012 04:39, bantex escreveu:
Hi guys,
After a long while I came up with this :
set.seed(2)
a<-matrix(rnorm(4),ncol=2)
abc<-function(a
To slightly correct what's been said: In general
lists are linear objects, but a list can have
dimension.
An example is in Circle 8.1.8 of 'The R Inferno'.
http://www.burns-stat.com/pages/Tutor/R_inferno.pdf
Pat
On 16/08/2012 21:50, Schumacher, Jay S wrote:
are these correct/accurate/sensib
On Aug 16, 2012, at 8:39 PM, bantex wrote:
Hi guys,
After a long while I came up with this :
set.seed(2)
a<-matrix(rnorm(4),ncol=2)
abc<-function(a)
{
b=matrix(NA,nrow=3,ncol=3)
b[1,1]=a[1,1]+1
b[1,2]=a[2,1]*a[2,2]
b[1,3]=a[2,2]+a[1,1]
b[2,1]=a[1,1]-5
b[2,2]=sqrt(a[2,2])
b[2,3]=a[1,1]/a[2,2]
90 matches
Mail list logo