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 wrote:
> Have
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
y
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
would benefit
if the sources of such comments found other outlets for condescension.
Ryan Derickson
> On Dec 28, 2015, at 10:32 PM, mesude bayrakci
> wrote:
>
> Hello all,
>
> This would be my last comments on "politeness" discussion started after my
> email, an
ious??
Thanks ahead of time for any help,
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 UNSUB
rns[3]}
else {Inv3Returns[4]}
}
Inv1Total = append(Inv1Total, sum(Inv1Outcome))
Inv2Total = append(Inv2Total, sum(Inv2Outcome))
Inv3Total = append(Inv3Total, sum(Inv3Outcome))
}
Inv1Total
Inv2Total
Inv3Total
Sincerely,
Ryan
[[alternative HTML version deleted]]
___
Also, you should bookmark this link.
http://www.r-bloggers.com/this-r-data-import-tutorial-is-everything-you-need/
On Wednesday, July 29, 2015 at 6:41:35 AM UTC-4, jpara3 wrote:
>
> data<-read.csv("
> https://raw.githubusercontent.com/sjkiss/Survey/master/mlogit.out.csv",header=T,sep=",";)
>
How about this?
library(XML)
library(RCurl)
url <-
"https://raw.githubusercontent.com/sjkiss/Survey/master/mlogit.out.csv";
urldata <- getURL(url)
data <- readHTMLTable(urldata, stringsAsFactors = FALSE)
On Wednesday, July 29, 2015 at 6:41:35 AM UTC-4, jpara3 wrote:
>
> data<-read.csv("
This is my first time posting here
library(BradleyTerry2)
library(xlsx)
data(flatlizards)
str(flatlizards)
a <- data.frame(x=rnorm(10), y=runif(10))
b <- data.frame(w=rnorm(20), z=runif(20))
ablist <- list(a, b)
write.xlsx(mydata, "c:/Test/mydata.xlsx")
On Tuesday, June 16, 2015 at
er. Both Bert's and Jeff's (eventual) solution protect against
> partial (rather than full-word) matches, while mine doesn't (though it could
> easily be modified to do that).
>
> Best,
> John
>
>> -Original Message-
>> From: Christopher W Ryan [
s to learn--grep, grepl,
do.call . . . that's always a bonus!
--Chris Ryan
On Thu, Jul 9, 2015 at 1:52 PM, Bert Gunter wrote:
> Yup, that does it. Let grep figure out what's a word rather than doing
> it manually. Forgot about "\b"
>
> Cheers,
> Bert
>
>
>
which I am searching for
# matching strings
apply(zz, 2, my.f) # now I'm getting somewhere
apply(zz[1:4,], 2, my.f) # but still only works with 4
# rows of the dataframe
# perhaps %in% could do the job?
Appreciate any advi
in which I am searching for
# matching strings
apply(zz, 2, my.f) # now I'm getting somewhere
apply(zz[1:4,], 2, my.f) # but still only works with 4
# rows of the dataframe
Appreciate any advice.
-- Chris Ryan
Lots of ways to do this, I use %in% with bracket notation [row, column].
The empty column argument below returns all columns but you could have
conditional logic there as well.
dd[dd$rows %in% test_rows, ]
On Mon, Jun 8, 2015 at 6:44 PM, Bogdan Tanasa wrote:
> Dear all,
>
> would appreciate y
Tom and Bill--
Thanks! Both excellent solutions.
--Chris
Christopher W. Ryan, MD, MS
cryanatbinghamtondotedu
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 can’t do it. You
umeric(dd))
# But horizontal axis label is not very informative
# would prefer labeling the start of each month
plot(density(as.numeric(dd)), axes=FALSE)
library(zoo)
new.axis <- as.yearmon(dd)
# but then what? This is where I get stuck--adding back a sensible axis
Grateful for any guid
the whole plot
(dots + labels) rather than just the dot area.
A reproducible example is below; I want the dot area to be the same
physical width across charts regardless of the label width. Any suggestions
would be greatly appreciated!
Ryan Derickson
library(Hmisc)
pdf("dotchart2 demo.pdf
r:
A Beginner's Guide to Data Exploration and Visualization with R
Ieno EN, Zuur AF
Paperback available from November 2014
Harcover available from January 2015
--Chris Ryan
On Thu, Oct 2, 2014 at 12:48 AM, Jason Eyerly wrote:
> Hey Folks,
> I’m hoping to get a general consenu
help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(car)
>
I have not encountered this before and am confused. Why would R 3.1.1
in its terminal "see" a library, whereas it would not in emacs? (car
is just an exam
Josh,
Thank you for your detailed answer.
Best,
Ryan
On 7 Aug 2014, at 16:21, Joshua Wiley wrote:
> Hi Ryan,
>
> It does work, but the *apply family of functions always pass to the first
> argument, so you can specify e2 = , but not e1 =. For example:
>
>> sapply(1:3, `&g
Hi,
I'm wondering why calling ">" with named arguments doesn't work as expected:
> args(">")
function (e1, e2)
NULL
> sapply(c(1,2,3), `>`, e2=0)
[1] TRUE TRUE TRUE
> sapply(c(1,2,3), `>`, e1=0)
[1] TRUE TRUE TRUE
Shouldn't the latter b
j="missing", y){
setExternReference(i, y)
return(x)
}
I can get nicely the name inside the bracket (x["name"] <- )
it seemed possible to get "name" some how out of an name <-
assignment.
Again thank you very much for hints and advice.
Florian Ryan
f
Hello,
I would like to use the variable name which i assign the return value
of a function in a function. Is that possible?
e.g.
foo <- function(){
some not to me known R magic
}
myVariableName <- foo()
myVariableName
[1] "myVariableName"
Hope someone can help me.
Thanks
Florian
[
.OO#. .OO#. rocks...1k
> ---
> Sent from my phone. Please excuse my brevity.
>
> On July 14, 2014 6:38:53 PM PDT, Ryan Dallavia wrote:
> >Hello,
> >
> >I am new to this program. I ini
Hello,
I am new to this program. I initially installed both R and R Studio 3
months ago, easily and got a d-base icon from the package I needed, and saw
my tables in spreadsheet form in studio. Now, everything has disappeared on
its own -seriously nothing changed. When trying to get my package ba
Hello all,
I have a data frame filled with senders and recipients. Some of the senders
have multiple rows with different recipients and I want to merge those
rows. For example I have
a...@email.com b...@email.com
a...@email.com c...@email.com d...@email.com
r...@email.com f...@em
Thanks, this solves my problem.
On R 3.1.0 on Windows XP:
library(spatstat) # version 1.37.0
data(redwood)
dens <- density(redwood)
plot(dens, useRaster=FALSE, ribargs=list(useRaster=FALSE))
# produces the proper plot
--Chris Ryan
On Fri, Jun 20, 2014 at 5:24 PM, Pablo Ramón wrote:
&
lot(elev))
# yields an empty plot with empty ribbon
with(bei.extra,plot(elev, useRaster=FALSE))
with(bei.extra,plot(elev, useRaster=FALSE, ribargs=list(useRaster=TRUE)))
# these both yield the same result:
# a colored density plot with an empty ribbon
Thanks
--Chris Ryan
On Thu, Jun 19, 2014 a
m as I can. It is Win XP, now R 3.1.0, and (IIRC) spatstat 1.37-0
'Model Prisoner'.
I do not encounter the problem on Windows 7, R 3.1.0, spatstat 1.36-0
‘Intense Scrutiny’. Nor on Ubuntu 12.04, R 3.1.0, spatstat 1.36-0.
Thanks.
--Chris Ryan
Adrian Baddeley wrote:
> Dear Pablo
>
h just the figure border
# and a thin vertical box for
the color ramp
# but no color ramp in it
Any other ideas? I'd be much obliged.
Thanks.
--Chris Ryan
On Tue, May 20, 2014 at 4:31 PM, Christopher W Ryan
wrote
Hello all,
I have been experimenting with svymean() and I am confused on what the
output is. The data I have looks like:
*PSU*
* STRATUM*
*WEIGHTS*
* COUNTS*
*1*
1
1
2.0
1
*2*
2
1
1.0
1
*3*
3
1
1.0
1
*4*
3
1
2.5
1
*5*
2
1
1.0
1
Hello all,
I am trying to understand how svymean is calulated with svydesign.
I have the code:
dstrat1<-svydesign(id=~PSU, strata=~STRATUM,weights=~Sample_Weight,
data=subset25k, nest=TRUE)
and I am using svymean to compute the mean.
My main question is how are the sampling probabilities create
Hi all,
I am trying to understand the output of the svydesign function. My question
is, is there documentation on how the probabilities are computer? Or could
someone please explain to me how they are? I have this
d<-svydesign(id=~PSU, strata=~STRATUM,weights=~w, data=s, nest=TRUE)
And this o
rsion 1.37-0.
Here is some code:
library(spatstat)
data(redwood)
plot(redwoods) # works OK
plot(Kest(redwood)) # works OK
plot(density(redwood)) # produces an "empty" plot as described above
Any suggestions? What am I missing?
Thanks.
--Chris Ryan
_
;, "q")
b<-c(1, 2, 3, 1, 1, 3, 2, 2, 3)
demo<-data.frame(a, b)
y<-table(demo)
y<-as.table(y[order(rowSums(y)),])
y<-prop.table(y)
plot(y,
dir=c("h", "v"),
las=1)
Ryan Derickson
VHA NCOD
513-247-4294
[[alternative HTML vers
the course of their training, could be averse to writing code.
--Chris
Christopher W. Ryan, MD, MS
SUNY Upstate Medical University Clinical Campus at Binghamton
425 Robinson Street, Binghamton, NY 13904
cryanatbinghamtondotedu
"Once we recognize that we do not err out of laziness, st
a. Certain ways
of doing it lend themselves to certain ways of graphing. Some ways
make things difficult . . .
--Chris Ryan
On Tue, Dec 17, 2013 at 1:24 PM, Sarah Goslee wrote:
> On Tue, Dec 17, 2013 at 1:04 PM, bibek sharma wrote:
>> Hi Sarah,
>> It is not about mfrow or mfco
using it wrong.
Thanks.
--Chris Ryan
__
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.
What do you mean by "merge" them into one? Make both graphs appear on
the same page of a document? Make a single figure containing both
graphs? Plot data from both dataframes on the same set of axes?
--Chris Ryan
On Tue, Dec 17, 2013 at 12:33 PM, bibek sharma wrote:
> Hello R use
the concepts of
sample versus population, and sampling variation. I could share with
you my org file where I stored all the commands and notes, if it would
be of any use.
--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY
Spencer Graves wrote:
> Hello, All:
>
>
>
when you
made REGGY.
"
As of right now, NEWDATA includes all the independent variables from
the REGGY Regression.
Should the NEWDATA data.frame include the dependent variable?
Also, is it necessary to reformat all variables as time series? (I have
not currently done so)
Regards
R
ess. I understand that by including NEWDATA, the "h=5" is ignored,
but without NEWDATA, I receive the error message.
Can anyone help me please?
Regards
Ryan
P.S The forecast is trying to predict the next 5 values for Y from the
regression model pasted above. I'm a bit rusty wit
in my loop, and a new
probability is computed using the new evidence. Since I'm using a single
instantiation of the conditioning variables for each calculation in my loop, I
believe the likelihood weighting method will work. Don't hesitate to correct me
if I'm wrong.
Thanks,
Thanks Marco,
The cpquery function is definitely easier to use given that my evidence is
contained in lists.
Thanks for your help!
---
Ryan
Ryan Morrison, PE
PhD Candidate
University of New Mexico
Department of Civil Engineering
Centennial Engineering Center, Room 3057
Phone: 505-633-5506
Hi everyone,
I'm attempting to use the bnlearn package to calculate conditional
probabilities, and I'm running into a problem when the "cpquery" function is
used within a loop. I've created an example, shown below, using data included
with the package. When using the cpquery function in a loop
Hi everyone,
I'm attempting to use the bnlearn package to calculate conditional
probabilities, and I'm running into a problem when the "cpquery" function is
used within a loop. I've created an example, shown below, using data included
with the package. When using the cpquery function in a loop
arameter to decide if the arrows should be centered on
> the point, start at the point, or end at the point.
>
> The ms.arrows function was designed for exactly what you describe.
>
>
> On Fri, Sep 27, 2013 at 12:56 PM, Conor Ryan wrote:
>
>> I am trying to plot p
Certainly not a homework question. Elementary questions do not necessarily
indicate that one is a student! Always learning...
Dr Conor Ryan
On 28 September 2013 11:39, Patrick Burns wrote:
> On 27/09/2013 21:01, Bert Gunter wrote:
>
>> On Fri, Sep 27, 2013 at 12:44 PM, Sarah Gosl
Hi Jim, vectorField worked a treat - thanks!
On 28 September 2013 01:57, Jim Lemon wrote:
> On 09/28/2013 04:56 AM, Conor Ryan wrote:
>
>> I am trying to plot points on a map for each ship locations (lat/long),
>> where
>> each point is a line whose angle (degrees) d
I am trying to plot points on a map for each ship locations (lat/long),
where
each point is a line whose angle (degrees) denotes ships heading and whose
line length denotes it's speed. Unfortunately arrows(); p.arrows (sfsmisc)
and ms.arrows (TeachingDemos) require start and end coordinates but I o
oughly halfway
down. But is there a way to do this programmatically in the Rnw file?
All I can think of is using two separate chunks to generate two separate
tables, one for elements 1:(length(word.freq)/2) of word.freq and one
for the remaining elements. Is there a better way?
Thanks.
--Chris
--
Chr
I don't know about 3.0.1, but the 2.15.x that I'm still using requires
the foreign package--that's where the read.dta command resides.
library(foreign)
--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY USA
Debasish Roy wrote:
> I've been using R 3.0.1 version.
in, I would be incredibly appreciative of any help. I'm at a
dead-end.
Ryan
[[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
esn't have to be explicitly
called by area or facility name.
Again, I would be incredibly appreciative of any help. I'm at a
dead-end.
Ryan
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read t
Hi,
I ran a linear regression on a data set and got an Rsq of about .27. The plot
looks as though an exponential curve would be a better fit. What codes do I use
to do this?
Thank you,
Ryan Munroe
[[alternative HTML version deleted]]
__
R
nyone have any idea what could be
causing this phenomenon? Specifically, it troubles me that the other
parameters change.
Thanks in advance,
Ryan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailm
aste(.project.path, "data/stream.json", sep = ""))
Any thoughts are very much appreciated. Note that I posted this same
question/comment to StackOverflow and will happily provide any helpful
suggestions to that list as well.
Ryan
[1] - Sorry for not providing reproducib
c encounter rate by WCGSI: 2010
versus 2011",cex=0.75) ,
xlab= "Month",
ylab= "Management Area",
border = "black",
panel = function(...){
panel.fill("black")
panel.voronoi(...)
})
##plot objec
-03", "2001-01-03", "2001-01-03", "2001-01-03", "2001-01-03",
"2001-01-03", "2001-01-03", "2001-01-03", "2001-01-04", "2001-01-04")
ddd <- as.Date(dd)
str(ddd)
table(ddd)
as.numeric(table(ddd)
en I realized I could
play around with the program." (Of course, any less-than-positive
comments, the students (or their teacher) may have kept to themselves
out of courtesy to me!)
A post-workshop survey of the students has just begun, basically asking
them if they have downloaded R on their o
=list(x=list(at=5:9, labels=c('May'
,'June','July','August','September')),
y=list(at=(-1):-8,labels=c('T','N','C','B','KC','FB','SF','MO'))),
main = list(lab
is not really a valid solution. Is there anything I
can do about this?
--
Ryan Hope, M.S.
CogWorks Lab
Cognitive Science Department
Rensselaer Polytechnic Institute
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
ot;y" "x"
>
>help?
>
>-- Bert
>
>On Thu, Nov 1, 2012 at 11:04 AM, Hafen, Ryan P
>wrote:
>> I need to find all global variables being used in a function and
>>findGlobals() in the codetools package works quite nicely. However, I
>>am not able to
I need to find all global variables being used in a function and findGlobals()
in the codetools package works quite nicely. However, I am not able to find
variables that are used in formulae. Simply avoiding formulae in functions is
not an option because I do not have control over what functio
FWIW %m is the proper conversion for months. %M is minutes.
Looks like a bug.
Jeffrey Ryan|Founder|jeffrey.r...@lemnica.com
www.lemnica.com
On Oct 13, 2012, at 10:33 AM, Nicolae Caprarescu wrote:
> Hi Michael,
>
> Thank you for pointing me in the right direction
})
This produces axis that looks something like (except with colored tiles):
-1
-2
-3
-4
-5
-6
-7
-8
5 6 7 8 9
But I'm hoping to have tick labels that look like:
T
N
C
B
KC
FB
SF
MO
May June July August September
Thanks in advance for
"on startup" into
R(interactive)
like so:
C:\Program Files\R\R-2.15.0\bin\x64\Rgui.exe <
"C:\Users\Ryan\Desktop\myscript.r"
but this does not work.
I can do it in R batch mode like this:
C:\Program Files\R\R-2.15.0\bin\x64\R.exe CMD BATCH --vanilla --slave
"C:\U
ch g:
attach(g)
plot(V1, type="l")
--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY
Trying To learn again wrote:
Hi all
Sorry in advance
I have this txt with data and I want to plot the data with a line between
dots.
The thing is that if I run this
g<-read.table("i
Something like:
http://markus.revti.com/2007/06/creating-empty-file-with-specified-size/
Is one way I know of.
Jeff
Jeffrey Ryan|Founder|jeffrey.r...@lemnica.com
www.lemnica.com
On May 2, 2012, at 5:23 PM, Jonathan Greenberg wrote:
> R-helpers:
>
> What wou
Look at the man page for dd (assuming you are on *nix)
A quick google will get you a command to try. I'm not at my desk or I would as
well.
Jeff
Jeffrey Ryan|Founder|jeffrey.r...@lemnica.com
www.lemnica.com
On May 2, 2012, at 5:23 PM, Jonathan Greenberg wrote:
> R
6 ~ age76) # lattice already loaded
--Chris Ryan
kebrab67 wrote:
id age76 Wage76 Grade76 Black immigrt. ...
1 25 102456 12 1 0
2 27 15432 15 0 1
3 30 12340 16 1
being said, perhaps by(), or summaryBy() in the doBy package, might
help.
--Chris Ryan
SUNY Upstate Medical University Clincal Campus
Binghamton, NY
kebrab67 wrote:
Hello, I have a set of data including age, wage and education level each
called age76, wage76 and grade76 I want to know how i can cal
only to have to switch to something else for the
latter half?
And this will lead inevitably into conversations about better ways to
record, store, and share data. And it ties into concepts of
collaboration and reproducible research.
--Chris Ryan
SUNY Upstate Clini
nking data of how
politically free a country is.
Does R do this test?
Thanks a lot, and PS I unlike many economists prefer R over Stata R >>>>>
Stata!
Sincerely,
Ryan Murphy
--
Ryan Murphy
2012
B.A. Economics and Mathematics
339-223-4181
[[alternative
curious: given your preference for hand-drawn graphs for
learners (a very good point), why is Excel "fine" but R not?
At any rate, I should probably migrate this thread over to the Teaching
SIG listserve, which I didn't know about before.
Thanks again.
--Chris
Christopher W. Ryan,
imagine that plot(force, acceleration)
is beyond a high-schooler's capability.)
--simple descriptive statistics
--maybe t-tests, chi-square tests, and simple linear regression.
Alas, probably more than we would have time to cover.
Has anyone done anything with R in high schools?
Thanks.
--C
oreign function call (arg 5)
Some potentially important details:
- 50 predictor variables
- 300 observations
- everthing is numeric
- predictorPartitionTrainingM is a matrix
- targetPartitionTraining is a vector
Thanks in advance,
Ryan Zotti
[[alternative HTML version d
I found the addendum.
http://cloud.github.com/downloads/hadley/ggplot2/guide-col.pdf
--
View this message in context:
http://r.789695.n4.nabble.com/ggplot2-tp4447745p4448150.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-pro
I just updated to R 2.14 with ggplot2 0.9 and am finding bugs.
> ggplot2 "GPL-2" "2.14.0"
This example is taken from pg 101 in the ggplot book.
> plot <- qplot(date, psavert, data = economics, geom = "line") +
> ylab("Personal savings rate") + geom_hline(xintercept = 0, colour
hello,
I am using johnson distributions to make distributions. I want to recover
statistics from these distributions, but all I can see how to do is plot
them.
How would I get, say, the gini on a johson distribution i create?
thanks,
Ryan
--
Ryan Murphy
2012
B.A. Economics and Mathematics
Hello,
Is there a way to create random numbers that fit a certain specified
requirement other than distributional characteristics.
In particular, I would like to create simulated income distributions with
certain gini coefficient
Ryan
--
Ryan Murphy
2012
B.A. Economics and Mathematics
e=TRUE)
table(BT)
table(RA)
dd <- data.frame(better <- BT, race=RA)
str(dd)
dd.table <- xtabs(~better+race, data=dd)
# doesn't this table convey what you want?
prop.table(dd.table,2)
# if for some reason a graph is essential, this creates one:
mosaicplot(dd.table)
Is this sort of what
senting the year and quarter of
the year.
Thank you very much.
Sincerely,
Ryan Murphy
[[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 http://
our boxplots with
> boxplot(dataList)
>
> Then forget about using the variables "a", "b", and "c"
> and use dataList[["a"]], dataList[["b"]], etc. instead.
> You may want to use a shorter name than dataList.
>
> Bill Dunlap
7;m seeking a solution this way.
On Mon, Dec 12, 2011 at 4:09 PM, Vining, Kelly wrote:
> Ryan,
> Do you necessarily have to use "list"? Have you tried the usecols=TRUE
> option in boxplot?
>
> Cheers,
> --Kelly V.
>
> -Original Message-
> From: r-h
of data vectors.
I've tried every imaginable means of tweaking the name of "z", with zero
success. And I've scoured the help pages for about 45 minutes (just to
preempt any "read the help" responses). Please help!
Thanks,
Ryan
--
Ryan Utz, Ph.D.
Aquatic Ecologi
I am trying to specify a mixed model for my research, but I can't quite get
it to work. I've spent several weeks looking thru various online sources to
no avail. I can't find an example of someone trying to do precisely what I'm
trying to do. I'm hoping some smart member of this mailing list may be
; not found
>
> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attache
and seconds() take
any chron object as input and extract the corresponding time interval
. . . .
Any advice?
Thanks.
Chris Ryan
SUNY Upstate Medical University Clinical Campus at Binghamton
Binghamton, NY
__
R-help@r-project.org mailing list
https://stat.eth
I am working with data from the USGS with data every 30 minutes from
4/27/2011 to 8/25/2011.
I am having trouble with setting the frequency.
My R script is below:
> shavers=read.csv("shavers.csv")
> names(shavers)
[1] "agency_cd""site_no" "datetime" "tz_cd""Temp"
the
data-I don't mind converting if necessary). Eventually, I'd like to divide
the number in half for these cases, but I think I have that coding lined up
once I can just identify them from the stew.
I've exhausted help and net resources so far...
Thanks,
Ryan
--
Ryan Utz, Ph.D.
Daniel,
That indeed does work... and I didn't even need to learn a new function.
Thanks!
--
Ryan Utz, Ph.D.
Aquatic Ecologist/STREON Scientist
National Ecological Observatory Network
Home/Cell: (724) 272-7769
Work: (720) 746-4844 ext. 2488
[[alternative HTML version de
e).
It seems like the functions "apply" or "lapply" are key, but I can't make
sense of their syntax.
Any advice/help?!?
Many thanks,
Ryan
--
Ryan Utz, Ph.D.
Aquatic Ecologist/STREON Scientist
National Ecological Observatory Network
Home/Cell: (724) 272-7769
Work: (720
If you use the mgcv package for GAMs, I found this book very helpful:
Wood, SN
Generalized additive models: An introduction with R
CRC Press, 2006
ISBN-13: 9781584884743
--Chris Ryan
SUNY Upstate Medical University
On Mon, Jun 20, 2011 at 1:25 AM, pigpigmeow wrote:
> I'm beginner
;top"),
layout=c(length(levels(MannerYoung.plot.data$new.age.group)),1))
This draws the panels, vertical axis, horizontal axes, with the
odd-numbered years, everything as desired, except that there are no
lines in the panels--no actual content.
I suppose I could decrease the font size
seems like you want to rant more than understand what's
> going on. You have the R and xts help pages and the source code. The
> "Note" section of help(cbind) tells you that the method dispatch is
> different. It even tells you what R source file to look at to see how
ple workaround would
cost everyone using in the other 99.999% of cases to pay a recurring cost that
isn't tolerable.
If this is frustrating to you you should stop using the class.
Jeff
Jeffrey Ryan|Founder|jeffrey.r...@lemnica.com
www.lemnica.com
On May 8, 2011, at 2:
2) ironically, not very well documented in base R. For
me to write it I just had to get around number 2.
HTH
Jeff
On Thu, May 5, 2011 at 11:55 AM, Jeff Ryan wrote:
> There is a struggle in documentation that revolves around being too brief
> to be useful and too verbose which then is
> I can't figure out how to do it without manual intervention. Any
>>> suggestions
>>> are appreciated.
>>>
>>
>> Perhaps you didn't see this NOTE on the ?TA help page:
>>
>> "Calling any of the above methods from within a function
>>
101 - 200 of 366 matches
Mail list logo