Displaying 20 results from an estimated 1000 matches similar to: "How to draw a plot like this?"
2009 Mar 14
3
[OT] two question about color space.
Hi there,
I try to plot visible light spectrum (380nm~780nm) with color
corresponding to the specific wavelength. However, I don't find a
function that could do this.
Another question, it's possible to plot a color space chromaticity
diagram like this:
http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/CIExy1931.svg/300px-CIExy1931.svg.png
Thanks in advance!
Jinsong
2010 Aug 28
1
star models
Hi,
I am traying to implement an STAR model, but I have some problems.
I am following the instruction of the model, that they are in:
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/tsDyn/man/star.html
that they are from:
http://bm2.genes.nig.ac.jp/RGM2/pkg.php?p=tsDyn
The model is:
star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh,
thDelay, thVar, sig=0.05, trace=TRUE,
2009 Mar 18
2
Three Parameter FRECHET Distribution
Dear R Helpers
Which package is available for estimatine the parameters of three parameter FRECHET distribution. Also, how to generate the random numbers for Frechet using these three estimated parameters.
Thanking in advance
Maithili
2009 Dec 05
1
Forest Plot
Hi All,
I want to produce a similar "Forest Plot" as it is on the following link,
but my data would be having only two columns (one for "Estimate" and other
for "Std. Dev"). Can anyone suggest some function() {Package} which can take
such file as an input and give following forest plot:
2011 Mar 01
1
Problem on flexmix when trying to apply signature developed in one model to a new sample
Problem on flexmix when trying to apply signature developed in one model to a new sample.
Dear
R Users, R Core Team,
I have a problem when trying to know the
classification of the tested cases using two variables with the function of flexmix:
After importing the database and creating
a matrix:
BM<-cbind(Data$var1,Data$var2)
I see that the best model has 2 groups and
use:
ex2
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
2008 Oct 14
1
Advice on Computer Specifications
Hello
I'm running into a variety of limitations with my computer complaining that
it doesn't have sufficient memory. It is a Dell Latitude D630 Duo Core
CPU T7700 @ 2.40 GHz, with 3.50 GB RAM.
I'm working with relatively large dataframes
> dim(AllYears)
returns 4071840 records with 13variables
sometimes this complains that it can not allocate vectors of 16.0 Mb and
will
2009 Dec 06
3
estimate inverse gaussian in R
I have a one-variable data set in R.
The plot of histogram of my numerical variable suggests an inverse
gaussian distribution.
How can I obtain best estimation for the two parameters of inverse
gaussian based on my data?
Thanks.
--
View this message in context: http://n4.nabble.com/estimate-inverse-gaussian-in-R-tp949692p949692.html
Sent from the R help mailing list archive at Nabble.com.
2008 Dec 19
4
Akaike weight in R
Odette
> Wondering how can I generate "Akaike weight" with R? I know the description,
> but is there any function to generate by R on the web-site or R library?
> I am using GLM or GLMM (family=binomial), so would be appreciated if you
> help me.
You could have a look at this.
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/aod/man/summary.aic.html
Which is in the OAD
2009 Oct 27
4
automatically adjusting axis limits
Dear R users,
I am a newbie. Just switched from MATLAB. So thanks a lot for your
patience.
I have 50000 spectra collected in field. Each spectra has two columns :
Wavelength (56) and the actual measurement.
Each measurement came in a different .txt file on disk (50000 files in
total). I wrote a script that reads every spectra in a for loop and
constructs two variables :
Wavelength (56) and
2009 Feb 17
2
Chromatogram deconvolution and peak matching
Hi,
I'm trying to match peaks between chromatographic runs.
I'm able to match peaks when they are chromatographed with the same method,
but not when there are different methods are used and spectra comes in to
play.
While searching I found the ALS package which should be usefull for my
application, but I couldn't figure it out.
I made some dummy chroms with R, which mimic my actual
2008 Dec 07
2
concordance correlation coefficient using R
Hi.
I have data which i would want to assess the degree of agreement
between two assays, e.g., to evaluate reproducibility or for
inter-rater reliability. I have used the Pearson product-moment
correlation coefficient. It looks good ranginging between 0.90 to
0.998. Though this looks good. I am told the Concordance correlation
coefficient will give a better picture of how reproducible the assay
2010 Apr 03
2
Using ifelse and grep
Good Morning,
I am trying to create a new column of character strings based on the first
two letters in a string in another column. I believe that I need to use some
combination of ifelse and grep but I am not totally sure how to combine
them. I am not totally sure why the command below isn't working. Obviously
it isn't finding anything that matches my criteria but I am not sure why.
Any
2010 Feb 10
3
Novel (Maybe?) Visualizations
I'm interested in using R's plotting capabilities to try to generate a graph showing the relationship/pairing frequency of words appearing in a block of unstructured text. I don't have a specific algorithm or approach in mind, just looking to portray text in an interesting fashion. The output I'm hoping for is something like the following called a "Phrase Network":
2008 Apr 17
2
Suggestions: Terminology & Pkgs for following spectra over time
Hi Folks... No code to troubleshoot here. I need some suggestions about the
right terminology to use in further searching, and any suggestions about R
pkgs that might be appropriate.
I am in the planning stages of a project in which IR, NMR and other spectra
(I'm a chemist) would be collected on various samples, and individual
samples would be followed over time. The spectra will be feature
2012 Apr 27
1
Hyperspec package: need to change spectra names in a stacked plot
Hi all,
I need to insert the name of spectra in a stacked plot obtained with
hyperspec.
I use this command
plot(spectra [c(-1:-4, -6:-8, -10:-12, -14:-16)], stacked = T)
but, in this way R draw nameless spectra on the Y axis.
How can I solve the problem?
Thank you for any suggestion.
Best regards,
Roberto
--
View this message in context:
2010 Apr 14
2
GAMM : how to use a smoother for some levels of a variable, and a linear effect for other levels?
Hi,
I was reading the book on "Mixed Effects Models and Extensions in
Ecology with R" by Zuur et al.
In Section 6.2, an example is discussed where a gamm-model is fitted,
with a smoother for time, which differs for each value of ID (4
different bird species). In earlier versions of R, the following code
was used
BM2<-gamm(Birds~Rain+ID+
2009 May 15
2
Using column length in plot gives error
Hi
I'm trying to write a generic script for processing some data which finishes
off with some plots. Given Im never sure how many columns will be in my
dataframe I wanted to using the following
plot(spectra.wavelength, cormat, type = "l", ylim=c(-1,1), xlab="Wavelength
(nm)", ylab="Correlation")
however even if I specify as type="l" it appears plot
2011 May 04
1
Outlier removal by Principal Component Analysis : error message
Hi,
I am currently analysis Raman spectroscopic data with the hyperSpec package.
I consulted the documentation on this package and I found an example
work-flow dedicated to Raman spectroscopy (see the address :
http://hyperspec.r-forge.r-project.org/chondro.pdf)
I am currently trying to remove outliers thanks to PCA just as they did in
the documentation, but I get a message error I can't
2006 Jul 11
3
least square fit with non-negativity constraints for absorption spectra fitting
I would really appreciate it if someone can give suggestions on how to
do spectra fitting in R using ordinary least square fitting and
non-negativity constraints. The lm() function works well for ordinary
least square fitting, but how to specify non-negativity constraints? It
wouldn't make sense if the fitting coefficients coming out as negative
in absorption spectra deconvolution.
Thanks.