Thank you very much Luke,
With regards,
Tal
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
-
Hi Felipe
On 22 March 2012 10:13, Felipe Nunes wrote:
> I'm using censReg() to run a random effects model, but R is having an error.
> Can you help me understanding why?
>
> When I run this model, everything works fine:
>
> tob1 <- censReg(transfers.cap ~ factor(year) + district2 + gdp.cap - 1,
>
Since I thought this was a cool question, I posted it to StackOverflow.
Vincent Zookynd's answer is amazing and really exercises the power of R.
http://stackoverflow.com/questions/10150161/ordering-117-by-perfect-square-pairs/10150797#10150797
On Fri, Apr 13, 2012 at 10:06 PM, Bert Gunter wr
Dear Stefano,
A practical way might be as the following
R> acc<-read.table("acc.txt",header=T) #reading your data into R
R> acc.may<-acc[acc[,3]==5,] #subsetting data with respect to may
R> acc.may.order<-acc.may[order(acc.may[,4]),] #ordering with respect to day
R> mean(acc.may.order[1:7,5]) # m
Stefano,
On 13 April 2012 20:51, Stefano Sofia wrote:
> I have a data frame as below specified.
> From the 1st of May to the 30th of September of several years (e.g. from
> 2004 to 2011) I have a frequency of accidents.
> I need the mean of accidents divided by weeks (i.e. the mean of accidents
>
... and a moment's more consideration immediately shows it cannot be
done for n = 18, since 16,17, and 18 cannot all be at an end.
-- Bert
On Fri, Apr 13, 2012 at 9:59 PM, Bert Gunter wrote:
> Folks:
>
> IMHO this is exactly the **wrong** way t go about this. These are
> mathematical exercises t
Folks:
IMHO this is exactly the **wrong** way t go about this. These are
mathematical exercises that should employ mathematical thinking, not
brute force checking of cases.
Consider, for example, the 1 to 17 sequence given by Ted. Then 17
**must** be one end of the sequence and 16 the other. (Why
On Fri, Apr 13, 2012 at 10:34:49PM +0100, Ted Harding wrote:
> Greetings all!
> A recent news item got me thinking that a problem stated
> therein could provide a teasing little exercise in R
> programming.
>
> http://www.bbc.co.uk/news/uk-england-cambridgeshire-17680326
>
> Cambridge Universit
Dear list users,
I have a data frame as below specified.
From the 1st of May to the 30th of September of several years (e.g. from 2004
to 2011) I have a frequency of accidents.
I need the mean of accidents divided by weeks (i.e. the mean of accidents from
the 1st to the 7th of May of all the year
read your file with readLines(). copy the first few lines for me to read
here
test <- readLines(yur filename)
test[1:5]
post the result. we can figure it out from there
On Apr 13, 2012 11:46 AM, "AMFTom" wrote:
> Dear Thierry,
>
> Thanks for your help. Now though, I try to import data from a tx
This sounds like possibly using logsplines may be what you want. See
the 'oldlogspline' function in the 'logspline' package.
On Thu, Apr 12, 2012 at 7:45 AM, Michael Haenlein
wrote:
> Dear all,
>
> This is probably more related to statistics than to [R] but I hope someone
> can give me an idea h
see below.
On Fri, Apr 13, 2012 at 8:50 PM, Kjetil Halvorsen
wrote:
> I am experimenting with rSymPy, and it seems to work nice.
>
>
> However, I dislike the need to wrap all sympy expressions within
> quotes, it leads to ugly calls like
> library(rSymPy)
> Var("x,y,z")
> sympy("(x+y)**2")
> and
I am experimenting with rSymPy, and it seems to work nice.
However, I dislike the need to wrap all sympy expressions within
quotes, it leads to ugly calls like
library(rSymPy)
Var("x,y,z")
sympy("(x+y)**2")
and so on.
Inspired by the function cq from mvbutiles package:
library(mvbutils)
> cq
fun
Hi all,
I got another solution, and it would apply probably for the ugliest one :-(
I made it general enough so that it works for any series from 1 to n (n
not too large, please... tested up to 30).
Hint for a better algorithm: inspect the object 'friends' in my code:
there is a nice pattern
I thought this was kinda cool! Here's my solution, its not robust or
probably efficient
I'd to hear improvements or other solutions!
Justin
sq.test <- function(a, b) {
## test for number pairs that sum to squares.
sqrt(sum(a, b)) == floor(sqrt(sum(a, b)))
}
ok.pairs <- function(n, vec
Dear R Helpers
I'm investigation the geostatistics tools in R and have found the package
'gstat', which looks to be useful four two dimensional data. However, I
usually deal with three dimensional information. I would like to compute a 3D
variogram map using the variogram tool but cannot seem
I am trying to merge two data frames, but one of the column headings are
different in the two frames. How can I rjoin or rbind the tho frames?
Johnny
# Generate 2 blocks by confounding on abc
d1 <- conf.design(c(1,1,1), p=2, block.name="blk", treatment.names =
c("A","B","C"))
d2 <- conf.design(c(
Hi,
I know this is probably a stupid question... But I don't seem to find the
answer.
I'm fitting a GLM with a Poisson family, using MASS, and then tried to get a
look at the predictions, however the offset does seem to be taken into
consideration:
model_glm=glm(cases~rhs(data$year,2003)+lhs(d
OK, well list.dirs() seems broken to me. In case someone else needs a
working version, I wrote a new function called lsdir(). It adds the
ability to choose whether to include hidden directories. It should
work on Mac and probably Linux/Unix.
lsdir <- function(path, format = "relative", recursiv
Is putting a variable into a list a deep copy (and is tracemem the
correct way to confirm)?
warmstrong@krypton:~/dvl/R.packages$ R
> x <- rnorm(1000)
> tracemem(x)
[1] "<0x3214c90>"
> x.list <- list(x.in.list=x)
tracemem[0x3214c90 -> 0x2af0a20]:
>
Is it possible to put a variable into a list with
Well...
?format
(strangely enough).
Try searching in R at least a wee bit before posting.
-- Bert
On Fri, Apr 13, 2012 at 12:35 PM, mrzung wrote:
> hi all,
>
> What I want to do is show a number with thousand expression.
>
> I dont know exactly the expression name but here is example.
>
> 1,0
try this:
> x <- read.table(text = " tree live1 live2 live3 live4 live5
+1 tree1 0 0 0 1 1
+2 tree2 0 0 1 1 0
+3 tree3 0 1 1 0 0
+4 tree4 1 1 0 0 0
+6 tree4 1 1 1 1 0 # anothe
try this:
> prettyNum(1, big.mark = ",")
[1] "100,000,000"
>
On Fri, Apr 13, 2012 at 3:35 PM, mrzung wrote:
> hi all,
>
> What I want to do is show a number with thousand expression.
>
> I dont know exactly the expression name but here is example.
>
> 1,000
> 10,000,000
>
> is ther
I am using the codes below,
options(max.print=5.5E5)
x=rep(1,1052)
b=read.fwf(file="efetez.binary", widths=c(6,x),header=FALSE)
and i get " C stack usage is too close to the limit" this error. I want to
get my data like ;
molecul id v1 v2 v3 .
190
I can't figure out why this is returning an NA for the slope in one case,
but not in the other.
I can tell that R thinks the first case is singular, but why isn't the
second?
## Define X and Y
## There are two versions of x
## 1) "as is"
## 2) shifted to start at 0
y = c(58, 57, 57, 279,
> I'm trying to get the proportion "true" for dichotomous variable for
various
> subgroups in a survey.
Sorry, I'm new to the list, and just saw the advice about minimally
reproducible code. Here goes:
library(survey)
foo <- data.frame(id = 1:25,
weight = runif(25),
I'm use RPostgreSQL to access data on a Postgres server. I would like to
keep my SQL statements in external files, as they're easier to write and
debug in pgAdmin, then I use readLines to bring them into R and feed to
dbGetQuery.
Here's the problem. When I create a SQL script with pgAdmin, then lo
Hi,
I have reconstructed ancestral character states on a phylogeny using MuSSE in
the diversitree package and plotted the character state probabilities as pie
charts on the nodes. I would, however, like to colour the character states of
my extant species, i.e. the tip labels, the same colours a
hi all,
What I want to do is show a number with thousand expression.
I dont know exactly the expression name but here is example.
1,000
10,000,000
is there a way to express a number like that?
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-define-format-of-number-tp4
Hi,
I have some C++ code that I compiled into a dll for use in 32 bit R and
would like to recompile for use in 64bit R. I thought it would be as easy
as going to R-2.15.0\bib\x64 and running R CMD SHLIB mfregRF.c
but that doesn't do anything. It doesn't give me any error messages, but
it also
Greetings all!
A recent news item got me thinking that a problem stated
therein could provide a teasing little exercise in R
programming.
http://www.bbc.co.uk/news/uk-england-cambridgeshire-17680326
Cambridge University hosts first European 'maths Olympiad'
for girls
The first European gir
As lowess() is mentioned another in similar vein is locfit() from
package locfit
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email home: mac...@northnet.com.au
At 00:07 14/04/2012, you wrote:
Since you have only one dependent varia
The level 2 is a heuristic meant to help with certain kinds of
programming idioms. It isn't always going to work. In this case
trace(cmpfun) will show three functions being compiled each time
through. Not sure why -- I'll try to find out and see if it can be
avoided.
luke
On Thu, 12 Apr 2012, T
Hi Scott:
On Apr 13, 2012, at 1:45 PM, Waichler, Scott R wrote:
> Hi, I've read up on readBin() and chapter 6 in the R Data Import/Export
> manual, but I still can't read a binary file. Here is how the creator of the
> file described the code that would be needed in Fortran:
>
> "Every record
Hello Folks,
I have 5 columns for thousands of tree records that record whether that
tree was alive or dead. I want to recode the columns such that the cell
reads "found" when a live tree is first observed, "alive" for when a
tree is found alive and is not just found, and "mort" when it was
previ
Hi, I've read up on readBin() and chapter 6 in the R Data Import/Export manual,
but I still can't read a binary file. Here is how the creator of the file
described the code that would be needed in Fortran:
"Every record has a return in fortran. The length of each record is nx*ny*4.
To read y
Milan,
Merci. I did find the javah file and put it in /usr/bin, where R can now find
it.
However, I still get a similar error message when trying to install rJava, i.e.
configure: error: One or more Java configuration variables are not set.
The only field that doesn't have a value now are t
Ben Bolker gmail.com> writes:
>
> I'm not quite sure how to do it, but I think you should look
> at the ?band function in Matrix. In combination with diag() of a
> suitably truncated matrix, you should be able to extract bands
> of sparse matrices efficiently ...
>
getband <- function(A,k
Sorry this is more like a Python question, but I believe many R users
also know well about Python, so here is my question: I want to run
python code like source(file, echo = TRUE) in R, i.e. echo both the
source code and the output.
This only shows the output:
python -c 'print "hello"'
Thanks!
Duncan
Brilliant. This solved the problem. Library (rgl) is now
accessiible, and the plot3d function works fine in X11 (which I think
is how it worked before anyway). Whatever I may be missing, I don't
think I'll notice.
Best,
Mark
On Apr 13, 2012, at 11:08 AM, Duncan Murdoch wrote:
On 13-04-2012, at 10:32, Martin Maechler wrote:
> I think that's my first true question (rather than answer)
> to R-help.
>
> As R has, for a long time, become my primary scripting and
> programming language, I'm prefering at times to write Rscript
> files instead of shell scripts, notably when
Moreno I. Coco sms.ed.ac.uk> writes:
[snip snip snip]
>
> So, I have written my own spdiags function (below); following
> also a suggestion in an old, and perhaps unique post, about
> this issue.
>
> It works only for square matrices (that's my need), however I
> have a couple of issues, mai
as.Date() attemps to coerce a character string to a date where you
specify the input format -- if you want to specify an output format,
you need ?strftime [str + f + time == string format time]
E.g.,
titleDate <- as.Date("2011-05-03", format = "%Y-%m-%d")
plot(1:10, main = strftime(titleDate, "%
Have you correctly set the value of the 'sep' argument to read.table?
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 4/13/12 7:28 AM, "AMFTom" wrote:
>Dear Thierry,
>
>Thanks for your help. Now though, I try to impor
This is a case where you need to provide a sample of your data. Most
likely it is not in a format that read.table can read with the parameters
you have given it. It may have different field separators, it might have
"#" in data fields, you might have unbalanced quotes, etc. So it is a
problem in
Dear Prof. Fox,
I got the point, things are clear now.
Thank you very much,
Best wishes
Ozgur
-
Ozgur ASAR
Research Assistant
Middle East Technical University
Department of Statistics
06531, Ankara Turkey
Ph: 90-312-2105309
--
View this message in conte
Hello all,
I can't seem to figure out how to format a date as a title. I have
something like this:
plot(x=1:10, y=runif(10,1,18), main=paste(as.Date("2011-05-03",
format="%Y-%m-%d")))
## When I would really like this
plot(x=1:10, y=runif(10,1,18), main=paste("May-03-2011"))
## I thought to try
Hello
I'm trying to get the proportion "true" for dichotomous variable for
various subgroups in a survey.
This works fine, but obviously doesn't give proportions directly:
svytable(~SurvYear+problem.vandal, seh.dsn, round=TRUE)
problem.vandal
SurvYear FALSE TRUE
1995 8906 786
Hi all,
I could use the function when I am in the console. After I finish my
assignment and compile them to the pdf, there was an error said, could not
find the function XXX.
How come this happen? I am a new user to R. Thanks for everyone's help!
--
View this message in context:
http://r.789695
Sorry if I was not clear. I wanted to remove the superscripts using xpath
queries if possible. For example this will get p nodes with superscripts,
but how do I remove the superscripts if there are many matching nodes and
different superscripts?
xpathSApply(doc, "//p[sup]", xmlValue)
[1] "Cata"
Hello,
jeff6868 wrote
>
> Dear users,
>
> I'm quite a new french R-user, and I have a problem about doing a
> correlation matrix.
> I have temperature data for each weather station of my study area and for
> each year (for example, a data file for the weather station N°1 for the
> year 2009, a
it works in console, like this:
> mult.corr(X,Y)
$mult.corr
[1] 0.8382398
$p.mult
[1] 3.570699e-12
$partial.corr
[1] 0.18447499 -0.09837888 0.12007457
$p.partial
[1] 0.2094076 0.5058976 0.4162641
and it doesn't work when compiling.
Error: chunk 3 (label = ques3)
Error in eval(expr, envir, e
I posted this to BioC yesterday, but I'll include it here for completeness:
The expression array idats are indeed encrypted. However you can read them
using the package available here:
http://www.compbio.group.cam.ac.uk/Resources/IDATreader/
You can get back a data.frame containing the summar
Thank you Andy. I obviously neglected to read into the help file and,
frustratingly, could have known this all along. However, I am still
interested in knowing the relative maximum value in the partial plots via
query instead of visual interpretation (and possibly getting at other
statistical mea
Hello Steve,
thank you for your reply. You're right, just before I read your post
I'd found aggregate() and indeed it brought me a long way towards my
goal.
I've been a C programmer for 20+ years, and I'm fairly firm in SQL, so
to understand R I need to lose my scalar and row (record) oriented
th
Dear Thierry,
Thanks for your help. Now though, I try to import data from a txt file, and
it says either
> mydataframe <- read.table("Lv2.8.txt")
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 3 did not have 15 elements
or
> mydataframe <- read.table("Lv
Here is one approach:
tmp <- rbinom(10, 100, 0.78)
mp <- barplot(tmp, space=0, ylim=c(0,100))
tmpfun <- colorRamp( c('green','yellow',rep('red',8)) )
mat <- 1-row(matrix( nrow=100, ncol=10 ))/100
tmp2 <- tmpfun(mat)
mat2 <- as.raster( matrix( rgb(tmp2, maxColorValue=255), ncol=10) )
for(i in
Dear Özgür,
car::vif() produces a warning, not an error. It will proceed to compute VIFs
based on the correlation matrix of the coefficients (take a look at
car:::vif.lm) even if there is no intercept, and even though this would not
normally correspond to variance inflation due to correlation o
one way to solve your problem is to fetch the directory using rcurl. then
mapply using the dirlist as a parameter passed to download file
On Apr 13, 2012 9:24 AM, "MacQueen, Don" wrote:
> If you take a thorough look at the help page for download.file, and follow
> its advice, you may find a solut
Make sure you use the log S(t) basis on both systems (and avoid log-log S(t)
basis as this results in instability in the front part of the survival
curve).
Frank
Paul Miller wrote
>
> Hi Enrico,
>
> Not sure how SAS builds the CI but I can look into it. The SAS
> documentation does have a sectio
Matt,
> I've been using a custom summary function to optimise regression model
> methods using the caret package. This has worked smoothly. I've been using
> the default bootstrapping resampling method. For bagging models
> (specifically randomForest in this case) caret can, in theory, uses the
>
Dear all,
I have faced a problem while calculating VIF values via the packages, car
and HH for the models witout intercepts. Below is an illustrative example:
1) via the car package
> y<-rnorm(100,0,1)
> x1<-rnorm(100,0,1)
> x2<-rnorm(100,0,1)
> x3<-rnorm(100,0,1)
> model1<-lm(y~-1+x1+x2+x3)
> m
When using 'scan' I had no problem reading a string that had 1000 'columns'
> x <- scan('/temp/tempxx.txt', what = list(0L, ''))
Read 14 records
>
> str(x)
List of 2
$ : int [1:14] 129876 129876 129876 129876 129876 129876 129876 129876
129876 129876 ...
$ : chr [1:14]
"10101011100000011
If you take a thorough look at the help page for download.file, and follow
its advice, you may find a solution.
Hint:
The help page for download.file says,
-- quote --
The function 'download.file' can be used to download a single file
as described by 'url' from the internet and store it in
I use Emacs and ESS, with the coding standards in one of the R manuals.
I have to insert the carriage returns where I want them, but Emacs/ESS
indents the code correctly
G
On Fri, 2012-04-13 at 22:17 +0800, Wincent wrote:
> Thanks, Gavin and Duncan.
>
> In that case, what I need is a suitable ed
You can probably try knitr; see the manual for example:
https://github.com/downloads/yihui/knitr/knitr-manual.pdf
Code reformatting is based on the formatR package
(https://github.com/yihui/formatR/wiki), which tries to preserve your
comments while breaking your long lines into shorter ones.
Howe
On Fri, Apr 13, 2012 at 12:09 AM, Yogesh Tiwari
wrote:
> Dear David,
>
> Thanks,
>
> I could read and open .nc file in R, but now how to plot a simple filled
> color. [...]
Hi Yogesh,
glad to hear that the ncdf package is doing its job correctly. I'm
sure you understand that I don't have the res
Hi Enrico,
Not sure how SAS builds the CI but I can look into it. The SAS documentation
does have a section on computational formulas at:
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_lifetest_a000259.htm
Although I can't provide my dataset, I can p
Without seeing your code, it's hard to say much more, but do avoid using
formula when you have large data.
Andy
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Jason & Caroline Shaw
Sent: Friday, April 06, 2012 1:20 PM
To: jim ho
Thanks, Gavin and Duncan.
In that case, what I need is a suitable editor which can break the
command properly.
All the best
On 13 April 2012 19:33, Gavin Simpson wrote:
> On Fri, 2012-04-13 at 17:46 +0800, Wincent wrote:
>> Dear useRs,
>>
>> I am writing a vignette for a package, which contains
On 04/12/2012 09:11 PM, David Winsemius wrote:
On Apr 12, 2012, at 3:49 PM, Aye wrote:
Okay, i got this far:
f <- function(x) 0.25*x^2 + 6.47*x -32.6
g <- function(x) 0.99*x^2 -6*x -195
h <- function(x) 0.77*x^2 +14*x -495
j <- function(x) 0.001*x^2 + 65*x -785
k <- function(x) 0.9*x^2 -2*x -6
Hi,
I am trying to list all the sub-directories in a particular directory
and having a few issues. list.dirs seems to be slightly broken and/or
poorly labelled. My issue appears to be the same as this one, from
the archives:
http://tolstoy.newcastle.edu.au/R/e16/help/11/11/1156.html
Here is so
Hi there,
I have a task of two group samples' comparison for ordinal variable, the
possible values are from 0 to 3 with many many ties for about 60 samples
totally. I am wondering if wilcox test is a proper one and which wilcox
test like a regular wilcox.test in R or the version wilcox_test in pac
Since you have only one dependent variable, try using lowess()
instead. It is less flexible -- only does local linear robust fitting
-- but has arguments built in that allow you to sample and interpolate
and limit the number of robustness iterations. It runs considerably
faster as a result.
-- Ber
Le vendredi 13 avril 2012 à 06:09 -0700, arunkumar a écrit :
> Hi
>
> I've a dataset with record A = 100,200,300,400...
>
> There will be a parameter n. say n=10 means i have add 10% of previous
> value to the current row
>
> current_Val New_value
> 100 100
> 200
Please read the help page for the partialPlot() function and make sure you
learn about all its arguments (in particular, "which.class").
Andy
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of jmc
Sent: Wednesday, April 11, 2012 2:4
Alternatively, use only a subset to run loess(), either a random sample or
something like every other k-th (sorted) data value, or the quantiles. It's
hard for me to imagine that that many data points are going to improve your
model much at all (unless you use tiny span).
Andy
From: r-help-b
On Apr 13, 2012, at 9:08 AM, John Coulthard wrote:
Dear R list people
I loaded a file of numbers into R and got a dataframe of factors.
So I tried to convert it to numeric as per the FAQ using as.numeric().
Actually you used as.numeric(as.character()) which should have been
successful
On 13 April 2012 at 10:32, Martin Maechler wrote:
| I think that's my first true question (rather than answer)
| to R-help.
|
| As R has, for a long time, become my primary scripting and
| programming language, I'm prefering at times to write Rscript
| files instead of shell scripts, notably whe
f is a dataframe of factor, not a factor
use either
as.numeric(levels(f$your.factor))[f$your.factor]
or if f only contains factors
apply(f, 2, function(x){as.numeric(levels(x))[x]})
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Bio
Le vendredi 13 avril 2012 à 13:08 +, John Coulthard a écrit :
> Dear R list people
>
> I loaded a file of numbers into R and got a dataframe of factors. So I tried
> to convert it to numeric as per the FAQ using as.numeric(). But I'm getting
> errors (please see example), so what am I gett
Le vendredi 13 avril 2012 à 05:44 -0700, efulas a écrit :
> Thank you very much for your helps guys. Both message help me to run the data
> in R. However, R is omitting many columns from my data. Am i missing
> something?
Please read the posting guide. If you don't provide the code you ran and
the
Hi
I've a dataset with record A = 100,200,300,400...
There will be a parameter n. say n=10 means i have add 10% of previous
value to the current row
current_Val New_value
100 100
200210 (200+10)
300330( 300 +20+10)
400
Dear R list people
I loaded a file of numbers into R and got a dataframe of factors. So I tried
to convert it to numeric as per the FAQ using as.numeric(). But I'm getting
errors (please see example), so what am I getting wrong?
Thanks for your time.
John
Example...
#my data object
> f
I am time series data in Eviews to see the fitting of logistic and gompertz
model with my data.
I used NLS and then the Box cox transformation.
I need to see my graph of original data Vs predicted values / fiited
values on single graph . I cam do this when dealing only with NLS but I am
not able t
Dear Tom,
R does not searches your entire file system for the file. It only looks in the
working directory. Have a look at ?setwd() and ?getwd()
So you will need to set the working directory, use a relative path to the file
or use and absolute path to the file.
Best regards,
ir. Thierry Onkel
Thank you very much for your helps guys. Both message help me to run the data
in R. However, R is omitting many columns from my data. Am i missing
something?
Many Thanks
--
View this message in context:
http://r.789695.n4.nabble.com/R-Large-Dataset-Problem-tp4554469p4554698.html
Sent from the
Hi All,
Thanks for all the responses and interest.
I was aware of Revolution Analytics and had seen some of the other links but
some were new. The list received should be of great help. Given the R
courses that used to be offered through the USGS site, I would assume they
are using it but have
> h <- "CataDog"
> sub("","",h)
Probably safer to do
gsub("","",h)
to avoid replacing multiple superscripts.
eg
h2 <-
"CataDogMouseaRaccoon"
sub("","",h2) #drops everything between first
gsub("","",h2)#Drops each xxx
***
Thank you all.
Problem solved.
Regards,
Phil
--
View this message in context:
http://r.789695.n4.nabble.com/Help-with-vectorization-tp4552638p4554565.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
h
Hi all,
I have just started to use R for my PhD project and have no previous
experience in programming. I am having trouble importing data to R. This
is the output:
> mydata <- read.table("Lv2.8.txt")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13/04/12 14:20, Milan Bouchet-Valat wrote:
> Le vendredi 13 avril 2012 à 04:32 -0700, efulas a écrit :
>> Dear All,
>>
>> I have a problem with my data. First problem is that my data is really large
>> and R is
>> omitting some columns from my dat
I would perform data pre-processing before loading in R.
Best,
-Alex
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] on behalf of
efulas [ef_u...@hotmail.com]
Sent: 13 April 2012 14:32
To: r-help@r-project.org
Subject: [R] R Large Datase
On 13.04.2012 09:52, Tonja Krueger wrote:
Hi all!
I’m using scatterplot3d() to show the distribution of data for different
locations. As I wound like to show distances between the locations and also
label the locations, I was wondering whether there is a function similar to
Le vendredi 13 avril 2012 à 04:32 -0700, efulas a écrit :
> Dear All,
>
> I have a problem with my data. First problem is that my data is really
> large and R is omitting some columns from my data. Is there any way to read
> the whole data without omitting.
How did you import it? Please be precis
Hello All,
Am replicating in R an analysis I did earlier using SAS. See this as a test of
whether I'm ready to start using R in my day-to-day work.
Just finished replicating a Kaplan Meier analysis. Everything seems to work out
fine except for one thing. The 95% CI around my estimate for the
On 04/13/2012 12:25 PM, Colstat wrote:
Dear List
Is there a package for leapfrog plotting (Hamiltonian Monte Carlo
estimation) in R? I tried the actual "LEAPFrOG" package which doesn't
actually give the plot like this one?
http://xianblog.files.wordpress.com/2010/09/hamilton.jpg
How doe one pl
Dear All,
I have a problem with my data. First problem is that my data is really
large and R is omitting some columns from my data. Is there any way to read
the whole data without omitting. Another problem is that my data have 102k
columns and each column have active or inactive molecules. The da
Check this
slideshare.net/whitish/textmining-with-r
Best,
-Alex
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] on behalf of
Deborah H. Deng [deborah.d...@alumni.utexas.net]
Sent: 13 April 2012 10:27
To: r-help@r-project.org
Subject: [R]
Hi
I have a requirement such that a a week should be ending on sunday. monday
is the week start date.
if a month start on sunday. then 2nd day of the month the monday will be in
week 2
I need help in creating the week number
-
Thanks in Advance
Arun
--
View this message in contex
1 - 100 of 124 matches
Mail list logo