Agreed with the others. After finding that shapefile and getting it to
work you are definitely not in the proper working directory.
On Thu, Jan 21, 2016 at 8:40 PM, David Winsemius wrote:
>
>> On Jan 21, 2016, at 4:39 PM, Amoy Yang via R-help
>> wrote:
>>
>> Any advice for the following errors?
> On Jan 21, 2016, at 4:39 PM, Amoy Yang via R-help
> wrote:
>
> Any advice for the following errors?
> state.map <- readShapeSpatial("maps/st24_d00.shp")
> Error in getinfo.shape(fn) : Error opening SHP file
What does list.files('maps') return? Is there a 'st24_d00.shp' value in there?
--
Hi Amoy,
Another mystery question. I should have pursued parapsychology. That error
statement is usually followed by one noting that the file specified cannot
be found. Today's guess is that the R working directory:
getwd()
did not have a "maps" directory below it.
Jim
On Fri, Jan 22, 2016 at
> What is the command to make for
> each plot specific y axis scale?
Read the documentation for ?facet_grid... in particular the scales argument.
--
Sent from my phone. Please excuse my brevity.
On January 21, 2016 7:15:46 AM PST, Maxim Fomin wrote:
>Dear R users,
>
>I have a (melted) data fr
Any advice for the following errors?
state.map <- readShapeSpatial("maps/st24_d00.shp")
Error in getinfo.shape(fn) : Error opening SHP file
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se
Many thanks, Peter.
Simple, works perfectly, and nigh on impossible to figure out without your
help.
To summarize...in my example, I need to do:
junk[[0,0]] <- as.tclObj(lbl,drop=T) # instead of junk[[0,0]]<-lbl
It works for spaces, brackets, parentheses, and all manner of special
characters.
Hi Sema,
I trimmed your file to the first 220 lines.
ads<-read.table("all_data_scor.txt",header=TRUE,sep="\t")
ads.tab<-table(cut(all_data_scor[,2],breaks=c(0,1e-100,1e-10,1e-1,1,10)))
barplot(adt.tab)
This gives you a basic idea of what can be done. If this is not clear, ask
again.
Jim
On Thu
> Once you're up to speed on those issues...
Any suggestions for getting up to speed on those issues?
On Thu, Jan 21, 2016 at 11:46 AM, peter dalgaard wrote:
>
> > On 21 Jan 2016, at 00:25 , Dalthorp, Daniel wrote:
> >
> > Thanks, Peter.
> >
> > I'm sure that's right, but it requires knowin
> On 21 Jan 2016, at 19:06, Duncan Murdoch wrote:
>
> On 20/01/2016 1:28 PM, Duncan Murdoch wrote:
>> On 20/01/2016 1:22 PM, Christofer Bogaso wrote:
>> > Hi,
>> >
>> > Could you please suggest a good R editor for Mac OS X (10.7.5)
>> > Previously my operating system was Windows and there I used
Run Atom with the language-r and r-exec packages:
"A language description and snippets for R"
https://atom.io/packages/language-r
"Send R code to various consoles"
https://atom.io/packages/r-exec
On Thu, Jan 21, 2016 at 9:54 AM, boB Rudis wrote:
> Here you go Ista: https://atom.io/packages/rep
“Right now I’m having amnesia and déjà vu at the same time. I think I’ve
forgotten this before.” ― Steven Wright
Check if this might be the same issue as the one of embedded spaces in
https://stat.ethz.ch/pipermail/r-help/2009-January/378558.html
-pd
> On 21 Jan 2016, at 02:12 , Dalthorp, Dani
On Thu, Jan 21, 2016 at 12:54 PM, boB Rudis wrote:
> Here you go Ista: https://atom.io/packages/repl (Atom rly isn't bad
> for general purpose data sci needs, I still think RStudio is the best
> environment for working with R projects).
Thanks Bob, the Atom REPL thingy is nice. I'm sticking with
> On 21 Jan 2016, at 00:25 , Dalthorp, Daniel wrote:
>
> Thanks, Peter.
>
> I'm sure that's right, but it requires knowing: (1) that there's something
> called the "width subcommand", and (2) how to format the call to that
> command/subcommand.
>
Yes, there's a fair amount of that going on
Thanks, that worked.
Best regards,
Maxim
2016-01-21 22:29 GMT+03:00 Ulrik Stervbo :
>
> You can try facet_grid(variable~., scales = "free_y")
>
> On Thu, 21 Jan 2016 at 19:29 Maxim Fomin wrote:
>>
>> Dear R users,
>>
>> I have a (melted) data frame of several metal prices from 1980. I want to
>>
You can try facet_grid(variable~., scales = "free_y")
On Thu, 21 Jan 2016 at 19:29 Maxim Fomin wrote:
> Dear R users,
>
> I have a (melted) data frame of several metal prices from 1980. I want to
> make a time series plot for each metal price. By default ggplot constructs
> single plot for all p
Dear R users,
I have a (melted) data frame of several metal prices from 1980. I want to
make a time series plot for each metal price. By default ggplot constructs
single plot for all prices. Adding +facet_grid(variable~.) makes for each
metal price a plot, but now there is another problem - scale
Hello,
I don't have much knowledge about how to use JAGS to do bayesian
regression, I have seen several examples but my data is left censored and I
am not sure how to construct the likelihood function, if someone could post
a sample JAGS code for bayesian regression for left-censored data, that
I appreciate your kind guidance! I did not read the manual carefully
(it's my fault).
Thank you so much, Prof. John Fox!
Chel Hee Lee
On 01/21/2016 12:52 AM, Fox, John wrote:
Dear Chel Hee Lee,
With the formula method, the default na.action is na.omit; thus,
aggregate(y~grp, data=tmp, fun
Aye. You can make source/editor windows consume the entire area or
have them as separate windows and can define a consistent line-ending
vs platform native (I run RStudio Preview and [sometimes] dailies and
can confirm these are in there). The addition of full R
(C/C++/HTML/javascript/etc) code dia
On 20/01/2016 1:28 PM, Duncan Murdoch wrote:
On 20/01/2016 1:22 PM, Christofer Bogaso wrote:
> Hi,
>
> Could you please suggest a good R editor for Mac OS X (10.7.5)
> Previously my operating system was Windows and there I used Notepad++,
> I really had very nice experience with it. However I don
Here you go Ista: https://atom.io/packages/repl (Atom rly isn't bad
for general purpose data sci needs, I still think RStudio is the best
environment for working with R projects).
On Thu, Jan 21, 2016 at 12:48 PM, Ista Zahn wrote:
> On Jan 21, 2016 12:01 PM, "Philippe Massicotte"
> wrote:
>>
>>
On Jan 21, 2016 12:01 PM, "Philippe Massicotte"
wrote:
>
> On 01/20/2016 07:22 PM, Christofer Bogaso wrote:
>>
>> Hi,
>>
>> Could you please suggest a good R editor for Mac OS X (10.7.5)
>> Previously my operating system was Windows and there I used Notepad++,
>> I really had very nice experience
But DO NOT DO ANY OF THIS.
See the Robust Task View on CRAN and use the functionality of the
robust or robustbase package. Trimmed/winsorized means are ancient
technology; there is much better available today (and for the last 40
or so years, in fact).
Cheers,
Bert
Bert Gunter
"The trouble wit
Thanks Terry!
I thought that since I was providing survConcordance with the model object
that the same formula would be applied. But I was obviously wrong. I just
ran survConcordance with the addition of the strata argument, as you
suggested, and got the same answer as summary(fit)with the sam
I read the digest form which puts me behind, plus the last 2 days have been solid meetings
with an external advisory group so I missed the initial query. Three responses.
1. The clogit routine sets the data up properly and then calls a stratified Cox model. If
you want the survConcordance ro
Assuming Michael is correct, you can use setdiff():
> set.seed(42)
> current <- sample.int(4500, 4495) # All but 5 numbers used
> setdiff(1:4500, current) # Find which numbers are left
[1] 905 1252 2508 3192 4484
-
David L Carlson
Department of Anthropology
Te
I think this depends on how well google knows you. It took me about 6 months
when I first starting using R just to get google to figure out what r meant. I
was getting a lot if information on how to do correlations before that.
"winsorized mean in r statistics" sounds safer for a new R user
Hi
Out of curiosity I tried to find how precise is searching for such simple task
on internet.
This was my question in google
winsorized mean in r
Position 6
http://finzi.psych.upenn.edu/library/SciencePo/html/winsor.mean.html
Position 5
http://www.statisticalanalysisconsulting.com/measures-
Dear Muhammad
You could try an internet search which should lead you to several
packages on CRAN which meet your need for Winsorisation.
I used winsor cran but it may depend on what Google knows about you.
On 21/01/2016 09:50, Muhammad Kashif wrote:
Dear respected group members
who we cal
Hello Maryam
See below
On 20/01/2016 21:26, maryam firoozi via R-help wrote:
Hello,
i made a population about 4500 individual.
So you mean nearly 4500, not exactly 4500?
this has two sex(female and male).they had pedigree.
i wanted to enter new indiviual but their ID of indiviual mustnot be
Regarding the trimmed mean, take a look at the arguments of the function
mean():
?mean
No idea about the Winsorized mean, though.
HTH,
Ivan
--
Ivan Calandra, PhD
University of Reims Champagne-Ardenne
GEGENAA - EA 3795
CREA - 2 esplanade Roland Garros
51100 Reims, France
+33(0)3 26 77 36 89
iva
Dear respected group members
who we calculate trimmed and Winsorized mean of data. can we calculate directly
of any latest package is available for their calculation.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -
32 matches
Mail list logo