Re: [R] Code driven data.frame naming question.

2019-04-15 Thread Fieck, Joe
Thanks for the reply Jeff. I will play around with your code example and see where it takes me. -Original Message- From: Jeff Newmiller Sent: Monday, April 15, 2019 4:55 PM To: r-help@r-project.org; Fieck, Joe ; R-help@r-project.org Subject: Re: [R] Code driven data.frame naming quest

Re: [R] Code driven data.frame naming question.

2019-04-15 Thread Jeff Newmiller
While the assign function is in fact the function you are looking for, I would strongly advise that you cease and desist in this endeavour and instead make a list of data frames rather than littering your global environment with many individual data frames. If you have a vector of names of file

[R] Code driven data.frame naming question.

2019-04-15 Thread Fieck, Joe
Hello R list. I'm very new. I have what I hope is a simple question that I have not been able to find a good solution for. If this is common and clutters anyone's inbox my most sincere apologies in advance... I am trying to use an argument from a function in the name of a data.frame. But I s

Re: [R] plot (cox)

2019-04-15 Thread Medic
Dear Sarah, everything worked out! Thank You!!! -- Sarah Goslee : > Well, you don't provide a reproducible example, so there's only so > much we can do. The help for par is a lot, but I told you which option > to use. Did you try reading the examples for ?axis at all

Re: [R] plot (cox)

2019-04-15 Thread Sarah Goslee
Well, you don't provide a reproducible example, so there's only so much we can do. The help for par is a lot, but I told you which option to use. Did you try reading the examples for ?axis at all? plot (cox, col=1:2, xscale=1, xlab="OS", ylab="Probability", xaxt="n") axis(1, at=seq(0, 48, by=12)

Re: [R] plot (cox)

2019-04-15 Thread Medic
Thanks, but too hard for me Sarah Goslee : > You can presumably use xaxt="n" in your plot() statement (see ?par for > details), and then use axis() to make anything you'd like (see ?axis > for details). -- >> Medic wrote: >> In this code: >> plot (cox, col=1:2, xsc

Re: [R] plot (cox)

2019-04-15 Thread Sarah Goslee
You can presumably use xaxt="n" in your plot() statement (see ?par for details), and then use axis() to make anything you'd like (see ?axis for details). Sarah On Mon, Apr 15, 2019 at 12:51 PM Medic wrote: > > In this code: > > plot (cox, col=1:2, xscale=1, xlab="OS", ylab="Probability") > > th

[R] plot (cox)

2019-04-15 Thread Medic
In this code: plot (cox, col=1:2, xscale=1, xlab="OS", ylab="Probability") the X scale is divided (by default) as: 0 ... 50 ... 100 ... 150 ... 200 And I would like so: 0 ... 12 ... 24 ... 36 ... 48. I looked ?plot(cox), but did not understand what argument is responsible for this. Pls, he

Re: [R] Why is it not possible to cut a tree returned by Agnes or Diana by height?

2019-04-15 Thread David L Carlson
You can certainly use your computation to define the number of clusters. Some clustering methods (e.g. Centroid, Median) use the distance to the centers of the clusters as the criterion for combining clusters, but these locations change as clusters are combined so that the distances between clus

Re: [R] Unable to load built In Datasets From Stat2Data package.

2019-04-15 Thread Michael Dewey
Did you mean to do data(ICU) and then use ICU and so on On 15/04/2019 16:06, Anaanthan Pillai wrote: Hi, I’ve been trying to load datasets from Stat2Data, but couldn’t proceed to do so. I can install the package though, but the datasets are not being loaded. Is there any error that I do?

[R] Unable to load built In Datasets From Stat2Data package.

2019-04-15 Thread Anaanthan Pillai
Hi, I’ve been trying to load datasets from Stat2Data, but couldn’t proceed to do so. I can install the package though, but the datasets are not being loaded. Is there any error that I do? Regards, Anand > library(Stat2Data) > data <- ICU Error: object 'ICU' not found > Sparrows Error: object

Re: [R] Why is it not possible to cut a tree returned by Agnes or Diana by height?

2019-04-15 Thread Leszek Nowina
Either way, it would seem to me that cutree(tree, h=height) could be easily implemented as cutree(tree, k=sum(tree$height>height)+1) - why isn't it? Or is this not really the same, despite what seems to me? pon., 15 kwi 2019 o 01:30 Bert Gunter napisał(a): > > Inline. > > Bert Gunter > > > On Su

Re: [R] Help installing netReg

2019-04-15 Thread Christopher W. Ryan
Sorry, was typing on my phone. Not "compy." "Computer." I was asking whether you were working on your own, standalone, computer, or whether perhaps this was an institutional, networked, machine, on which you don't have write permissions that you need. --Chris Ryan Spencer Brackett wrote: > Mr