I would like to shade the area between two curves generated by the ecdf
function.
There are examples such as those explained here
http://www.alisonsinclair.ca/2011/03/shading-between-curves-in-r/
These examples do not apply to the objects generated by the ecdf function.
#
library(tr
Hi,
Try:
df.1 <- read.table(text="Name network speed
Atlanta_Ga. LTE. 10
Hartford_CT. HSPA. 4
Seattle_WA. LTE.
12",sep="",header=TRUE,stringsAsFactors=FALSE)
df.1cleaned <- within(df.1,
Is this homework? Most of us object to doing homework here.
If not, have you gone through any R tutorials? This looks like pretty
basic stuff, and one has to wonder if you can't do this, why are you
using R at all?
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Dat
On Jan 17, 2014, at 6:30 AM, Norman McBride wrote:
> Now, if I were to move the data over from an excel doc would that change
> anything. I do understand that that I would have to change it to a csv
> document and create a variable for it. Just to give you a more visual
> understanding of what I
On Jan 16, 2014, at 6:53 PM, erikpukinskis wrote:
> Thanks for looking at this, I've been tearing my hair out for a day or so
> now.
>
> I have done a multiple variable logistic regression in R, and obtained my
> coefficients. I am able to make predictions for the training data in R
> without pr
I have three data frames df.1, df.2 and df.3. All have the same structure I.e
here is df.1
Namenetwork speed
Atlanta_Ga. LTE.10
Hartford_CT. HSPA. 4
Seattle_WA. LTE. 12
I want to
You can just write :
citation("splines")
in the R-console. You will then get a suggestion with a BibTeX entry if
you use LaTeX
Best
Lars
On 01/17/2014 04:28 PM, coll...@pitt.edu wrote:
Hello,
I'm writing my Master Thesis. I'm using the R library "splines" and i want
to cite it correctly.
I
Hi,
I have struggled recently with R crashing with the following error in various
contexts. It has occurred when running the R package RCytoscape, a package we
generated internally and when running the base system. I have seen that this
is an issue with the Mavericks OS
(http://citizen-stati
I'm trying to find a more efficient to calculate the percent a field is
populated and repeat it for each field (column).
First, I'm counting the number of lines:
lines <- as.integer(countLines(extract) - 1)
dput(lines)
10L
extract <- 'C:/Users/jeffjohn/Desktop/batchextract_100k_sample.csv'
my
Hi, I'm pretty new to R and am trying to develop a reusable set of scripts
that I can use to profile various data types and common fields in our
database. I know that what I'm asking is a can of worms, so please bear
with me. :)
For example, we store a person's first name, last name, phone number,
Hi
The original email did not reach me so I am using this to reply
There is the trellis.device function for lattice graphs which in the past I
have had to use to create a pdf as just pdf would not do it
?trellis.device calls the device in this case pdf()
? pdf has the paper specification which
Can you please tell us (me!) how you chose starting values?
Out of curiosity I tried the following:
set.seed(42)
x <- rlnorm(100,1,2) + 3
require(MASS)
strt <- list(mu=1,sigma=2,gamma=3)
fit <- fitdistr(x,densfun=function(x,mu,sigma,gamma)
{dlnorm(x-gamma,mu,s
Hi,
You can create a local Rprofile file
http://www.statmethods.net/interface/customizing.html
http://stat.ethz.ch/R-manual/R-devel/library/base/html/Startup.html
Sarah
On Fri, Jan 17, 2014 at 1:21 PM, Christofer Bogaso
wrote:
> Hi again,
>
> Is there any way to manipulate the start-up functi
Hi again,
Is there any way to manipulate the start-up functionalities in R bypassing
Rprofile?
I dont have administrative rights in the system which I use, therefore cant
not make any change in Rprofile file which resides in C:\Program files\
In start-up, basically I want to do following thi
Hi All,
While building a package by 'R CMD INSTALL --build my-own-pack-name', I always
got an error like
Error in normalizePath, winslash, mustWork>:
path[1] = "./DESCRIPTION": Access is denied.
I checked the permission of my DESCRIPTION file and it looks right. Does
anybody know how to solv
On Jan 16, 2014, at 9:09 PM, Martin Weiser wrote:
> Jim Lemon píše v Pá 17. 01. 2014 v 13:21 +1100:
>> On 01/17/2014 10:59 AM, Marc Schwartz wrote:
>>>
>>> ...
>>> Arggh.
>>>
>>> No, this is my error for not actually looking at the plot and presuming
>>> that it would work.
>>>
>>> Turns out
Hi,
You could try:
dat1 <- read.table(text="ORDER DESTINY VALUE
A NY 100
B BER 10
C FRA 100
D WAS 50
E BER 20",sep="",header=TRUE,stringsAsFactors=FALSE)
within(dat1,WEIGHT <-
as.numeric(factor(DESTINY,levels=c("FRA",
Hi,
May be this helps:
x11(width=10,height=3)
xyplot(y~x,data=X,type="l",aspect=0.25)
dev.copy2pdf(file="wideplot.pdf")
dev.off()
A.K.
On Friday, January 17, 2014 11:26 AM, Gerrit Draisma wrote:
Dear R-users,
How do I get rid of the white space above and under
a plot made with lattice xyplo
Dear R-users,
How do I get rid of the white space above and under
a plot made with lattice xyplot?
I searched the documentation but could not find how to
do it.
Standard lattice plots are square,
but sometimes I want a wide but low graph
and use aspect parameter to obtain such a graph.
But then
Suggest:
mydat <-
structure(list(`Time (Seconds)` = c(20.318162, 21.316219, 22.316277,
23.316334, 24.316391, 25.316448, 26.316505, 27.315562, 28.315619,
29.315677, 30.315734, 31.315791, 32.315848, 33.315906, 34.315963,
35.31602, 36.316077, 37.316134, 38.316192, 39.316249), `Battery Temperature
(C
Now, if I were to move the data over from an excel doc would that change
anything. I do understand that that I would have to change it to a csv
document and create a variable for it. Just to give you a more visual
understanding of what I am doing I a portion of the head of the data is
shown below.
> Hello,
> I'm writing my Master Thesis. I'm using the R library "splines" and i want
> to cite it correctly.
> I have found the following documentation:
> http://127.0.0.1:20742/library/splines/html/splines-package.html
Christof, if you contact the authors of the package, or look on their
website
Dear Dave,
Thankyou very much. With your outlined approach hopefully, I would get through.
Thanks once again.
Elisa
> From: lor...@usgs.gov
> Date: Fri, 17 Jan 2014 08:52:38 -0600
> To: r-help@r-project.org
> Subject: Re: [R] predefined area under the curve
>
> Elisa,
> Part of the issue is th
I've never taught a complete course, but I recently conducted 2
"introduction to R" workshops, each about 5 hours long, for a class of
about 15 high school science students. Very basic. We emphasized
graphics. But by the end, we had gotten into conceptual stuff about the
population vs the sample, s
Elisa,
Part of the issue is that there is no unique solution. You could increase
each of the 6 values by a fixed amount to make up the 0.242003 difference
in area, or you could increase them proportionally, among many other
schemes.
I'll outline an approach and you can decide how you want to pr
On 17/01/2014 12:01, Christof peternell wrote:
Hello,
I'm writing my Master Thesis. I'm using the R library "splines" and i want to
cite it correctly.
I have found the following documentation:
http://127.0.0.1:20742/library/splines/html/splines-package.html
My problem is, i didn't find the year
Now, if I were to move the data over from an excel doc would that change
anything. I do understand that that I would have to change it to a csv
document and create a variable for it. Just to give you a more visual
understanding of what I am doing I attached a picture of the head of the
data. So th
Hi When I use my 64bit version of R I get error messages when I use any of
the help files. I error in "start dynamic help. along with "unable to
create socket" This does not happen when I use the 32bit version of the same
program. Thank you in advance for any advice you can give me
Don Ro
Hello,
I'm writing my Master Thesis. I'm using the R library "splines" and i want to
cite it correctly.
I have found the following documentation:
http://127.0.0.1:20742/library/splines/html/splines-package.html
My problem is, i didn't find the year when this library was released.
Would you please
On Jan 16, 2014, at 11:14 PM, kingsly wrote:
> Thank you dear friends. You have cleared my first doubt.
>
> My second doubt:
> I have the same data sets "Elder" and "Younger". Elder <- data.frame(
> ID=c("ID1","ID2","ID3"),
> age=c(38,35,31))
> Younger <- data.frame(
> ID=c("ID4","ID5"
Hi
are you really sure that age in Younger is factor? If it was numeric you can
post process result of merge to get rid of NA
Younger$age<-as.numeric(as.character(Younger$age))
Warning message:
NAs introduced by coercion
komplet<-merge(Elder, Younger, all=T)
komplet[complete.cases(komplet),]
Really, the thanks go to Prof. Ripley et al, maintainig that package.
Br. Frede
Oprindelig meddelelse
Fra: Vito Ricci
Dato:17/01/2014 13.00 (GMT+01:00)
Til: Frede Aakmann Tøgersen ,Göran Broström ,r-h...@stat.math.ethz.ch
Emne: Re: [R] Estimating parameters of 3 parameters logn
OK. It runs fine! Many thanks Frede.
Regards.
Vito
Se non ora, quando?
Se non qui, dove?
Se non tu, chi?
Il Venerdì 17 Gennaio 2014 12:38, Frede Aakmann Tøgersen ha
scritto:
>In package MASS there is the fitdistr function using maximum likelihood
>estimation to infer on the parameters
In package MASS there is the fitdistr function using maximum likelihood
estimation to infer on the parameters of distributions based on observed data.
One of the arguments of fitdistr () allows you to specify the probability
density function.
You only know how the parametrization of your three
On 01/17/2014 08:42 AM, Vito Ricci wrote:
Hi Goran,
thanks for your suggestion, but I believe it's not helpful for me...
phreg statement "Proportional hazards model with parametric baseline
hazard(s). Allows for stratification with dif-ferent scale and shape in
each stratum, and left truncate
thanks a lot, works perfectly
--
View this message in context:
http://r.789695.n4.nabble.com/calculate-an-value-in-dependence-of-another-column-tp4683727p4683732.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org m
Dear R Users,
I'm fitting non-linear models using nlme package.
How can I check models estimability?
Data were obtained using an incomplete factorial design:
effect 1 = 4 levels
effect 2 = 5 levels
effect 3 = 5 levels
effect 4 = 5 levels
Cross table example for effect 1 and effect 2:
Hi, Mat,
e. g., try something like
ORDER$VALUE * c( NY = 3, BER = 2, FRA = 1, WAS = 4)[ ORDER$DESTINY]
Hth -- Gerrit
On Fri, 17 Jan 2014, Mat wrote:
Hello together,
i have a little problem, to create a new column, in a data.frame.
I know i can calculate one column with as a example 2 lik
Dear Davina,
Unfortunately (or luckily), I have almost the exact same problem. I want to
do a multilevel analysis with imputed data and both include mixed and
random effects in the regression model. I have imputed my data with de
Hmisc package (aregImpute), however, the rest of the functions do
Hello together,
i have a little problem, to create a new column, in a data.frame.
I know i can calculate one column with as a example 2 like this:
ORDER$WEIGHT <- ORDER$VALUE * 2
But how can i create the ORDER$WEIGHT with different numbers, like this one.
I have a data.frame like this one:
ORDE
*** Apologies for cross posting ***
Dear Colleagues, Dear R-users,
I would like to announce the release of the new version of package
JMbayes available from CRAN (http://CRAN.R-project.org/package=JMbayes).
This package fits joint models for longitudinal and time-to-event data
under a Bayesian
41 matches
Mail list logo