Displaying 20 results from an estimated 31 matches for "r_help".
2011 Aug 01
2
How to make a nomogam and Calibration plot
...ot. My dataset and questions in detail are shown in two
attached files. It will be very grateful if someone can save his/her time to
help for my questions.
Warmest regards!
Ping Tang http://r.789695.n4.nabble.com/file/n3710068/Dataset.xls
Dataset.xls http://r.789695.n4.nabble.com/file/n3710068/R_help.doc
R_help.doc
--
View this message in context: http://r.789695.n4.nabble.com/How-to-make-a-nomogam-and-Calibration-plot-tp3710068p3710068.html
Sent from the R help mailing list archive at Nabble.com.
2009 Oct 30
3
Fast optimizer
Hi,
I'm using optim with box constraints to MLE on about 100 data points.
It goes quite slow even on 4GB machine. I'm wondering if R has any
faster implementation? Also, if I'd like to impose
equality/nonequality constraints on parameters, which package I should
use? Any help would be appreciated. Thank you.
rc
2006 Apr 09
2
configure error
...a 2006_64. After
unpacking R-2.2.1.tar.gz I ran ./configure. However, configure stopped
prematurely with the message *"configure:27295: WARNING: gfortran and
gcc disagree on int and double configure:27297: error: Maybe change
CFLAGS or FFLAGS?"* Altough I've looked in both the R_Help archive and
R Installation and Administration, I can't find any documentation
which says what settings should be for CFLAGS or FFLAGS. I tried to
mimic the settings shown on page 31 of R Installation and Administration
but that failed too.*
*Does anyone know what the settings should be fo...
2011 Jun 01
2
Create Matrix with Float32 values
Dear R_Help:
The following gives me a matrix with integer values.
z= matrix(rep(10:1, each= 10), ncol= 10, byrow=TRUE)> str(z)?int [1:10, 1:10] 10 9 8 7 6 5 4 3 2 1 ...
How do I specify that I want Float32 values instead.
Thanks,Chris
2005 Nov 23
2
How to plot two different lines with different color with the same "plot" function?
Hi,R_Help!
I have done something like this:
>x<-seq(412,612,1)
>plot(x,dpois(x,512),col="blue",type="l")
>plot(x,dnorm(x,512,sd=sqrt(512)),col="red",type="l")
And now,I want to plot the two lines in the same picture or with the same "plot" action?...
2009 Aug 30
2
aggregating irregular time series
Hi,
I have a couple of aggregation operations that I don't know how to
accomplish. Let me give an example. I have the following irregular
time series
time x
10:00:00.021 20
10:00:00.224 20
10:00:01.002 19
10:00:02:948 20
1) For each entry time, I'd like to get sum of x for the next 2
seconds
2009 Aug 30
2
POSIX time conversion doesn't display digit
Hi,
I have the following string that I converted to a POSIXct:
> a <- "2009-08-24 10:00:00.213"
> a.p <- strptime(a,"%Y-%m-%d %H:%M:%OS")
> as.double(as.POSIXct(a.p))
[1] 1251122400
I can't seem to get the decimal fraction of .213 out by casting to
double or numeric. Is there anyway to make sure that POSIXct spits
that out? Thank you.
adschai
2009 Jun 24
2
lapply across using multiple columns
Hi,
To set a simple an clear picture of what I'd like to do, here is an example.
I would like to calculate mean of column A and B bucketed by factor in
column X in a data.frame. lapply or aggregate operates on a single column. I
found dapply function in some package which doesn't seem to exist any more.
Is there anyway that I can accomplish something like this? Thank you so much
in
2024 Feb 28
1
Trouble reading a UTF-16LE file
Try this:
> x <- file("C:\\Users\\Jim\\Downloads\\PV2-ch2 - R_Help.ANA",+ encoding = "UTF-16")> y <- readLines(x)> head(y)[1] "1\t36,74\t0" "2\t269,02\t-44" "1\t326,62\t29" "2\t354,52\t24"
[5] "8\t390,75\t1838" "2\t395,11\t-1053">
>
Thanks
Jim Holtman...
2009 Nov 05
2
Error in nls Error in if(any(start < low || start > upp)) {: missing value when TRUE/FALSE needed
Hi,
I got this error every time when I put upper and lower bound on my
parameters in nls. I'm not quite sure what this error is about. I also
wanted to find the content of nls_port_fit. But typing this directly
into R doesn't seem to give any result out.
I also tried to see the content of If anybody could shed some light
I'd greatly appreciate. Thank you.
rc
2009 Oct 06
2
how to fit time varying coefficient regression model?
Hi - I read through dse package manual a bit. I'm not quite certain
how I can use it to estimate a time varying coefficient regression
model? I might pick up an inappropriate package. Any suggestion would
be greatly appreciated. Thank you.
rh
2006 May 17
1
Non-ASCII chars in R code
The report on R_help about problems loading package irr (in a
UTF-8 locale, it seemed) prompted me to look a little deeper. There are
quite a few packages with Latin-1 chars in their .R files, and a couple in
UTF-8.
Apart from non-ASCII chars in comments, this is a problem as the code
concerned cannot be represen...
2018 Jul 23
4
Ayuda ggplot
...------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29463 bytes
Desc: image.png
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20180723/1a39127e/attachment-0001.png>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: R_Help1.xlsx
Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Size: 8302 bytes
Desc: R_Help1.xlsx
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20180723/1a39127e/attachment-0002.xlsx>
------------ próxima parte ------------
A non-text attachment was scrubbed...
N...
2024 Feb 28
1
Trouble reading a UTF-16LE file
The earlier post had an attached text file that did not go through.
I hope this link works. I tested it with a coworker, but that is no guarantee.
https://uflorida-my.sharepoint.com/:u:/g/personal/tebert_ufl_edu/EXf5u_CtTwJCrhdfTBIPr7wBefZHx4P_suj4wAWb8i8HFA?e=iQawhh
Regards,
Tim
2009 Jun 21
1
Need help installing xts package
Hi,
I am trying to install package xts. I am using OPENSUSE 11 64 bit. When I
invoke:
install.pacakges("xts",dependencies=T)
I received a lot of "ERROR: compilation failed for package" errors when R
tries to install xts dependencies. I do not understand this behavior.
I notice one thing. It complains.
ERROR: compilation failed for package 'Hmisc'
** Removing
2009 Jun 23
1
Smart way to check if a column with certain name exists in a data.frame
Hi,
I have a matrix or data.frame (df). When I would like to check if a column
named "x" exists, it becomes my habit to do the following:
if (length(which(colnames(df)=="x"))>0)
Is there any smarter way to do this? Thank you.
adschai
[[alternative HTML version deleted]]
2009 Jun 25
1
apply on xts
Hi,
I do not understand why after I called apply on a function that returns an
xts (getIdvAdjSeries) it returns a matrix whose columns are just numeric
value of time series in xts instead of a list of xts objects.
Basically, I called the following:
apply(matrix(tickers,ncol=1),1,FUN=getDivAdjSeries)
getDivAdjSeries <- function(ticker) {
seriesName <-
2009 Jun 25
1
Can hist plot % of count instead of raw count?
I do not want to use histogram because I have more control over base graphs
that R provide. I'm wondering if hist function provides a parameter that can
set y axis as % of count instead of raw count?
If not, I'd like to know how I can add text or line on histogram function? I
don't like the idea of having to use raw coordinates to set text position.
Thank you.
adschai
[[alternative
2009 Jun 28
1
Defining class as a member of another class
Hi,
When I define a new class (through setClass), members defined in
representation argument doesn't seem to like a class. For example, if
I do the following:
setClass("NotWork",representation=(x="zoo"))
It seems to me that representation members will take in only primitive
type to R. Is there any way to stuff a class as a member in another
class? Thank you.
- adschai
2009 Nov 04
1
Sequential MLE on time series with rolling window
Hi,
Assuming I have a time series on which I will perform rolling-window
MLE. In other words, if I stand at time t, I'm using points t-L+1 to t
for my MLE estimate of parameters at time t (here L is my rolling
window width). Next, at t+1, I'll do the same.
My question is that is there anyway to avoid performing MLE each time
like does the above. My impression is that rolling from point t