Displaying 20 results from an estimated 2000 matches similar to: "Package ChemoSpec 1.46 Now Available on CRAN"
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
2008 Mar 30
2
Definition of "wrapper"?
I think I more or less understand what a ?wrapper? is, but I?d like to hear
how more experienced R users define it, and especially I'd like to know if
there is a formal definition. In my reading, it seems like there are a
fairly wide range of meanings, but they are all conceptually similar.
I've looked in a couple of the classic R texts, the extensions and
developers' manuals, and R
2011 Nov 19
0
Package HiveR 0.1-4 Released
I am pleased to announce the first release of HiveR, a package to
draw 2D and 3D Hive Plots. It's currently on CRAN and on it's way to
a mirror near you.
Hive plots are a unique method of displaying networks of many types
in which node properties are mapped to axes using meaningful
properties rather than being arbitrarily positioned. The hive plot
concept was invented by Martin
2011 Nov 19
0
Package HiveR 0.1-4 Released
I am pleased to announce the first release of HiveR, a package to
draw 2D and 3D Hive Plots. It's currently on CRAN and on it's way to
a mirror near you.
Hive plots are a unique method of displaying networks of many types
in which node properties are mapped to axes using meaningful
properties rather than being arbitrarily positioned. The hive plot
concept was invented by Martin
2016 Dec 27
0
Proper attribution in Authors@R for the d3.js library by Mike Bostock
I have a couple of packages that use the d3.js library developed (and copyrighted) by Mike Bostock. One package uses it extensively, another only for one function. I use R to piece together parts files containing JavaScript that I have written, which use d3.js functions and eventually the d3 library is called from a temporary web page.
To date, I have pointed to Bostock's library in the Rd
2009 Sep 07
1
xyplot {lattice} are different types possible for each panel?
Hello R Folks...
Using the example below, I¹d like two of the panels to be plotted with type
= ³p² but the third to be done with type = ³h². I can¹t use type = c(³p²,
³p², ³h²) because this syntax applies all given types to every panel. I
don¹t think I can use groups and distribute.type because these are intended
for different styles of plotting within a single panel. As you can see, I
tried
2009 Nov 16
4
Where are usages like "== 2L" documented?
Gurus:
I keep seeing other people?s code that contain ideas like
If (x == 2L)
X[-1L]
X - 1L
I have some idea of what?s going on, but where is the use of concepts like
?2L? documented?
Thanks, Bryan
*************
Bryan Hanson
Acting Chair
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA
2011 Mar 30
0
Package FuncMap Now Available on CRAN
I'm pleased to announce that the FuncMap (v 1.0) package is available
on CRAN.
This is a single function package that makes hive plots of function
calls for a specified package. Hive plots are a powerful concept
developed by Martin Krzywinski at the Genome Sciences Center
(mkweb.bcgsc.ca/linnet/). FuncMap is a simple implementation of
Martin's concept. Function calls in a
2011 Mar 30
0
Package FuncMap Now Available on CRAN
I'm pleased to announce that the FuncMap (v 1.0) package is available
on CRAN.
This is a single function package that makes hive plots of function
calls for a specified package. Hive plots are a powerful concept
developed by Martin Krzywinski at the Genome Sciences Center
(mkweb.bcgsc.ca/linnet/). FuncMap is a simple implementation of
Martin's concept. Function calls in a
2009 Dec 29
1
ggplot2, building a simple formula interface
I?m trying to build a simple formula interface to work with a function using
ggplot2. The following scheme ?works? up until the plot(p) request, at which
point there are complaints about xlim?s and a blank graphics window.
Looking at str(p) I do see the limits are NULL, plus layer 1 claims to have
an empty data frame (but df is reproduced correctly). I'm sure I'm missing
something really
2009 Dec 07
1
rgl keyboard shortcut for translation on Mac?
Hello Everyone.
I?m on a Mac, using rgl. Thanks to all the developers and maintainers on
it!
If I drag the mouse, I can rotate the view, if I hold down the option key or
the ctrl key and drag, I get scaling (though at times I seem to alter the
perspective?). Adding the shift key doesn't seem to modify anything.
So, what I can't find is a key combination that translates the object.
2009 Aug 11
1
Selecting/Accessing the last vector in a list of a list of data.frames
Hello Again R Folks:
I?m trying to clean up some code. Suppose I have an object like this:
> str(test)
List of 2
$ G:List of 2
..$ cls:'data.frame': 101 obs. of 2 variables:
.. ..$ V1: num [1:101] -0.0019 -0.0019 -0.00189 -0.00188 -0.00186 ...
.. ..$ V2: num [1:101] 0.000206 0.000247 0.000288 0.000329 0.000371 ...
..$ rob:'data.frame': 101 obs. of 2
2009 Oct 23
1
ggplot2: stat_bin ..count.. with geom_text when NA is present
One for the ggplot2 gurus...
I have a function which makes a plot just fine if the response vector (res
in the example; fac1 is a factor) has no NA in it. It plots the data, then
makes a little annotation at the bottom with the data counts using:
p <- p + geom_text(aes(x = fac1, y = min(res) - 0.1 * diff(range(res)),
label = paste("n = ", ..count.. , sep =
2010 Mar 14
2
Why doesn't vec[-real.number] give an error or warning? Kids do the darndest things!
Hi all...
My students were conflating grepping for a value in a vector to get the
index, and then removing it with [-index], for instance like this:
set.seed(17)
v <- rnorm(20)
s <- v[-1.18]
They were trying to remove the 12th value in v, which is -1.18 or so.
But the result is, as documented in ?Extract, to coerce 1.18 to the next
lowest integer, and remove the 1st value of v, not the
2012 Jul 23
3
Error: could not find function "loadObject"
Hey all--
I'm brand new to R, and have just installed the ChemoSpec because I'd like
to do PCA of NMR datasets. I was following along with the vignette and
trying to load the sample data as follows...
NMRTest <- loadObject("SrE.NMR.RData")
...and got the following error message:
Error: could not find function "loadObject"
I tried searching the above error
2009 Sep 06
1
Matrix as input to xyplot {lattice} - proper extended formula syntax
Hello R Folks...
I have a list with the following structure:
> str(df)
List of 3
$ y : num [1:4, 1:1242] -0.005379 0.029874 -0.023274 0.000655 -0.004537
..
$ x : num [1:1242] 501 503 505 507 509 ...
$ names: Factor w/ 4 levels "PC Loading 1",..: 1 2 3 4
I want to plot each row of df$y against df$x, and have each plot in it¹s own
panel according to the levels of df$names.
2010 Jun 26
1
boot with strata: strata argument ignored?
Hello All. I must be missing the really obvious here:
mm <- function(d, i) median(d[i])
b1 <- boot(gravity$g, mm, R = 1000)
b1
b2 <- boot(gravity$g, mm, R = 1000, strata = gravity$series)
b2
Both b1 and b2 seem to have done (almost) the same thing, but it looks like
the strata argument in b2 has been ignored. However, str(b1) vs str(b2)
does show that the strata have been noted
2010 Jul 26
1
Is there a function to interdigitate two columns?
Hello List Inhabitants:
I don?t know what this operation is called or if there is a function that
does it automatically, hence I seek your help!
If I divide a large data collection tasks between two students, and I have a
master list of samples, but one student records some of the values, and the
other student the remainder, I need to get the two sets of student
measurements into one column.
2010 Aug 19
0
Gathering different data types for aov etc
Hello List Folks. I?m trying to do manova using a function which assembles
the response (LHS) and factors (RHS) from different sources. When I do so,
the model routines complain that I'm passing a list for the RHS when I don't
think I am.
Here's a toy example:
r <- matrix(rnorm(30), ncol = 3) # toy data
td <- list(d = rnorm(10),
f1 = sample(c("A",
2009 Jul 23
0
panel.lmline - are m, b, and r^2 accessible somehow?
Hi R Folks...
Are the results of a fit carried out by panel.lmline readily available for
use in a lattice plot? I¹d like to put r^2, m, and b on each panel. I can
certainly write something that does this manually and then use it with
panel.text, but if it¹s already available, that would be preferable,
especially as lattice permits condition and subsetting so readily.
Looking at panel.abline, I