Displaying 20 results from an estimated 1300 matches similar to: "Quantitative analysis of non-standard scatter plots."
2008 Mar 07
5
Puzzling coefficients for linear fitting to polynom
Hi,
I can not comprehend the linear fitting results of polynoms. For
example, given the following data (representing y = x^2):
> x <- 1:3
> y <- c(1, 4, 9)
performing a linear fit
> f <- lm(y ~ poly(x, 2))
gives weird coefficients:
> coefficients(f)
(Intercept) poly(x, 2)1 poly(x, 2)2
4.6666667 5.6568542 0.8164966
However the fitted() result makes sense:
>
2007 Nov 10
5
client hangs on pxelinux
Hi,
my client pc hangs on pxelinux before starting to fetch the linux
kernel. It hangs after printing the ip information row. No traffic is
observed at this point on the network. The pxelinux is transferred to
the client through a tftp server and with no problems.
What options do I have to proceed from this point and try to find out
where the problem is?
Thanks,
Firas.
--
Firas Swidan, PhD
2007 Nov 14
2
PXE in wonderland
Hi,
I have collected a bunch of old PII PCs that I am trying to PXE boot.
There NICs are old and so I use etherboot floppy to emulate a native PXE
boot. I have configured tftp, dhcpd, pxelinux, and all the other stuff.
Everything works fine till pxelinux start booting. Then it stucks after
printing the IP row.
--------------- pxelinux output -----------------------
PXELINUX 3.10 2005-08-24
2005 Feb 25
3
Loops and dataframes
Hi,
I am experiencing a long delay when using dataframes inside loops and was
wordering if this is a bug or not.
Example code:
> st <- rep(1,100000)
> ed <- rep(2,100000)
> for(i in 1:length(st)) st[i] <- ed[i] # works fine
> df <- data.frame(start=st,end=ed)
> for(i in 1:dim(df)[1]) df[i,1] <- df[i,2] #takes for ever
R: R 2.0.0 (2004-10-04)
OS: Linux, Fedora Core 2
2006 Aug 01
2
Indexing issue
Hi,
R is having the following weird behavior and I am not sure if that is a
feature or a bug:
I am working on the following "3D" array:
> bIm
, , 1
[,1]
[1,] TRUE
[2,] TRUE
[3,] TRUE
[4,] TRUE
[5,] TRUE
> class(bIm)
[1] "array"
> dim(bIm)
[1] 5 1 1
When I try to get the first 2D subarray, the whole thing folds into a
vector:
> bIm[,,1]
[1] TRUE TRUE TRUE
2005 Apr 19
2
Printing a single "\" character
Hi,
I have a small R question: how to print a single "\" character? I have the
following results:
> print("\") does not work
> print("\\")
[1] "\\"
I need to make the following substitution as well, but it does not work
either:
> sub("_","\_","g_g")
[1] "g_g"
Thanks in advance,
Firas.
2005 Apr 14
2
Printing integers in R "as is"
Hi,
I am using the following command to print to a file (I omitted the file
details):
cat( paste( paste(orientation, start, end, names,"\n"), paste(start, end,
"exon\n"), sep=""))
where "orientation" and "names" are character vectors and "start" and
"end" are integer vectors.
The problem is that R coerce the integer vectors
2006 Aug 09
2
Speeding indexing and sub-sectioning of 3d array
Hi,
I am having a problem with a very slow indexing and sub-sectioning of a 3d
array:
> dim(arr)
[1] 245 175 150
For each point in the array, I am trying to calculate the mean of the values
in its surrounding:
mean( arr[ (i - radius):(i + radius),
(j - radius):(j + radius),
(k - radius):(k + radius)] )
Putting that code in 3
2006 Apr 27
1
R interface to ImageMagick
Hi,
I was wondering if anyone is aware of an R interface to ImageMagick
(www.imagemagick.org)? Since R does not support a lot of image processing
functions, having such an interface could be very useful. Alternatively,
ImageMagick has a couple of different interfaces (including to C and C++). I
was wondering if one can use these to call ImageMagick functions from R.
I am posting a similar
2008 Aug 13
1
The standard deviation of measurement 1 with respect to measurement 2
Hi,
I have two (different types of) measurements, say X and Y, resulting from
the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2),
...
I am trying to calculate the standard deviation of Y with respect to X. In
other words, in terms of the scatter plot of X and Y, I would like to divide
it into bins along the X-axis and for each bin calculate the standard
deviation along
2018 Feb 27
1
Help
Dear
I hope you are wery well when read this e-mail.My name is Firas ALSHAWY and
I am a Phd student in the high Institute of marine research - tishreen
university- Syria
I would like to want some help my in my research, I have data ( length -
weight - gonad weight - fishing mortality - natural mortality - the number
of fish-temperature of water, maximum age ) , I would like to use the
package (
2010 Jul 23
3
Figures in Latex
Hi all,
I want to add 6 plots in the format of 2 columns and 3 rows as one
figure in latex. The plots are in .eps file.
I know how to add 2 plots side by side, but could not figure out how to do
multiple rows.
I know this may not be the right place to ask such a question. But I do
not know who to ask, so just try my
luck here.
Thank you in advance.
2011 Oct 18
1
Latex question
Dear all,
This may not be the right place for latex questions, but I
do not know where else to ask the question.
I have two subfigures. I want the first subfigure to have a caption on
the side of it and the second subfigure
to have a caption below it.
Thank you.
Hannah
[[alternative HTML version deleted]]
2007 Oct 24
1
GAM vs. MGCV packages
Hi all,
I am a new R- user and I am going through the R-manuals, but I could not
find an answer for my question.
I am confused about when to use the GAM package and when to use the MGCV
package??
My Model is a GAM model of continuous outcome and many non-linear continuous
predictors (using the "s" function) as well as categorical predictors.
Thanks in advance for your help and
2007 Oct 19
1
plot.Design
Dear R-users:
I am trying to use the following code to reproduce the figures on page 140
of Prof. Frank Harrell's book 'Regression Modeling Strategies':
rm(list=ls())
options(width=128)
library(Hmisc)
library(Design)
getHdata(counties)
counties$older <- counties$age6574 + counties$age75
label(counties$older) <- '% age >= 65, 1990'
counties$pdensity <-
2011 Oct 17
1
contouring x y scatter data
Hello,
I'm almost positive R can do the following, I just haven't hit upon the
right package or search terms, however. Here's what I'm after: I've got
concentration output from two different models that I want to qualitatively
compare in a contour plot (or some variant of a contour plot). The problem
as I see it is that the data is not gridded is the usual regular fashion,
2003 Jul 27
1
contourplot:how to get it to label all contours like 'contour'
Hi,
one of the nice things about contour is that it labels all contour lines.
contourplot only labels each particular elevation a single time.
i.e., if there are two contour lines corresponding to z = 45, it will only
label one of them.
is there a way to get contourplot to automatically label all the contour lines,
even those that are repeated?
i ask because i want to plot contour plots *w/
2011 Jun 24
1
Competing-risks nomogram
Hi R users,
I'd like to draw a nomogram using a competing-risks regression (crr function
in R), rather than a cox regression. However, the nomogram function provided
in the Design package is not good for this purpose.
Do you have any suggestion.
I really appreciate your help
Many thanks
F.Abdollah, MD
San-Raffele hospital
Milan, Italy
--
View this message in context:
2011 Jul 12
1
Quantitative Analyst/Quantitative Developer
Hello,
I would like to post the below position on your site.
Thanks,
Quantitative Analyst/Quantitative Developer
MSIM Global Risk & Analysis, Quantitative Research & Model Review group
Morgan Stanley Investment Management (MSIM), together with its investment advisory affiliates, has more than 680 investment professionals around the world and approximately $279 billion in assets under
2016 Jul 19
2
GitHub Hooks
Perhaps it helps to know that I have access to the machines and have helped
debug many of the current problems. I'm not speaking from the outside,
guessing how hard things are.
I also think you are assuming a lot about where services can be hosted and
at which cost (labour, not hardware).
So, unless you are volunteering to take care of the whole infrastructure, I
suggest taking the opinion