Displaying 20 results from an estimated 1100 matches similar to: "Differential Equations Using R?"
2012 Apr 12
3
Remove superscripts from HTML objects
Is there some way to remove superscripts from objects returned by
html/xmlParse (XML package)?
h <- "<html><p>Cat<sup>a</sup></p><p>Dog</p></html>"
doc <- htmlParse(h)
xpathSApply(doc, "//p", xmlValue)
[1] "Cata" "Dog"
I could probably remove the <sup> tags from the "h" object above,
2008 Dec 23
1
Approximate Entropy?
Dear guRus,
is there a package that calculates the Approximate Entropy (ApEn) of a
time series?
RSiteSearch only gave me a similar question in 2004, which appears not
to have been answered:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/28830.html
RSeek.org didn't yield any results at all.
Happy holidays (where appropriate),
Stephan
2013 Apr 02
2
R Commander and FactoMineR
Dear Users,
I helped to install R Commander and FactoMineR to one of my collegaues.
He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine).
Running the code (output of the point-and-click method)
EuTop100.MCA<-EuTop100[,
2013 Jun 01
1
error about MCA
Hi,all:
I want to perform multiple correspondance analysis via MCA{FactoMineR}.
The data is in the attachment.
My code:
dat<-read.delim("e:\\mydata.txt",header=T)
MCA(dat,quanti.sup=7,quali.sup=1:6)
Error in `[.data.frame`(tab, , i) : undefined columns selected
My question:
Why does the error happen?
Many thanks.
Best.
-------------- next part --------------
An embedded and
2012 Apr 12
1
Generate combination of strings
Hey all,
I am trying to generate a number of vectors with string combinations. The
below code solves my initial problem, however I would prefer not hardcoding
the positions of the 'objects' as in the future the number of 'objects'
could increase. Is there a way to loop over these objects and generate the
same output? The same goes for the 'maxspacer'.
Thanks a whole
2009 Dec 11
12
Literature analysis
Dear all,
i am new in R. I am writing a review paper about batteries. However, i
am interested in analyzing all the papers by keywords, author,
references and year.
This could be done by "refviz" a software, which is only running on
windows machines and which is not free.
So my question to you is, is it somehow possible to write a script that
can do all of this work?
And if yes, with
2008 Mar 10
3
Only 5 tests out of 376 currently failing!
Good news! SuperRedCloth is down to just five failing tests! I was
down to 10 or so in mid-February but then I added test cases from
"The official reference manual for Textile 2", which added 97 new
tests, many of them failing. I''m happy to say, they''re almost all
passing now.
Four of these last five I just need to check with you on before I
deviate from
2006 Nov 20
4
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
I've compiled all the object files that make up libstdc++ and libsupc++
into LLVM bytecode:
http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
A simple test program, x.cpp:
#include <iostream>
int main() { std::cout << "hello world\n"; return 0; }
$ llvm-g++ -emit-llvm -c x.cpp
$ llvmc -o=out x.o std/*.o sup/*.o
$ lli out.bc
Segmentation fault (core
2012 Sep 11
1
lapply with different size lists?
Hello,
I have 2 functions (a and b)
a = function(n) { matrix (runif(n*2,0.0,1), n) }
>
>
> b = function (m, matrix) {
> n=nrow (matrix)
> p=ceiling (n/m)
> lapply (1:p, function (l,n,m) {
> inf = ((l-1)*m)+1
> if (l<p) sup=((l-1)*m)+m
> else sup=n
>
2013 Jun 04
3
Nokogiri::XML methods example
Hi,
I am not able to find out a simple example to find out the how the
method works:
> Nokogiri::XML::EntityReference::new
(http://nokogiri.org/Nokogiri/XML/EntityReference.html#method-c-new)
> Nokogiri::XML::Document#canonicalize
(http://nokogiri.org/Nokogiri/XML/Document.html#method-i-canonicalize)
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2012 Aug 06
1
cannot find function "simpleRDA2"
Hi,
I am trying to run the command "forward.sel.par," however I receive
the error message: "Error: could not find function 'simpleRDA2'." I
have the vegan library loaded. The documentation on "varpart" has not
helped me to understand why I cannot call this function. Maybe I am
missing something obvious because I am still an 'R' novice.
Below is a
2008 Jan 06
1
Error .. missing value where TRUE/FALSE needed
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <=
2009 Dec 16
1
FW: question on how to connect 2 boxes
Was my question not understood?
Hello,
I would like to connect 2 asterisk boxes together, so this is my scenario:
Asterisk Main: it is connected to many sip providers and its main purpose as
a call termination forwarder.
Asterisk B: it?s connected to E1, and its purpose to terminate calls. It
will receive SIP messages from Asterisk_Main, but there will be no voice
traffic
2008 Jul 30
1
Converting to subscripts and superscripts
Hi,
I am reading in a CSV file of chemical reactions where the subscripts and
superscripts are encoded in angle brackets, like below:
2 H<SUP>+</SUP> + 2 O<SUB>2</SUB><SUP>-</SUP>
Is there a way to convert these to actual sub/superscripts and save them in
another excel file? I greatly appreciate the help!
Thanks,
-Nina
PS. I asked this before, but I
2009 Dec 08
0
[LLVMdev] LLVM 2.6 cygwin build fails
> I'm trying to build LLVM 2.6 (from svn branch release_26) on cygwin
> 1.7, and I have the following errors with both GCC 3.4.4 and GCC 4.3.4
>
> llvm[2]: Linking Release Loadable Module profile_rt.dll
Cygwin does not support dynamic linking (as any windows target).
For the moment - you can just build tools and not the runtime via
"make tools-only".
--
With best
2008 Jan 06
1
Error: missing value where TRUE/FALSE needed
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <=
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote:
> I've compiled all the object files that make up libstdc++ and libsupc++
> into LLVM bytecode:
> http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
>
> A simple test program, x.cpp:
>
> #include <iostream>
> int main() { std::cout << "hello world\n"; return 0; }
>
> $
2004 Dec 27
4
PDC + LDAP
I'm trying to set up my LDAP in preparation to configure my Samba PDC.
In the Official Samba-3 HOWTO and Reference Guide it give instructions
on howto setup slapd.conf (section 10.4.4.3) After modifying the file
it instructs to run /sbin/splapindex -f /splapd.conf When I run this I
get the following error:
/etc/openldap/schema/samba.schema: line 423: AttributeType not found:
2005 Jun 07
1
Variables values on intersected intervals
Dear R-list,
i have a problem, in the framework of simulations, i want to vectorize for
earning time: a variable, say X, has values on intervals and an other
variable, say Y, has values on other intervals. For example
Inf Sup X
0 2 1
2 4 2
4 6 3
and
Inf Sup Y
1 3 1
3 5 2
5 7 3
i want to create a matrix like this
Inf Sup
2006 Sep 18
1
PHP Dingus Fix
I just realised I hadn't updated the version of PHP Markdown and
Extra on the dingus as I pretended I did in my two announcements. It
is now fixed: PHP Markdown 1.0.2b7 and PHP Markdown Extra 1.1b1 can
now be tested on the dingus.
<http://www.michelf.com/projects/php-markdown/dingus/>
Sorry for any inconvenience.
Michel Fortin
michel.fortin@michelf.com
http://www.michelf.com/