a n.censor.table for
an unconditional (no predictor) survival curve. See code below.
Any advice?
Thanks.
--Chris Ryan, MD, MS, MSPH
library(survival)
library(survminer)
data(lung)
fit <- survfit(Surv(time, status) ~ 1, data = lung)
ggsurvplot(
fit,
data = lung,
x
temperature.
If you encounter any issues or would like to make contributions, please do so
via the package's GitHub page: https://github.com/petersonR/fastTS
Best,
Ryan
Ryan Peterson
Assistant Professor
Department of Biostatistics and Informatics
University of Colorado - Anschutz Medical Campus
Homework?
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
On April 7, 2024 8:27:18 AM EDT, javad bayat wrote:
>Dear all;
>I have a question about the water level of a reservoir, when the volume
>changed or doubled.
>There is a DEM file with the highest elevation 1267 m.
the point mass component.
As to your second question, I'm not sure that's possible, for any
*particular, individual* subject. Others will undoubtedly know better
than I.
--Chris Ryan
Sorkin, John wrote:
> I am running a zero inflated regression using the zeroinfl function similar
> to
Ah, thanks all. Guess I missed the message before they started the
maintenance.
--Chris
Ivan Krylov wrote:
> On Wed, 15 Nov 2023 14:13:00 -0500
> "Christopher W. Ryan via R-help" wrote:
>
>> Anyone seeing similar?
>
> Same for me.
>
> While it worked, C
the
authenticity of the received data could not be verified.
===
Three different browsers, two different devices, two different networks.
(The text of the error messages varies.)
Anyone seeing similar?
Thanks.
--Chris Ryan
__
R-help@r-project.org
Very helpful, Deepayan, and educational. Thank you.
What does NSE stand for?
Thanks,
Chris
Deepayan Sarkar wrote:
>
> --Chris Ryan
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/
Hello. My question is in the subject line. Using R 4.1.3 on Windows 10.
Commented MWE below. Thanks.
--Chris Ryan
library(dplyr)
library(lattice)
## fabricate a dataframe
dd <- data.frame(agency = sample(LETTERS, size = 5),
total = sample(100:200, size = 5),
las = sample(20:40, size = 5))
:
library(dplyr)
sums <- dt1 %>%
mutate(realDate = as.Date(date, format = "%m/%d/%Y") %>%
group_by(realDate) %>%
summarise(EnergykWh = sum(EnergykWh))
--Chris Ryan
roslinazairimah zakaria wrote:
> Dear all,
>
> I have this set of data. I would like to s
t 12
Replacing, in the .Rnw code, the \\% with \% , yields an R error message:
Error: '\%' is an unrecognized escape in character string starting ""\%"
Grateful for any help.
--Chris Ryan
[[alternative HTML version deleted]]
__
R
I have both the 1st and the 2nd edition of Frank Harrell's book. I'll send
you the 1st edition if you cover the postage. (4th class book rate would
probably not be all that expensive.) Let me know off-list, if interested.
--Chris Ryan
[[alternative HTML version deleted
line gets pretty much what I'm looking for, but it feels a bit . .
. unseemly. height ~ "" ? There must be a more proper way, that I'm just
not thinking of.
Thanks.
--Chris Ryan
[[alternative HTML version deleted]]
__
R-help@r-p
I"m more of a lattice guy than a ggplot guy, but perhaps this is part of
the problem:
.
> geom_point(aes(y = m_K, color = "red")) + # >> you've
> associated "K" with the color red
> geom_smooth(aes(y = m_K, color = "red")) +
> geom_point(aes(y = m_J, color = "blue")) +
Iwant)
My apologies if you already knew that and are encountering some other
difficulty. If so, providing further details will help.
--Chris Ryan
On Mon, Apr 24, 2023 at 12:58 PM Kasun Thalgaskotuwa <
thalgaskotuwa1...@gmail.com> wrote:
> Dear R team,
> I am struggling with o
you forgot the + sign, or whether it is one variable, HHsize, where
you added a space.
--Chris Ryan
On Tue, Mar 21, 2023 at 12:47 PM Nandini raj
wrote:
> Respected sir/madam
> can you please suggest what is an unexpected symbol in the below code for
> running a multinomial logistic r
Is this a homework problem?
--Chris Ryan
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
On February 5, 2023 9:07:03 AM EST, Upananda Pani
wrote:
>Dear All,
>
>I want to create a vector p and extract first 20 observations using subset
>function base
Couldn't one just show prospective employers some impressive things
one has done in R? Seems to me that would be more meaningful than any
sort of certificate.
--Chris Ryan
On Wed, Jan 4, 2023 at 4:08 AM Mukesh Ghanshyamdas Lekhrajani via
R-help wrote:
>
> Hey Rich,
>
>
>
> O
qrt() %>% mean() %>% plot()
As the chain of operations become longer, and as each "link" in the
chain becomes more complex, the value of the pipe approach, compared
to deep nesting in parentheses, increases, in my view.
--Chris Ryan
On Tue, Jan 3, 2023 at 11:48 AM Sorkin, John wro
o generate decent code to do what a client
*says* they want to do, but is that *really* what they are looking for?
So don't retire yet :)
--Chris Ryan
Boris Steipe wrote:
> Technically not a help question. But crucial to be aware of, especially for
> those of us in academia, or otherwise
scenarios I'd like the box to open up wide enough be default to
display the entire title; I could put in a couple line breaks if
needed.
Currently, in Rgui or Emacs/ESS, with graphics = TRUE or with my
original code, I cannot resize the ensuing dialog box.
Thanks.
--Chris Ryan
On Fri, Dec 9, 2022
You can see from the code below that the title of the dialog box is too
long for the width of the selection box. How might I widen the box? Thanks.
--Chris Ryan
counties <- c("TIOGA", "BROOME", "ONTARIO", "ONONDAGA", "WESTCHESTER")
ch
figure in the original post has the northern midwestern region in the
7:00 to 8:00-ish position, what might be considered notionally the
"southwest." A little counterintuitive.
--Chris Ryan
Bert Gunter wrote:
> Very nice plot. Thanks for sharing.
> Can't help directly, but as
. Sometimes it is. But other times the R buffer opens to the
side. It's unpredictable, which is disconcerting; I have not been able
to discern a pattern. How can I ensure that every time emacs/ESS opens
an R buffer, the emacs window is split top-and-bottom, rather than
side-by-side.
Thanks.
--Chris Ryan
Thanks! This has gotten me on the right track. One of my mistakes was that
I was explicitly using the word select, as in
rename_at(select(starts_with
or
rename_at(select(vars(starts_with
--Chris Ryan
On Mon, Mar 14, 2022 at 1:11 PM Bert Gunter wrote:
> If you care to entert
ied element of
a list?
Thanks.
--Chris Ryan
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide comm
Thanks Bert, that looks promising.
panel.smoother() is from latticeExtra
https://rdrr.io/cran/latticeExtra/man/panel.smoother.html
--Chris Ryan
On Tue, Nov 16, 2021 at 2:08 PM Bert Gunter wrote:
> Where did you get panel.smoother()? There is no such panel function in
> l
For
example, how might I make the far right-end stretch of the lines,
representing the most recent week or two, dotted?
Thanks.
--Chris Ryan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and
g
--Chris Ryan
On Thu, Nov 4, 2021 at 3:06 AM Tracy Lenz wrote:
> Hi,
>
> I am looking for live training that can be conducted via Zoom or another
> online platform to assist high school teachers and students who are working
> with R. These teachers and students are usin
er. But I appreciate the
explanation and the solutions.
-Original Message-
From: PIKAL Petr
Sent: Monday, October 11, 2021 5:15 AM
To: Jiefei Wang ; Derickson, Ryan, VHA NCOD
Cc: r-help@r-project.org
Subject: [EXTERNAL] RE: [R] unexpected behavior in apply
Hi
it is not surprising
> str(d)
'data.frame': 3 obs. of 3 variables:
$ d1: chr "a" "b" "c"
$ d2: chr "1" "2" "3"
$ d3: chr NA NA "6"
>
> apply(d, 2, FUN=function(x)all(x[!is.na(x)] <= 3))
d1d2 d3
FALSE TRUE FALSE
Hello,
I'm seeing unexpected behavior when using apply() compared to a for loop when a
character vector is part of the data subjected to the apply statement. Below, I
check whether all non-missing values are <= 3. If I include a character column,
apply incorrectly returns TRUE for d3. If I
Is the grouping beforehand necessary? Could you simply, "for all the dates
that are "4.01.2020" and have the "Value" greater than zero add 5 to the
"Value" "? I may be missing something.
--Chris Ryan
On Wed, May 26, 2021 at 11:53 AM Elahe chalabi
nd of it? All anyone that is
being “blamed,” as you put it, is being asked to do is to try to do better next
time.
--
#BlackLivesMatter
|| \\UTGERS, |---*O*---
||_// the State | Ryan Novosielski - novos...@rutgers.edu
|| \
like it to open the R buffer as a frame below my source code,
rather than adjacent to it.Â
How can I change the behavior from side-side frames to top-bottom frames?
Thanks.
--Chris Ryan
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch
t:
>
> https://stat.ethz.ch/pipermail/r-help/2020-October/469020.html
>
> If you are so inclined, please reply to:
>
> r-help@r-project.org mailto:r-help@r-project.org
> mailto:r-help@r-project.org >
>
> -- Forwarded message -
> From:
Good Morning,
I am using the neuralnet package in R, and am able to produce some basic neural
nets, and use the output.
I would like to exclude some of the weights and biases from the iteration
process and fix their values.
However I do not seem to be able to correctly define the exclude and
You might like the beeswarm package.
--Chris Ryan
SUNY Upstate Medical University
and
Broome County Health Department
On Thu, Jul 23, 2020 at 1:15 AM array chip via R-help
wrote:
>
> Hello everyone,
>
> I saw this scatterplots from a paper and thought it looked very nice:
identifier,
obtaining all columns from both tibbles, and then "collapse"
conceptually-identical variables like onsetDate and date_of_onset using
coalesce()
Sorry for my long-windedness. Grateful for any advice.
--Chris Ryan
__
R-help@r-project.org
and security of the overall computing
environment is what matters most.
--Chris Ryan
Wait, Kristin wrote:
> HI all,
>
> I am with a NYS major trauma center and all programs that our
> employees/providers use must be vetted through the IT Department by way of a
> Risk Analysis.
>
Same story with R-devel 2020-06-16-r78702, everything else the same. Should I
be reporting this someplace else?
--
|| \\UTGERS, |---*O*---
||_// the State | Ryan Novosielski - novos...@rutgers.edu
|| \\ University | Sr
2721: tryCatchList(expr, classes, parentenv, handlers)
2722: tryCatch(foo(), error = function(x) TRUE)
An irrecoverable exception occurred. R is aborting now ...
---
Thanks in advance.
--
|| \\UTGERS, |---*O*---
||_// the State | Ryan Novosielski - novos...@rut
Am I interpreting this offer correctly, that it is for libraries to
obtain access to the e-books for free? It does not seem to me that an
invididual can download one--am I missing that part?
Thanks
--Chris Ryan
Mark Leeds wrote:
> Abby: here's an easier link for seeing what you might l
to access the mirror from on-campus networks
or from within the VPN.
The rest of the R community: Sorry, but you'll have to please choose a
different CRAN mirror.
--Chris Ryan
Roger Coppock wrote:
> Recently a message appears when I try to view the index of the CRAN library.
>
> Warnin
Thanks, I'll take a look. I also finally came across gridExtra, which allows me
to do it as well.
--Chris Ryan
On April 2, 2020 6:45:58 PM EDT, Bert Gunter wrote:
>See ?print.trellis, especially the "split" argument.
>
>
>Bert Gunter
>
>"The trouble with having
. Appreciate any advice.
Thanks.
--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
an integer, would have neutralized any issues arising
from problematic characters in other fields. Apparently not. So the
entire file is processed in some manner, even when using the colClasses
argument to restrict the result to the first column?
Thanks.
--Chris Ryan
Uwe Ligges wrote:
>
>
;|",
header = TRUE, comment.char = "", skip = 5)
> dim(skip5.dd)
[1] 2217024
Any thoughts on what might be going wrong? Some funky characters from
Excel or OpenOffice.org lurking in the .csv file?
Perhaps I'd have more success with one of the packages that enab
Homework questions are generally frowned upon on R-help List. It is best to
discuss those questions with your instructor.
--Chris Ryan
SUNY Upstate Medical University Clinical Campus at Binghamton
On Mon, Feb 10, 2020 at 9:39 AM hương phạm wrote:
> N1 Consider the database "L
not produce the desired output
mutate(dateRanges, minMRD = as.Date(minMadeRequestDates, format = "%d %b
%Y"))
How does one change the format of a date variable inside a tibble when
dplyr is loaded?
Thanks
Chris Ryan
session info ===
> sessionInfo()
R version 3.
Is this homework for a class? If so, it would be better to ask your professor
for guidance. R-help List frowns on homework questions.
Chris Ryan
On November 7, 2019 2:46:32 AM EST, Sadia Seddiqi wrote:
>Could you help me how I can solve run this code in R-labUnions
>
>1-You ar
.) {
panel.xyplot(..., col = "red")
panel.smoother(..., span = 0.9, se = FALSE)
panel.rug(x = dd.2$calledForApptDate)
})
but seems inadvisable. Shouldn't I be making use of ... for passing
arguments through to the panel.rug() function? Specifying a variable in a
dataframe by name isn't gener
ed summary statistic? dplyr summarise() wants a
result of length 1, not 5
dplyr.output.2 <- mtcars %>% group_by(am) %>% summarise(fivenum(mpg) )
group_map or group_modify seem like they might do the job, but I could
use some guidance on the syntax.
T
- read.csv(filename, colClasses = "character", header = FALSE, skip
= 1)
bb
}
This sacrifices about 80 out of about 1600 records. For my purposes in this
instance, this may be acceptable, but of course I'd rather not.
Thanks.
--Chris Ryan
[[alternative HTML version deleted
You will get the best help if you:
1. post email in plain text, not html
2. post the command/code you issued and the result/error that was returned
3. Information about your operating system sometimes helps.
--Chris Ryan
Binghamton, NY, US
On Tue, Jul 16, 2019 at 3:36 PM Sujaya wrote
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
Sp
Spencer--
What is your compy set-up? Standalone, networked? Where is R installed? Do you
have write privileges to that location?
Chris Ryan
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
On April 14, 2019 6:18:37 PM EDT, Spencer Brackett
wrote:
>Good evening,
&g
Your dissertation advisor would probably be the best place to start.
Chris Ryan
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
On April 3, 2019 7:31:59 PM EDT, Matty A wrote:
>Message rejected by filter rule match
>
>
>
>
>-- Forwarded messag
I thought it might be a floating issue but didn't see the connection.
Thanks everyone.
On Tue, Oct 9, 2018, 2:00 PM Benoit Vaillant
wrote:
> Hello,
>
> On Tue, Oct 09, 2018 at 01:14:54PM -0400, Ryan Derickson wrote:
> > Apologies if this is a simple misunderstanding.
>
Hello,
Apologies if this is a simple misunderstanding.
round((.575*100),0) gives 57
round(57.5,0) gives 58
Why?
Ryan Derickson
University of Cincinnati
On Tue, Oct 9, 2018, 10:08 AM PIKAL Petr wrote:
> Hi
>
> You could use brute force approach. Just print out "file.names&q
Hi everyone,
Does know of a way to stop the "Save workspace image?" prompt when quitting
the iESS [R] process? I have already aliased the R command to 'R --no-save'
in bash, but this setting doesn't carry over to ESS.
Thanks,
Ryan
[[alternative HTML versi
Using the lattice package would provide an easy way to distinguish years, by
putting them in different panels. Lattice would also help avoid some other
features of this graph that, in my opinion, are suboptimal. See Tufte or
Cleveland.
Chris Ryan
--
Sent from my Android device with K-9 Mail
This TV series might have some advice on that.
https://www.imdb.com/title/tt2543312/
--Chris Ryan
On Tue, Jul 3, 2018 at 9:25 AM, J C Nash wrote:
> . . . Now, to add to the controversy, how do you set a computer on fire?
>
> JN
>
>
[[alternative HTML
nks everyone. Several good suggestions.
--Chris Ryan
Richard M. Heiberger wrote:
> n <- length(dd)
> ddm <- matrix("", (n+2) %/% nc, nc)
> ddm[1:n] <- dd
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
;- nc - (length(dd) %% nc)
dd2 <- c(dd, rep("", add))
ddm <- matrix(dd2, ncol = nc)
library(Hmisc)
latex(ddm, file = "")
Any ideas for a more elegant way to do this?
Thanks.
--Chris Ryan
Binghamton University
and
Broome County Health Department
Binghamton, NY, US
Excellent! Worked like a charm. Thanks.
--Chris Ryan
On Tue, May 1, 2018 at 4:33 PM, William Dunlap <wdun...@tibco.com> wrote:
> The ts method for plot() is quirky. You can use the default method:
>
> plot(as.vector(time(ttt)), as.vector(ttt), type = "p", col=ifel
in
sss <- data.frame(x = rpois(12, lambda = 8), y = rnorm(12, mean = 100, sd =
25))
with(sss, plot(y ~ x, col = ifelse(y > 100, "black", "red")))
## but I am missing something about time series.
Thanks.
--Chris Ryan
Broome C
ysis steps with colleagues in another country, for application to the
colleagues' data.
--Chris Ryan
Broome County Health Department
Binghamton, NY US
On Wed, Apr 18, 2018 at 9:47 AM, Lorenzo Isella <lorenzo.ise...@gmail.com>
wrote:
> Dear All,
> Ages ago I posted to this mailing list a
Thanks Paul. Appreciate the help. I'll give this a shot.
Ryan James
D: 713.395.1794
M: 214.843.7301
-Original Message-
From: Paul Smith [mailto:phh...@gmail.com]
Sent: Thursday, February 15, 2018 7:12 AM
To: Ryan James/E North America Business Division/SKI
Cc: r-help@r-project.org
.
What is the best optimization routine (I am using nlminb) to use in R to
determine the best set of inputs and how to I handle the integer and string
inputs when optimizing?
I have attached a plot of what I am trying to accomplish as well as my sample
code.
Thanks,
Ryan
Rplot.pdf
the package's GitHub page: https://github.com/petersonR/bestNormalize
Ryan Peterson
[[alternative HTML version deleted]]
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
in R. Would make
the generation of recurring reports easier.
--Chris Ryan
Robert Wilkins wrote:
> R has a very wide audience, clinical research, astronomy, psychology, and
> so on and so on.
> I would consider data analysis work to be three stages: data preparation,
> statisti
esulted.
As to your particular question, at this point I can only guess, but for
starters it would probably help to show the output of
str(ind.davis)
--Chris Ryan
On Tue, Jun 20, 2017 at 1:06 AM, Leonardo Malaguti <
leonardomalagut...@gmail.com> wrote:
> Dear expert friends,
> I'm pr
A couple thoughts:
1. converting factors into dates often requires that they be converted to
character first.
2. you don't really have dates; you have just months and years
3. therefore perhaps the as.yearmon() function in the zoo package could help
library(zoo)
my.factor <- factor("Feb 2017")
))
abline(model, col = "red")
## obviously I am not claiming that this is a meaningful or sensible model
## It's just for illustrative purposes
--Chris Ryan
On Thu, Jun 15, 2017 at 3:48 PM, lily li <chocol...@gmail.com> wrote:
> Thanks for your replies. I tried the regress
4,2015.txt
',sep='')
X=read.delim(URL.2)
Thanks,
Ryan
--
Ryan Utz, Ph.D.
Assistant professor of water resources
*chatham**UNIVERSITY*
Home/Cell: (724) 272-7769
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To U
that your usage is valid
> for the function..
>
> Jim
>
>
> On Fri, Jan 13, 2017 at 4:12 AM, Thomas Ryan <tombernardr...@gmail.com>
> wrote:
> > Hi all, I'm wondering if someone could put me on the right path to using
> > the "qvalue" package correctly.
Hi all, I'm wondering if someone could put me on the right path to using
the "qvalue" package correctly.
I have an original p value from an analysis, and I've done 1,000
randomisations of the data set. So I now have an original P value and 1,000
random p values. I want to work out the false
I create a data frame, then, using package surveillance version 1.3, I
convert it to a surveillance time series (sts) object and then to a disProg
object. But in the plot of the disProg object, the dates seem to be
mislabelled?
Grateful for any advice.
--Chris Ryan
Broome County Health
I am trying to reproduce the style of boxplot pictured in the attached
image. The code below is close but I cannot get the control values the
correct color.
library(ggplot2)
box.print <- function(C1M,C1, D2, QCDC2, QCSDT4, num){
NAME <- names(D2[num])
adjsdt4 <- C1M[,num]
sdt4 <- C1[,num]
Eureka! I wish I could send a box of digital donuts. Thanks so much
On Tue, Oct 11, 2016 at 9:21 AM, Duncan Murdoch <murdoch.dun...@gmail.com>
wrote:
> On 11/10/2016 7:59 AM, Ryan Utz wrote:
>
>> Bob/Duncan,
>>
>> Thanks for writing. I think some of the t
On Thu, Sep 29, 2016 at 4:59 PM, Duncan Murdoch <murdoch.dun...@gmail.com>
> wrote:
>
>> On 29/09/2016 3:29 PM, Ryan Utz wrote:
>>
>>> Hi all,
>>>
>>> I've got a situation that involves activating a URL so that a link to
>>> some
>>&
the line
#2 above without having to open a browser? We have hundreds of species that
you can see after the '=' bit of the URL, so I'm trying to keep the
browsing situation sane.
Thanks!
R
--
Ryan Utz, Ph.D.
Assistant professor of water resources
*chatham**UNIVERSITY*
Home/Cell: (724) 272-7769
I have the impression that it is also possible to library
dplyr after plyr, but it is better to remove plyr!
This is a serious problem that has been reported before, but not solved
(in dplyr 0.5.0 and plyr 1.8.4)
Frams
2016-09-15 16:09 GMT+02:00 Christopher W Ryan <cr...@binghamton.edu
<mailto:cr...@
learn both)?
Thanks.
--Chris Ryan
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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
and I'd like to just cleanly turn the elements in 'merging' into a
list. This does not work:
###
merged.parameters=list(get(merging))
###
because it's only grabbing the first element of 'merging', for some reason.
Any advice? This feels like it really should be easy...
--
Ryan Utz, Ph.D
nowhere to be found. Alas!
But thanks anyway.
--Chris
On Fri, Jul 29, 2016 at 3:54 PM, David Winsemius <dwinsem...@comcast.net> wrote:
> Been off the grid for the last year? MS bought Revolution R.
>
>
> Sent from my iPhone
>
>> On Jul 29, 2016, at 11:30
aybe.my.frailties))
## end code
Or, would I be better off changing tactics and using frailtypack?
Thanks for any help. Session info is below, in case it is relevant.
--Chris Ryan
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under:
something related to Revolution R. What happened?
Thanks.
--Chris Ryan
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
I think much depends on how you define heat wave.
--Chris Ryan
Broome County Health Department
Binghamton, NY USA
On Mon, Jul 18, 2016 at 6:16 AM, Damjan / <damjanfaks2...@gmail.com> wrote:
> Dar all,
>
> I have a txt file with 4 column data about daily maximum temperature f
the changes on the objects in R.
Have you looked into various "reproducible research" systems for R, like Sweave
or knitr? They allow you to include analysis code and text of a manuscript or
report all together in one file.
Christopher W. Ryan
sent from my phone with BlueMail
On Ju
successfully in
regular R, but I would prefer not to be constrained to that platform if
possible.
--
Ryan Utz, Ph.D.
Assistant professor of water resources
*chatham**UNIVERSITY*
Home/Cell: (724) 272-7769
[[alternative HTML version deleted]]
__
R-help@r
Excellent, thanks. Much simpler.
--Chris
Christopher W. Ryan, MD, MS
cryanatbinghamtondotedu
https://www.linkedin.com/in/ryancw
Early success is a terrible teacher. You’re essentially being rewarded
for a lack of preparation, so when you find yourself in a situation
where you must prepare, you
Here is one way:
dd <- data.frame(var1=c("string1", "string2", "string3"), var2=c(3,7,4))
dd
with(dd, barplot(var2, names.arg=var1))
--Chris Ryan
Binghamton, NY
yoursurrogate...@gmail.com wrote:
> Hello, I can't post my code since it's on a work computer.
&g
<- vapply(x, function(object) digest(object, algo=algo),
FUN.VALUE="", USE.NAMES=TRUE)
unname(unq_hashes[x])
}
dd.2$codex <- anonymize(dd.2$code)
dd.2
table(duplicated(dd.2$codex))
Thanks.
--Chris Ryan
Broome County Health Department
__
R
ssuming time unit is day
> > measurement <- sqrt(time) + 1/(1.2+sin(time*2*pi)) +
> rnorm(length(time),0,.3)
> > plot(decompose(ts(measurement, frequency=96)))
>
> How is your code different from the above?
>
>
>
> Bill Dunlap
> TIBCO Software
> wdun
ple(100,size=6000,replace=T)
Y=xts(X[,3],order.by=X[,2])
decompose(Y)
Z=ts(X[,2],start=c(2015,11),frequency=24*365)
plot(decompose(Z))
###
Am I missing something obvious here? I hope so...
--
Ryan Utz, Ph.D.
Assistant professor of water resources
*chatham**UNIVERSITY*
Home/Cell: (724) 272-7
are a time series. I have tried every manner of
specifying frequency= with no luck (96 does not work). All manner of
searching for help has turned up fruitless.
Can I only do this after I wait another year or two?
Thanks,
Ryan
--
Ryan Utz, Ph.D.
Assistant professor of water resources
*chatham
A combination of subsetting and ?substr should get you close to a solution.
If the middle sequence you referenced isn't always the same distance from
the first character, you may have to involve regular expressions to find
"the middle".
On Wednesday, February 24, 2016, Bert Gunter
Hi Guys,
I could need some help here. I have a set of 3d points (x,y,v). These
points are not randomly scattered but lie on a surface. This surface can be
taken as a calibration plane for x and y -values. My goal is to quantify
this surface and than predict the v-values for given pairs of x- and
I am looking for advice from those who have used the carolina function,
notably carolina model=2 for a North Carolina Design II analysis. I have
having difficulty getting the function to perform correctly and would like
an example of a code that someone has gotten to work. Thanks
--
Ryan
1 - 100 of 353 matches
Mail list logo