8.1 which introduced
OneDrive.) R for Windows apparently chooses the default document storage
folder when setting up a personal library. Disabling OneDrive for autosaving
documents in OneDrive settings solved the problem.
Jack
On Thursday, July 26, 2018 7:03 AM, Leslie Rutkowski
wrote:
OneDrive folder in Windows 8.1 but could set R to recognize a personal library
on C:/Users/jackp/Documents.
Thanks in advance,
Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://st
I have a very large binary matrix, stored as a big.matrix to conserve
memory (it is over 2 gb otherwise - 5 million columns and 100 rows).
r <- 100
c <- 1
m4 <- matrix(sample(0:1,r*c, replace=TRUE),r,c)
m4 <- cbind(m4, 1)
m4 <- as.big.matrix(m4)
I need to remove every column which has only on
e readRDS method
sucks*. I got same error using import() in rio package.
https://stackoverflow.com/questions/49908803/error-in-reading-files-in-r
So, please let me know if you have some solution for the issues.
Thanks for your consideration.
Regards,
Jack
[[al
I have a data.table with dimensions 100 by 10^7.
When I do
trainIndex <-
caret::createDataPartition(
df$status,
p = .9,
list = FALSE,
times = 1
)
outerTrain <- df[trainIndex]
outerTest <- df[-trainIndex]
Subsetting the rows of df takes ove
I have data set up like the following:
control1 <- sample(1:75, 3947398, replace=TRUE)
control2 <- sample(1:75, 28793, replace=TRUE)
control3 <- sample(1:100, 392733, replace=TRUE)
control4 <- sample(1:75, 858383, replace=TRUE)
patient1 <- sample(1:100, 28048, replace=TRUE)
patient2 <- sample(1:50
With the lastest version of R 3.4.1 I have not been able to loard Rcmdr.
Advice please.
Thank you,
Jack Talley, PhD
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch
Is there a generalized linear mixed-effects model implementation for R that
could handle misclassified binary data? Unless I have overlooked something
in the documentation, glmer with family=binomial(link="probit") does not
handle misclassification. Closest to what I have found was misclass, which
Dist="normal")
> max(d.normMat)
[1] 365099508
> p = 2000
> n = 100
> rDAG <- randomDAG(p, prob = 0.2, lB=0.1, uB=1)
> d.normMat <- rmvDAG(n, rDAG, errDist="normal")
> max(d.normMat)
[1] 3.880373e+90
Did anyone know how to fix this?
Thanks a lot!
-Jack
ation matrix into those algorithms in the sufficient statistics
argument.
Thanks,
-Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
n potentially useful
nuggets for power users.
Comments and contributions are most welcome. In particular, I'd love
to see unit tests corresponding to any failures you may encounter
working with your own ICD-9 data.
Hope you find this useful.
Jack
--
Jack Wasey
Resident Physician, Anesthe
Thanks Gabor. I'll try that.
Jack
Sent from my iPad
> On May 26, 2014, at 2:40 PM, Gabor Grothendieck
> wrote:
>
> On Mon, May 26, 2014 at 8:53 AM, Jack H. Pincus
> wrote:
>> Thanks for your suggestions. I did some further digging and found the
>> problem
Thanks for your suggestions. I did some further digging and found the problem
was more subtle. I use Dashlane, a password management program, which requires
IE to run in protected mode under Win 8. Disabling protected mode solved the
problem with R help.
Jack
> On May 26, 2014, at 12:02
ot be displayed. Java 7 is installed on my
computer. I did a Google search but didn't find any solutions. How can I get
the help pages to display?
Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://st
Label~., data=DF)
AUC_r = cbind(AUC_r,fit$AUCcurve$AUC)
}
}
plot(fit$AUCcurve$k,apply(AUC_r,1,mean),type = "b",pch = 3,xlab = "# of
Vars", lwd = 2, col = 2,ylab = "OOB-AUC",ylim = c(0.4,1))
Thanks,
-Jack
[[alternative HTML version deleted]]
__
I'm not sure if this is correct behavior or not, but it seems counterintuitive
to me:
dat <- data.frame(id=1:5, let=letters[1:5])
# A. omits the first row
dat[- 1, ]
# B. unexpectedly omits ALL rows
dat[- integer(0), ]
It would be less surprising if there were no rows omitted in the (B) case.
mean
it's not an honest cross validation?
Thanks,
-Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/pos
r, I am getting some trouble when the "value" variable has a mixture
of numeric and character.
I played around dropping off the fun.aggregate = mean option, but it use
the default: which is the length and not what I want.
I am wondering if there is anyway of doing this?
Many thanks,
-Ja
Ah, yes. it was the
net$Time[net$From=="A" & net$To=="C"]),
notation I was missing. I suppose I'd think of that as similar to an array
slice Perl (no, I know it's not the same!)
I'll have to spend a little time looking at your sample data-generatio
. "Factoring" (if that is
indeed the term) is where I fall down. I simply don't know how to break out the
pairings.
Is R actually the way to go for this? I feel pretty confident I could cobble
together some Perl which produces Postscript to describe the curves, but I
suspect that
Hi,
I am trying to find a way to fit a glm model with all the possible
interaction terms between different variables, without typing all the
X1:X2, X1:X3, in the formula, is there a way in R to do that?
Thanks,
-Jack
[[alternative HTML version deleted
e")
>
> at the command line to install it. This is necessary on Linux, but
> depending on the package, there may be available binaries for Windows
> and Mac, in which case you can install those instead of having to
> build it from source and you can remove the last argumen
Hi,
I am trying to install a package (PortfolioAnalytics) of R 2.15.2 on Win 7.
I have tried the following instructions on :
http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages
I used svn checkout svn://svn.r-forge.r-project.org/svnroot/returnana
show the expected output
>
> Hello,
>
> And what do you get?
>
> Regards,
> Pascal
>
> Le 28/11/2012 12:25, Jack Bryan a écrit :
> >
> > Hi,
> >
> > I am working on R 2.15.2 on Win. 7.
> >
> > I am trying to run some simple commends.
> &g
gt; To: dtustud...@hotmail.com
>
>
>
> On Nov 28, 2012, at 4:13 AM, Jack Bryan wrote:
>
> >
> > Thanks !
> >
> > I solved it.
>
> Don't you mean David did?
>
> >
> > I run sink() to get the output on command line.
>
>
>
> And what do you get?
>
> Regards,
> Pascal
>
> Le 28/11/2012 12:25, Jack Bryan a écrit :
> >
> > Hi,
> >
> > I am working on R 2.15.2 on Win. 7.
> >
> > I am trying to run some simple commends.
> >
> >> class(SWX.RET)
Hi,
I am working on R 2.15.2 on Win. 7.
I am trying to run some simple commends.
>class(SWX.RET) # SWX.RET is a data file that has been loaded.
But, I cannot see the expected output.
I have deselected "buffered output". Still it does not work.
Any help will be appreciated.
Thanks
o tell you to load particular packages?
>
> www.rseek.org turns up a listDescription() function in the fBasics
> package, but that isn't necessarily the one you need for whatever
> application you're pursuing.
>
> Sarah
>
> On Tue, Nov 27, 2012 at 2:37 PM, Jack Bry
Hi,
I am running R on Win 7.
I got error for > listDescription(fPortfolio)
Error: could not find function "listDescription"
What do I need to install for solving this ?
Any help will be appreciated.
Thanks
[[alternative HTML version delet
Hi,
I am trying to run R 2.15.2 on Win 7.
I am trying to run some example R code of the book :Portfolio Optimization with
R/Rmetrics
I was told that :
To install all packages required for the examples of this ebook we
recommendthat you install the bundle package ebookPortfolio.
This can be do
Hi,
I have installed R 2.15.2 on windows 7.
http://cran.cnr.berkeley.edu/
I tried to run some simple graph code:
http://www.harding.edu/fmccown/r/
But, no graphs are presented or poped up.
Any help will be appreciated.
Thanks
[[altern
I have some large-ish files that are the output of save() from R 2.15.1, which
that version can load() just fine. After upgrading to 2.15.2, load() no longer
works on these files. Is this a known issue?
__
R-help@r-project.org mailing list
https://stat.e
The following three calls all produce the same result (my machine is in EST):
> as.POSIXct(0, tz="", origin=ISOdatetime(1970,1,1,10,0,0))
[1] "1970-01-01 10:00:00 EST"
> as.POSIXct(0, tz="EST", origin=ISOdatetime(1970,1,1,10,0,0))
[1] "1970-01-01 10:00:00 EST"
> as.POSIXct(0, tz="GMT", origin=IS
horizontal=FALSE, origin=0,
>panel=panel.barchart, box.width=20,
>scales=list(x=list(at=tmp$distance)))
>
>
>
> On Sat, May 26, 2012 at 11:26 PM, jack hietpas wrote:
>
>> Hello- I am having trouble making a barplot...
>>
>> The y-values are
mon wrote:
> On 05/27/2012 01:26 PM, jack hietpas wrote:
>
>> Hello- I am having trouble making a barplot...
>>
>> The y-values are:
>> data=c(-0.0002129061,0.**00,-0.0002699561,0.**
>> 0163883061,0.04).
>>
>> The x-values are distanc
Hello- I am having trouble making a barplot...
The y-values are:
data=c(-0.0002129061,0.00,-0.0002699561,0.0163883061,0.04).
The x-values are distance=c(0, 71, 172, 206, 292).
The desired x-range is 0 and ~300+ (kilometers), range=seq(0,300,1)
I would like to make a bar plot with
This version of my code makes the R process consume unreasonable amounts of RAM:
datf <- rbind(lapply(mylist, function(item) {
with(item, data.frame(col1, col2, col3))
}))
This version works fine:
datf <- lapply(mylist, function(item) {
with(item, data.frame(col1, col2, col3)
to know how.
Thanks,
Jack
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Bob O'Hara gmail.com> writes:
>
> On 4 April 2012 05:35, Jack Tanner hotmail.com> wrote:
>
> > samplesBgr("beta") # crash
> > samplesBgr("beta", plot=FALSE) # also crash
> >
> > Have you plotted your histories? I haven't u
Melrose2012 stonybrook.edu> writes:
>
> alive <- (fflies$living)
> dead <- (fflies$living[1]-alive)
> glm.fit <- glm(cbind(alive,dead)~fflies$day,family="binomial")
> summary(glm.fit)
Your call to glm() is not doing what you think it's doing. What you want to do
is probably closer to
glm.fit
(Using BRugs 0.7-5, R 2.14.2 32-bit on 64-bit Windows 7, OpenBUGS 3.2.1)
1. BRugs crashes R for me as follows. Sorry about the lack of detail; please let
me know if / how to supply a more useful bug report on this issue.
fit <- BRugsFit(...)
# BRugs and OpenBUGS runs fine, the parameter estimates
Hello everyone,
I am looking into time series data compression at the moment.
The idea is to fit a curve on a time series of n points so that the maximum
deviation on any of the points is not greater than a given
threshold. In other words, none of the values that the curve takes at the
points
for a minus sign.
Jack
-Original Message-
From: ted@deb [mailto:ted@deb] On Behalf Of Ted Harding
Sent: Monday, March 19, 2012 4:56 PM
To: r-help@r-project.org
Cc: Schryver, Jack C.; Schryver, Jack C.; Sarah Goslee
Subject: Re: [R] Unexpected input in function
I think the most likely
ppreciated.
Thanks,
Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, mini
Rcommander on Ubuntu 11.10.
I have read that this may be an X11 problem, if so, I don't know how to fix
this. Any help would be very much appreciated. Thanks for your time,
-jack
[[alternative HTML version deleted]]
__
R-help@r-projec
David Winsemius comcast.net> writes:
> sapply(tz, function(ttt) as.POSIXct(x=x, tz=ttt,
> origin="1960-01-01"),simplify=FALSE)
Sure, there's no end of workarounds. It would just be consistent to treat both
the x and the tz arguments as vectors.
__
R
x <- 1472562988 + 1:10; tz <- rep("EST",10)
# Case 1: Works as documented
ct <- as.POSIXct(x, tz=tz[1], origin="1960-01-01")
# Case 2: Fails
ct <- as.POSIXct(x, tz=tz, origin="1960-01-01")
If case 2 worked, it'd be a little easier to process paired (time, time zone)
vectors from different time z
jim holtman gmail.com> writes:
> > match(f, names(z))
> [1] 2 3
Jim, thanks so much, that's right on.
Patrick, thanks to you too, but yours is not the same as what I asked:
> z <- c(3,4,5,4)
> names(z)<- c("a","b","c","b")
> z[f]
b c
4 5
Yours returns the actual values in z, not the indexes
I have a named vector:
> z <- c(1, 2, 3, 2)
> names(z) <- c("a","b","c","b")
> f <- c("b","c")
I want to know the index in z of the first occurrence of each of the values in
f.
One implementation is
> sapply(f, function(x) which(names(z)==x)[1])
b c
2 3
Is which() smart enough to stop when i
Marion Wenty wrote:
>
> ...Could anyone recommend an editor that is suitable for beginners?...
>
I had trouble with this for a long time. I tried several different programs,
but couldn't get any to work properly—they were either too complicated or
broken. I recently started using Notepad++ with
Hi,
Using legend as an argument within the call to barplot will automatically
add the color key to the legend. I don't know how to add the colors using
legend separately. Try this revised code:
y <-
matrix(c(46.5102,42.7561,45.7857,45.6047,45.7027,81.4565,69.8824,69.1333,67.56,57.8929,43.3019,42.
I want to sample within groups, and when a group has only one associated
number to just return that number.
If I use this code:
groups <- c(1, 2, 2, 2, 3)
numbers <- 1:5
tapply(numbers, groups, FUN = sample)
I get the following output:
> groups <- c(1, 2, 2, 2, 3)
> numbers <- 1:5
> tapply(
I've got a sparse term list of the form
term1 doc1
term2 doc1
term3 doc2
etc.
I'd like to load this into a Corpus, as defined in the tm package. I was
thinking that one way to do this is to iterate over the list building up the i,
j, v vectors for a simple_triplet_matrix, and then to use that as
check.names = T
A <- read.xlsx("B.xls", header = T, check.names = T)
and type something like
A$A.1
But I am wondering if I stick using check.names = F, if there is anything
that is as easy as
A$A 1
that works.
Thanks,
-Jack
[[alternative HTML version deleted]]
__
Thank, Eik, it works!
-Jack
On Wed, Aug 17, 2011 at 9:19 AM, Eik Vettorazzi <
e.vettora...@uke.uni-hamburg.de> wrote:
> Hi Jack,
> yes there is. see ?read.table for option check.names
>
> and to the 2nd task "." is a special character in regular expressions,
>
quot;)[[1]]
#[1] 2 4 6
#attr(,"match.length")
#[1] 1 1 1
gregexpr(".","A.B.C.D")[[1]]
[1] 1 2 3 4 5 6 7
attr(,"match.length")
[1] 1 1 1 1 1 1 1
Looks like dots means all the characters. Is there a way that I can extract
the position of the dots specifically?
Hello I was wondering if anyone has been able to change the pch value for
points in 3dplot()? I am able to change point colors just not symbol types.
I have included a portion of my code below. I realize this won't work
outside of my script, but thought, maybe there is something obvious that I
a
ab
result, but that has been the nature of my approach to my mostly
semi-scientific endeavors. I do have your book "Introductory Statistics
with R" as one of my several guides to this adventure.
Jack
[[alternative HTML version deleted]]
_
d = 363.6, df = 1, p-value < 2.2e-16
alternative hypothesis: true p is not equal to 0.5
95 percent confidence interval:
0.1764885 0.2257849
sample estimates:
p
0.2
I'm also getting slight differences in the answers for exercises and
find this disconcerting.
Why are these differences pre
I've had the same problem and ended up using the xlsReadWrite package. It
takes more time to import a sheet but does have the colClasses command.
Following your example:
library(xlsReadWrite)
read.xls("testtable", sheet = "sheet1", colClasses="character")
should worked, it did for me
--
View t
Jack Tanner hotmail.com> writes:
> > b = quote(b==3)
>
> Now I want to append "&& x > 2" to the value of b. How do I do that?
Never mind, I figured it out:
substitute(b && x > 2, list(b=b))
__
R-help@
AjayT googlemail.com> writes:
> The data looks like this,
>
> Id=1 time=2011-03-27 19:23:40 start=1.4018 end=1.4017
> Id=2 time=2011-03-27 19:23:40 start=1.8046 end=1.8047
Something like this would do:
lines = scan(file, nlines=1, ...)
fields = strsplit(lines[1], "\s+", perl=TR
I have a variable of mode "call":
> b = quote(b==3)
> b
b == 3
Now I want to append "&& x > 2" to the value of b. How do I do that?
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http:
Wainscott, Robert LT cvn74.navy.mil> writes:
> I want to split dataset "ZIDL", into individual datasets based on the
> string content of variable "Dept".
There are many, many ways to do this, depending on what you're really after.
Here's one:
depts = levels(factor(zidl$dept))
for (i in 1:length
ot;,"numeric"))
But I am getting an error:
Error in charToDate(x) :
character string is not in a standard unambiguous format
because my date vector is in a format below:
format="%d.%m.%Y"
But how can i define the date format for date vector in read.
Dennis,
Thanks for your answer. That is working nicely!
Br,
Jack
2010/11/23 Dennis Murphy
> Hi:
>
> Borrowing an idea from a post by Baptiste Auguie a few weeks ago on the
> ggplot2 list, try this:
>
> http://groups.google.com/group/ggplot2/browse_thread/thre
p+geom_point()
Thanks for any help!
-Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm
Hello- I am trying to calculate the between-group covariance matrix for a
set of data for eventual Canonical Discrim Analysis. I can obtain the total
covariance matrix and individual group covar matrix, but I am failing
miserably at getting the between-group covar. The data set is composed of 9
v
I have a data structure that is fast to dput(), but very slow to dget(). On
disk, the file is about 35MB.
> system.time(dget("r.txt"))
user system elapsed
142.931.27 192.84
The same data structure is fast to save() and fast to load(). The .RData file on
disk is about 12MB.
> system.t
Still doesn't work, any ideas?
Error in sqlTables(channel1) :
first argument is not an open RODBC channel
In addition: Warning messages:
1: In odbcDriverConnect(con, tabQuote = c("[", "]"), ...) :
[RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name n
Someone said that I need to define "intrinsic dimensionality" in my question.
Basically, this is the topological dimension of a set of points that are
represented in a space of possibly higher dimension. For example, your data
might describe a corkscrew line through a 30-dimensional space (you mea
Does anyone know of any packages or have any loose code for estimating the
intrinsic dimension of a data set?
Thanks for any leads,
Jack
--
View this message in context:
http://r.789695.n4.nabble.com/estimate-intrinsic-dimension-tp2956401p2956401.html
Sent from the R help mailing list
your help,
Jack
--
View this message in context:
http://r.789695.n4.nabble.com/keep-par-settings-after-device-closes-tp2542910p2542910.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch
cting from zip file
2: In gzfile(file, "r") :
cannot open compressed file 'CustomCDF_1.1.0.tar.gz/DESCRIPTION', probable
reason 'No such file or directory'
Does anyone know how to convert the package into a windows installable zip
file?
Thanks a bunch,
-Jack
ree SVs.
Here is another question: is the complexity of the boundary determined by
number of total SVs (bounded SV + free SV) or free SVs only?
Thanks a bunch,
-Jack
On Thu, Jul 15, 2010 at 4:17 AM, Pau Carrio Gaspar wrote:
> Hi Jack,
>
> to 1) and 2) there are telling you the same. I
Hi, I'm looking for a way to use densityplot in the lattice package on Date
data or manipulate the labels for tick marks.
Here's an example:
#generate psuedo dates
dat.Date <- as.Date('2009-12-31')+as.integer(abs(rnorm(1))*100)
#convert to a julian date for densityplot
#because it doesn'
Hi All,
I'm using R 2.11.1 on 64 bit windows XP. The little function I wrote below
I use often to import the first 1001 lines in an excel sheet to R. This
works fine on the 32 bit version of R but fails on the 64 bit [both on the
same machine, using the same function, importing the same .xls f
Pau,
Thanks a lot for your email, I found it very helpful. Please see below for
my reply, thanks.
-Jack
On Wed, Jul 14, 2010 at 10:36 AM, Pau Carrio Gaspar wrote:
> Hello Jack,
>
> 1 ) why do you thought that " larger C is prone to overfitting than smaller
> C" ?
>
the largest cost have fewest support vectors, which is contrary
to what I think. please see the scripts below:
Am I misunderstanding something here?
Thanks a bunch,
-Jack
> model1 <- svm(databctrain, classesbctrain, kernel = "linear", cost = 0.01)
> model2 <- svm(datab
; Try to flush output after printing:
>
> cat(paste(Sys.time()),"\n"); flush(stdout())
>
> On Thu, 2010-07-01 at 16:17 -0400, Jack Luo wrote:
>
> Hi,
>
>
> I am doing some computation which is pretty time consuming, I want R to
>
> display CPU time after each it
Hi,
I am doing some computation which is pretty time consuming, I want R to
display CPU time after each iteration using the command Sys.time(). However,
I found that the code only began to display the CPU time after quite a while
and several iterations have finished. Is there a way to ask R to dis
color scheme in the legend? Any advice would be much appreciated.
Jack
Jack B. Monpas-Huber, Ph.D.
Director of Assessment & Student Information
Shoreline Public Schools
18560 1st Ave NE
Shoreline, WA 98155
(206) 368-4774 Office
(206) 947-9926 Cell
Shoreline Assessment Web site
My
of the comparative time efficiencies of
these and other appropriate methods?
I'm not looking for specific code, just sort of a list of the common
approaches with information about efficiency.
Thanks,
Jack
--
View this message in context:
http://r.789695.n4.nabble.com/vectorize-a-
Oh man, totally missed that one! Thanks so much for the reminder.
--
View this message in context:
http://r.789695.n4.nabble.com/read-table-understands-comment-field-and-ignores-text-tp2021036p2021055.html
Sent from the R help mailing list archive at Nabble.com.
___
Hi I'm trying to import a large csv file without quotes around each field.
This creates some problems when there are "#" characters in certain strings
as R understands its comment field and ignores the rest of the line.
Here's an example:
var1, var2, var3, var4
one, two, three, four
Use this
That works, thanks. In addition, is there a way to specify the color and
symbol for some of the figures in the panel, but not all of them? Seems that
the color and symbol arguments apply to all the figures in the panel.
Thanks,
-Jack
On Fri, Mar 12, 2010 at 11:16 AM, Marc Schwartz wrote:
>
Hi,
I am trying to use function pairs to plot the scatterplot, but I only want
to keep the upper triangle, what's the argument to do this?
Thanks,
-Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
My biggest impediment, as a scientist without previous programming
experience, is that the R help is not beginner-friendly. I think it is
probably great for experienced programmers and for the people who helped to
create the software, to help them remember what they did, but I think it is
very di
ax(data)*axExFact, digits=1)))
ymin <- min(c(0, signif(min(data)*axExFact, digits=1)))
barplot(data, ylim=c(ymin, ymax), ...)
}
# example using the function
barplotCovered(data, axExFact=1.1, names.arg=c("a", "b", "c", "d"))
-
Hello,
The function barplot automatically creates a y-axis that doesn't necessarily
cover the range of y-values to be plotted. I know how to manually create my
own y-axis so that it does cover the range, but I was wondering if there is
some parameter to change so that the scale of the y-axis is a
t(MeanByRowTraits[2:5]))
colnames(rotateData) <- c(levels(rowFactor[,1]))
rotateData
#This is the kind of result I want in the end
aggregate (rotateData, colFactor[1], mean)
--
Jack Siegrist
Graduate Program in Ecology & Evolution,
and Department of Ecology, Evolution,
[Apologies in advance if this is too "statistics" and not enough "R".]
I've got an experiment with two sets of treatments. Each subject either received
all treatments from set A or all treatments from set B.
I can compute the N pairwise correlations for all treatments in either set using
cor().
I'm writing SQL queries, and it's very handy to be able to use sQuote for string
parameter values. It makes me wish that I could use an sQuote-like function for
enclosing column names and other identifiers in backticks, i.e., select `foo`
from `table`. Obviously I can do this with paste(), I'm just
ss'])
x.en.rocr <- prediction(x.en.prob, BreastCancer[ind == 2,'Class'])
x.en.perf <- performance(x.en.rocr, "tpr","fpr")
plot(x.en.perf, col=5, add=TRUE)
# Draw a legend.
legend(0.6, 0.6, c('bagging','svm', 'cforest', '
About 2 years ago, Tobias Verbeke asked:
"I am looking for a way to capture the binary string that in normal use of
graphics devices will bewritten to (most commonly) a file connection... Is
there a way of capturing the binary `jpeg string'
[generated by jpeg()]?"
http://tolstoy.newcastle.edu.
David,
Thanks for your reply. Since I am kinda new to this forum, could you please
advise me on where to read those questions in R-help? In addition, I did not
pay much attention to the na.action, probably I should use na.action =
na.omit instead of na.pass.
-Jack
On Mon, Nov 16, 2009 at 2:32
ink="logit"), na.action=na.pass)*
*
*
*Thanks,*
*
*
*-Jack*
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-projec
Hi,
I am now running a cross-validation using coxph coupled with stepAIC for
model selection, is there anyway to suppress the output? It's too much.
-Jack
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Szabolcs Horvát gmail.com> writes:
> You could use the modulo operator.
> >
> > # additional examples of what I want
> > seq(from=2, length.out=4, rlimit=3)
> > [1] 2 3 1 2
>
> seq(from=1, length.out=4) %% 3 + 1
Ah, that's so slick. You're off to a great start! Huge thanks to you and
everyone
Henrique Dallazuanna gmail.com> writes:
> Try rep:
>
> rep(2:4, length.out = 3, times = 10)
That's close, but it doesn't wrap to start at 1.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
1 - 100 of 123 matches
Mail list logo