out a
method of skipping variables where EVERY variable is named (as "bmi" is
named above). I am wondering if there is a reasonably easy way to select
out approximately 30 variables for imputation from a larger dataset with
around 2500 variables, without having to name all
, 0), TSHS_33R = c(0, 0, 0, 0, 0, 0, 0,
0, 0, 0)), row.names = c(NA, -10L), class = c("tbl_df", "tbl",
"data.frame"))
> rstudioapi::versionInfo()
$`citation`
To cite RStudio in publications use:
RStudio Team (2018). RStudio: Integrated Development for R. RS
ery savvy with R, but I appreciate any help people are able
to provide.
tia,
Ian
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
uot;Body fat",ylab="BMI")
serious error. This application, or a library it uses, is using an invalid
context and is thereby contributing to an overall degradation of system
stability and reliability. This notice is a courtesy: please fix this problem.
It will become a fatal error in a
I’m a novice and this message looks like it shouldn’t be ignored. Someone who
knows what they’re doing should probably take a look.
Thanks
Ian Lester
>logfat.lm<-(lm(body.fat~log(BMI)))
> plot(logfat)
Error in plot(logfat) : object 'logfat' not found
> plot(logfat.lm)
Hit
I apologize that I am very new to R and programming in general. I do not
understand the difference between the script, the workspace, and the
history, and what saving each one means.
I seem to be doing fine writing commands and going through lessons and
examples (I'm using Learn R in a Day) but wh
Paul, I happen to be working on the exact same problem. If you found a
solution somewhere, please let me know. I will do the same if I stumble onto
a solution first.
Rich - cost information can be collected prospectively but be censored due
to incomplete follow-up or some other similar reason. Thi
Sent from my iPhone
__
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, minimal, self-contained, reproducible code.
Hi Ista,
I'm using Adobe Reader XI. It's good to hear that the plot was produced
correctly and that it is Adobe that is failing to represent it properly. Thanks!
Ian
From: Ista Zahn
Cc: "r-help@r-project.org"
Sent: Wednesday, 20 F
object 'x' not found"
I'm not sure how to define environments within the functions so that the
just-defined 'x' may be passed as an argument to f1 within f2.
Any help would be greatly appreciated!
Ian Renner
[[alternative HTML version deleted]]
It is also possible to construct the r call in the GUI. See:
http://www.deducer.org/pmwiki/index.php?n=Main.MergeData
Ian
Sent from my iPhone
On Dec 28, 2012, at 4:41 AM, Djordje Bajic wrote:
> see ?merge,
>
> for your dataframes, the following should work:
>
> mer
archived because it called a
Fortran routine no longer available in R >= 2.15.1. This has been
addressed in the current version of glm2.
---
Ian Marschner
Professor, Dept. of Statistics
Macquarie University, Sydney,
Austra
In my case R was not built with X support, and I was also missing some openGL
libraries. The info I needed was in the README inside the unzipped tarball
for rgl. But rgl cleaned up after failing the install, and deleted the
README, so I never new the README was there until I manually untarr'ed th
1 1
2 1 1
3 1 1
Group 2
Cola Colb
1 -11
Group 3
Cola Colb
1 -1-1
2 -1-1
Thank you for you
.
Any pointers as how to proceed? I am currently stumped because "download" is
an internal command and I can't dive into it to trace the source the error.
Ian
Ian Shannon
Landscape Modelling and Decision Support Section
Office of Environment & Heritage
PO Box A290 Sydney South
value of status for XLConnect_0.2-1.zip is 0
trying URL
'http://cran.csiro.au/bin/windows/contrib/2.15/XLConnectJars_0.2-0.zip'
Content type 'application/zip' length 16486857 bytes (15.7 Mb)
opened URL
downloaded 15.6 Mb
the value of status for XLConnectJars_0.2-0.zip is 0
Dear R users,
Over the past month there have been a number of package updates in the deducer
ecosystem. Deducer is a general purpose, extensible, data analysis GUI. It is
designed to be a free easy to use alternative to proprietary data analysis
software such as SPSS, JMP, and Minitab. It has a
Hello R Community,
I don't post to these things often so excuse me if I stumble on my forum
etiquette. This is a complex problem for me, which may require two forum
entries, but I will try my best to be concise. Also, I am a self taught
coder, so if my code is not to convention, your constructi
Thank you Michael,
Your advices are truly appreciated!
Ian
-Original Message-
From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com]
Sent: 13 mars 2012 09:44
To: Ian Schiller
Cc: r-help@r-project.org
Subject: Re: [R] Coding C++ in R. What is faster : Using bosst external
hanks!
******
IAN SCHILLER, M.Sc.
Statistical research assistant,
Division of Clinical Epidemiology, McGill University Health Center
Assistant de recherche en statistiques,
Département d'Épidémiologie Cliniq
, so downloads occur only when necessary.
4. ggplot 0.9.0 integration
More information is available at: http://blog.fellstat.com/?p=130
Ian Fellows
http://www.fellstat.com
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch
(), but I can't get anything similar to work
in this case. I have done some searching in the help archives (and
various of my R books) without identifying anything helpful--so any
suggestions for specific code I might try, or things I need to go read,
etc., would be much appreciated.
Th
> I am not sure if you have found Rcpp yet
I will take a look for sure! Thanks a lot!
Ian
-Original Message-
From: Dirk Eddelbuettel [mailto:e...@debian.org]
Sent: 5 janvier 2012 15:18
To: Ian Schiller
Cc: r-help@r-project.org
Subject: Re: [R] Calling R functions within C/C++
O
mes=n) // Can we call the R rep
function such that this line of code (or any equivalent code) is valid?
...
}
}
}
Thanks,
******
IAN SCHILL
This look really interesting but I don't understand what is happening.
Please can someone explain the last line and what the bit in [] is doing.
Ian
df = data.frame( A=c('a','b','c'), B=c(1,2,3), C=c(10,20,30),
stringsAsFactors=FALSE)
newrow = c('X
while
experimenting with the problem (indicating the specific line of code I
asked him about) followed by Michael's thoughtful reply.
Saludos - Ian
--
Ian G. Robertson
Department of Anthropology
Building 50, 450 Serra Mall
Stanford University, CA 94305-2034
e:i...@stanford.edu
ow is considered as an integer and OK for rowSums etc.
A missing value in col Q00 will be interpreted as a row with one less value
at the end, I think.
Ian
+ yy <- read.table( header = T, sep=",", text =
+ "Q00, Q20, Q21, Q22, Q23, Q24
+ 0, 0, 1, 2, 3, 4
+ 0, 1, 2, 3, 4, 5
+
Hi,
Thanks, your method does indeed work. Thank you.
Last night, I worked out something similar and found out about rowMeans as
well.
Kind wishes,
Ian
yy <- read.table( header = T, sep=",", text =
"Q20, Q21, Q22, Q23, Q24
0,1, 2,3,4
1,NA,2,3,4
2,1, 2,3,4
5,NA,3,NA,NA&q
add together several columns giving the result for each row in
mySum? NA should be treated as a 0. Please, note, I do not want to sum all
the columns, as I think rowSums would do, just the selected ones.
Thanks for your help.
Ian,
> yy <- read.table( header = T, sep=",", text =
It worked fabulously. Thank you so much for help and time.
--
View this message in context:
http://r.789695.n4.nabble.com/ATSP-to-TSP-reformulation-tp3777105p3779476.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
Dr. Hahsler,
Thank you so much for looking at my code. I made sure that I had TSP_1.0-3
install and ran the code again (this time with "<-" instead of "=" for my
assignments). I received the same response. I checked my sessionInfo and
did not see anything out of the ordinary. Does anything loo
Greetings,
I am having trouble getting the function reformulate_ATSP_as_TSP to work for
me. I have provided a simple example of some of the code I've been using.
In particular, I'm not sure why I'm getting the error
"Error in dimnames(tsp) <- list(lab, lab) :
length of 'dimnames' [1] not e
While R has library TSP to help solve traveling salesperson problems, does
anyone know if it has any libraries to help solve multiple traveling
salesperson problems? For instance, suppose one is planning school bus
routes and one has multiple buses. Thank you for your time.
--
View this message
While R has library TSP to help solve traveling salesperson problems, does
anyone know if it has any libraries to help solve multiple traveling
salesperson problems? For instance, suppose one is planning school bus
routes and one has multiple buses. Thank you for your time.
--
View this message
Greetings,
I am having trouble getting the function reformulate_ATSP_as_TSP to work for
me. I have provided a simple example of some of the code I've been using.
In particular, I'm not sure why I'm getting the error
"Error in dimnames(tsp) <- list(lab, lab) :
length of 'dimnames' [1] not eq
Not a new approach, but some benchmark data (the perl=TRUE speeds up Jim's
suggestion):
> x <- c('18x.6','12x.9','302x.3')
> y <- rep(x,10)
> system.time(temp <- unlist(lapply(strsplit(y,".",fixed=TRUE),function(x)
>x[1])))
user system elapsed
1.203 0.018 1.222
> system.time(temp2 <-
> df$a[is.infinite(df$a) | is.nan(df$a) ] <- NA
> df
a
1 NA
2 NA
3 NA
4 1
5 2
6 3
On 5/26/11 3:18 PM, "Albert-Jan Roskam" wrote:
>Hi,
>
>I want to recode all Inf and NaN values to NA, but I;m surprised to see
>the
>result of the following code. Could anybody enlighten me about this?
>
>>
Everything looks OK. Does this help?
> test <-
>data.frame(alpha=as.factor(c("A","A","B","B","C")),number=c(1,2,3,4,5))
> mode(test)
[1] "list"
> class(test)
[1] "data.frame"
> sapply(test, mode)
alphanumber
"numeric" "numeric"
> sapply(test, class)
alphanumber
"factor" "numeric
3975"
>one.month "5" "30.894195075" "37.657271835"
>one.month "6" "29.27843098" "37.59689852"
>one.month "7" "27.5014142975" "34.36265367"
>one.month "8" "26.4055425"
data.frame(lower, upper)
limit.list <- rbind(limit.list, one.month)
}
limit.list
-Ian
On 5/24/11 7:30 AM, "Graves, Gregory" wrote:
>I am trying to create a routine that would take a time series and
>generate monthly 25%tile and 75%tile limits based on 12 calendar months.
>
1 Tuesday 18
27 2006-02-22 Wednesday 19
28 2006-02-23 Thursday 20
-Ian
On May 23, 2011, at 12:30 PM, Geoffrey Smith wrote:
> Thank you for the email. The data is unbalanced, meaning that some days are
> missing. So the sequence of days could be something like Tuesday
ofile and then use
Sys.getenv("DROPBOX_PATH")
to access the path. It seems from looking at forums for Dropbox that there
is no easily accessed environment variable that Dropbox sets for the path
to the Dropbox folder.
--
Ian Gow
Accounting Information and Management
Kellogg School of
Hi:
Reordering the dimensions, then doing a vectorized addition, then reordering
(back) again is faster, it seems.
> m <- 20; n <- 30; p <- 40; q <- 30
> a <- NA
> length(a) <- m * n * p * q
> dim(a) <- c(m, n, p, q)
> x <- 1:n
> a[1:m,,1:p,1:q] <- 0
> b <- a
>
> # Approach 1
> system.time({
+
That approach relies on df1 and df2 not having overlapping values in b.
Slight variation in df2 gives different results:
> df1 <- data.frame(a=c("A","A"),b=c("B","B"))
> df2 <- data.frame(b=c("B","B"),c=c("c","c"))
> merge(df1,df2,all=TRUE)
b a c
1 B A c
2 B A c
3 B A c
4 B A c
On 5/15/11 11:1
Hi:
This is a bit of a kluge, but works for your test case:
> df2[,setdiff(names(df1),names(df2))] <- NA
> df1[,setdiff(names(df2),names(df1))] <- NA
> df3 <- rbind(df1,df2)
> df3
a b c
1 A B
2 A B
3 b c
4 b c
-Ian
On 5/15/11 7:41 PM, "Jonathan Flowers" wro
N df_2 AS b ON
a.time BETWEEN b.start AND b.end")> df_3 time value
1 101 1
2 199 1
3 301 1
4 401NA
5 501 3
6 601 3
7 700 3
8 800 5
9 900 5
10 1000NA
On Sat, May 14, 2011 at 1:06 PM, René Mayer wrote:
> thanks David and Ian,
If I assume that the third column in data.frame.2 is named "val" then in
SQL terms it _seems_ you want
SELECT a.time, b.val FROM data.frame.1 AS a LEFT JOIN data.frame.2 AS b ON
a.time BETWEEN b.start AND b.end;
Not sure how to do that elegantly using R subsetting/merge, but you might
try a packa
Hi Dieter,
Thank you for that! Your post helped me on my way by introducing me to the
padding settings within lattice, and I'm nearly there now.
My new problem related to this graph is that I would like to add a polygon to
one of the panels, but it seems that my code also adds the polyg
our help, and for your work on maintaining R.
Best,
Ian
2011/4/12 Uwe Ligges
>
>
> On 11.04.2011 21:03, Douglas Bates wrote:
>
>> The first thing to do is try another mirror. The "official" (or as
>> official as we ever get about anything) U.S. mirror is
>>
2011/4/12 Uwe Ligges
> On 12.04.2011 14:52, Ian Davis wrote:
>
>> I really do appreciate the help from you and Douglas on resolving this
>> problem. However, I respectfully disagree on a few points:
>>
>> - install.packages() was broken and f
t the same problem with all of them. They think
the current version is 1.4.1, but they don't have any files available for
download.
Hope this helps,
Ian
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://st
)),colorkey=list(space="bottom")),split=c(2,2,3,2),newpage=FALSE)
print(levelplot(z~x*y,data=data.C1,col.regions=terrain.colors,asp="iso",xlab =
"", ylab = "", main="Method
C",scales=list(y=list(draw=F),x=list(draw=F)),colorkey=FALSE),split=c(3,
just copy the Rcmd.bat file into the
Rtools/bin folder for example. This will prevent any change to the path and
avoid typographical errors.
Thanks!
Ian
******
IAN SCHIL
> You likely have the Hide extensions options enabled on your Windows system.
Yes you're right! Guys, I thank you all for your precious help!
Ian
******
IAN SCHILL
tar.gz'
Directory of C:\R
03/24/2011 01:16 PM .
03/24/2011 01:16 PM ..
03/24/2011 01:08 PM HSROC
03/24/2011 01:16 PM47,976 HSROC_1.0.0.tar.gz
1 File(s) 47,976 bytes
ent variables that may
compensate for a mis-configured system.
Thanks! I'll try this too.
Ian
******
IAN SCHILLER, M.Sc.
Statistical research assistant,
Division of
an't see.
Agree.
> Can you try doing the build on a 32 bit OS, or on Windows 7?
I'll give it a shot.
Thanks again Mr. Murdoch (got it now!)
Ian
******
IAN SCHILLER
Oh Sorry Mr Murdoch! I read a post where both you and Brian Ripley were
involved and the confusion probably arose from that!
Ok thanks Mr Ligges.
Ian
**
IAN SCHILLER
with the R CMD build
command. Then my question would be the following. If I submit my package to
CRAN do you know if it needs to be tar.gz or will a tar file be accepted?
Thanks
I also have the
latest version of Rtools (Rtools212.exe). My operating system is Windows XP
professional x64 edition if it can help. Any clues on how to solve this issue
would be appreciated.
Ian
*********
ata_gpsur$t_datetimegps,
gpsARC=data_gpsur$gpsARC, y=data_gpsur$y, x=data_gpsur$x,
tot_pos=data_gpsur$TOT_POS)
testdata <- testdata[order(testdata$gpsARC, t_datetimegps),]
Thoughts?
On Wed, Nov 10, 2010 at 2:09 PM, Sarah Goslee wrote:
> Hi Ian,
>
> Did you see the second part of my request,
0
0 0 2009-07-23 11:15:00 141
15 38-C 217276 12/21/2008 4:31 12/22/2008 16:31 12/21/2008 4:31 0
0 0 2008-12-22 16:31:00 151
On Wed, Nov 10, 2010 at 1:12 PM, Sarah Goslee wrote:
> On Wed, Nov 10, 2010 at 12:57 PM, Ian Craig wrote:
> > Greeting
Greetings Supreme Council of R Masters,
Like toddler, I have gotten my head stuck in the banisters of R ... again.
Let it be know I am still a neophyte in the R-community forum world, so
please don't flame me too bad.
I have two sets of data, each with a set of timestamps. I would like to
someh
quare is 1.485 times *main-plot* residual mean square.
--
ian m s white
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/listi
te[1]
tract <- paste(state.temp,".tract",sep="")
data(tract)
Warning message:
In data(tract) : data set 'tract' not found
Ian McCarthy, Ph.D.
F T I
214.397.1761 direct
214.663.1683 mobile
ian.mccar...@fticonsulting.com
<mailto:firstname.lastn
existing package with the package I will create
so that one doesn't have to install my package and then the package in which
some of my functions depend on?
Thanks!
Ian
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
Hi all,
I was trying to fit random slope cox proportional hazards model on counting
process type of data (right censoring data), but the
coxme(Surv(time1, time2, event)~ x + (1+x | cluster))
did not seem to work.
I'd appreciate it if anyone can help me with that.
[[alternative HTML
systems
New Features:
1. Graphics device save support for png, jpeg, bmp, and tiff
2. User control over the menu system has been improved. Added ability to insert
new menus, menu items, separators, and sub-menus. Menus and menu items can also
be removed.
Ian Fellows
A new version of Deducer (0.4) has been sent to CRAN, and should be
propagating to all the mirrors in due course. Also, a new plug-in
package (DeducerExtras) has also been released to CRAN, containing
additional dialogs and functionality.
I would like to take this opportunity to thank the
Hi all,
I've got two persp plots with Identical X and Y's, and I'd like to plot them
on the same graph, so that it is obvious where one plot is above the other.
I can't find any mention of this anywhere. Do I need to use wireframe?
Any help is appreciated.
Thanks,
roblems on google.
Thanks again,
Ian
On 14 July 2010 03:56, Dennis Murphy wrote:
> Hi:
>
> This is untested, so caveat emptor. I believe Hadley is busy teaching a
> ggplot2 course this week so his availability is limited at best. I guess I
> can give it a shot...
>
> You need a
at 10:24 AM, Erik Iverson wrote:
> Do you care to share your sessionInfo() , as the Posting Guide asks?
>
> I cannot reproduce on:
>
> R version 2.11.1 (2010-05-31)
> i486-pc-linux-gnu
>
>
>
> On 07/13/2010 09:07 PM, Ian Seow wrote:
>
>> Hi, I'm encou
01"
> as.POSIXlt("1972-01-01")
[1] "1972-01-01"
> as.POSIXlt("1962-01-01")
[1] "1962-01-01"
Thanks.
Ian
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.
ot;
> as.POSIXlt("1972-01-01")
[1] "1972-01-01"
> as.POSIXlt("1962-01-01")
[1] "1962-01-01"
Ian
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/list
;Network Complexity (nodes)') + ylab('Battery Cost (uJ)') +
--END--
And this works great, except that I think that I am not being very R'y,
since now I want to add a legend saying that circle (i.e. shape 1) is the
minimum, and shape 2 is the med, and shape 3 is max.
I'd al
histogram data,
so that the y values which have more density in the subframe are darker, and
the ones with less density are lighter.
I know this is fairly particular, and may not be possible, but it would be
really great for me!
If anyone can help - thanks!
--
Ian Bentley
M.Sc. Candidate
Queen
uch.
Can anyone give me a helping hand?
--
Ian Bentley
M.Sc. Candidate
Queen's University
Kingston, Ontario
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
hough, I tried a number of things
ydata <- seq(length=100, from=1, by=0)
p1 <- c(data[1], ydata)
seems to be the close to what I want, but it isn't quite right. Can anyone
give me an idea how to associate the 100 data points with a y-coord, so that
I can then use them in a boxplot/wh
including Send,
Receive.
Anyways, I'd appreciate a push in some direction - hopefully the right one
:).
--
Ian Bentley
M.Sc. Candidate
Queen's University
Kingston, Ontario
[[alternative HTML version deleted]]
__
R-help@r-project.org
Tufte's term) and distracts.
>
>
> I'll keep this in mind. I am just using this chart for my own analysis
now, and probably won't include it later.
> Bert Gunter
> Genentech Nonclinical Biostatistics
>
>
>
> -Original Message-
> From: r-help-boun..
x scatterplot to see the relationship.
>
> Bert Gunter
> Genentech Nonclinical Biostatistics
>
>
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On
> Behalf Of Hadley Wickham
> Sent: Friday, June 11,
="")
tmp <- read.table(tmpFile)
}
--- But I really don't know how to handle massaging this data into the
matrix I need.
I hope this makes sense, I find it a little hard to describe.
Can anyone give me some help jumping into this one?
Thanks
--
Ian Bentley
M.Sc. Candidate
Queen&
factor.result=F)
)
# ~ 3.5s elapsed
# David Winsemius suggests
system.time(
elevation.DW <- (Population=="CO")* 2169+
(Population=="CN")* 1121+
(Population=="Ga")* 500+
(Population=="KO")* 2500+
(Popula
O",
"Mw", "Ng"), c(2169, 1121, 500, 2500, 625, 300), c(NA, NA, NA, NA, NA,
NA))
# It makes sense to me why this does not work (elevation.take.2), but
I am not sure how to get it to work. Any suggestions? I suspect it
involves a trick using "any" or "II&quo
Here's another possibility:
> x <- c("Apple12","HP42","Dell91")
> strsplit(x,"(?<=\\D)(?=\\d)", perl=TRUE)
[[1]]
[1] "Apple" "12"
[[2]]
[1] "HP" "42"
[[3]]
[1] "Dell" "91"
Krishna Tateneni writes:
> Greetings,
>
> I have a vector of values that are a word followed by a number, e.g.,
Hi, how do I convert a character vector into a string?
c("a","b","c") into "a b c"
Thanks!
[[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
/
deducer
All the best,
Ian Fellows
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
vector of size 255.9 Mb
However, I had set the maximum memory to 4095 Mb and had used only 926 Mb to
that point.
If I try to use a smaller chunksize, I get this error:
>Error in model.frame.default(tt, chunk) : variable lengths differ (found for
>'Xdes')
Can
emory to 4095 Mb and had used only 926 Mb to
that point.
If I try to use a smaller chunksize, I get this error:
>Error in model.frame.default(tt, chunk) : variable lengths differ (found for
>'Xdes')
Can anybody help me with this?
Thanks,
Ian
You're minimizing the log likelihood, but you want to minimize the *negative*
log likelihood. Also, optimize() is better than optim() if you have a
function of only one argument.
Replace
Jon Moroney wrote:
>
> #Create the log likelihood function
> LL<-function(x) {(trials*log(x))-(x*sumvect)}
Hi all, I have a script running on a Windows XP 32 bit OS under R 2.9.2
I am experiencing a character string limitation of 64 chars. Is this a
general limitation of R or am I missing something?
Any help appreciated.
Regards,
Ian
--
View this message in context:
http://n4.nabble.com
Announcing a new version of Deducer:
Deducer 0.2-1 is an intuitive, cross-platform graphical data analysis
system. It uses menus and dialogs to guide the user efficiently through
the data manipulation and analysis process, and has an excel like
spreadsheet for easy data frame visualization and edi
object
s1 <- nchar(mdl1$frame$splits[, 1]) > 0
sp1 <- mdl1$frame$splits[s1, 1]
mdl1$frame$splits[s1, 1] <- paste("<", round(as.numeric(substr(sp1,
2, nchar(sp1))), 2), sep="")
#(better) output
plot(mdl1); text(mdl1, cex=.6)
##
ot(mdl1); text(mdl1, cex=.6)
plot(mdl1); text(mdl1, cex=.6, digits=2) #no change to labelling
#help!
?text.tree
Can anyone spot my error? Many thanks for any help.
Ian Robertson
__
R-help@r-pro
erent rows?
Thank u for your help
regards,
Ian
-Oorspronkelijk bericht-
Van: William Dunlap [mailto:wdun...@tibco.com]
Verzonden: maandag 19 oktober 2009 18:08
Aan: Ian Willems; r-help@r-project.org
Onderwerp: RE: [R] how to get rid of 2 for-loops and optimize runtime
> -Original
nk u for your time
Greetings,
Ian
-Oorspronkelijk bericht-
Van: joris meys [mailto:jorism...@gmail.com]
Verzonden: maandag 19 oktober 2009 16:12
Aan: Ian Willems
CC: r-help@r-project.org
Onderwerp: Re: [R] how to get rid of 2 for-loops and optimize runtime
Hi Ian,
first of all, take
e output
I guess I need code that requires linear time and need to get rid of the 2 for
loops.
can someone help me or tell me what else I can do to optimize my runtime
I use R 2.9.2
windows Xp service pack3
Thank you in advance
Best regards,
Willems Ian
*
dataset[
try
sum(a > b)
sum(b > a)
sum(a == b)
Ian
nedmt60 wrote:
>
> i have
>
> a = rpois (10, x)
> b = rpois (10, y)
>
> what is the code to show that a>b, b>a and a=b to show just the number of
> occurances?
> at the moment when I type a>
Deducer 0.1 has been released to CRAN
Deducer is designed to be a free, easy to use, alternative to proprietary
software such as SPSS, JMP, and Minitab. It has a menu system to do common
data manipulation and data analysis tasks, and an excel-like spreadsheet in
which to view and edit data frames.
Jim-
That did the trick- thanks so much for taking the time to help me out.
Sincerely,
Ian Chidister
On Wed, Jul 29, 2009 at 11:57 AM, Ian Chidister wrote:
> Dear List,
>
> I'm an [R] novice starting analysis of an ecological dataset containing the
> basal areas of different
1 - 100 of 134 matches
Mail list logo