Displaying 8 results from an estimated 8 matches similar to: "integrate() (PR#1755)"
2009 Dec 18
1
Numerical Integration
Dear @ll. I have to calculate numerical integrals for triangular and trapezoidal figures. I know you can calculate the exactly, but I want to do it this way to learn how to proceed with more complicated shapes. The code I'm using is the following:
integrand<-function(x) {
print(x)
if(x<fx[1]) return(0)
if(x>=fx[1] && x<fx[2]) return((x-fx[1])/(fx[2]-fx[1]))
2002 Jul 08
2
integrate() (PR#1754)
Full_Name: Travis Porco
Version: 1.5.1 (6/17/2002)
OS: Suse Linux 7.1
Submission from: (NULL) (66.81.124.235)
This happens:
> integrate(function(x)1,0,1)
Error in integrate(function(x) 1, 0, 1) : evaluation of function gave a result
of wrong length
> integrate(function(x)x^2,0,1)
0.3333333 with absolute error < 3.7e-15
> integrate(function(x){cat(x);1},0,1)
0.5 0.01304674 0.9869533
2004 Nov 08
3
small world models?
Hi,
I've searched the archives for a discussion on the use of R for developing
"small world" or "scale-free" network models but have been unable to dig
anything up. Is anyone working on these types of models using R, and if so,
have you found this language amenable to their development?
thanks,
matt farnsworth
2007 Feb 21
1
Problem with rjava in linux
Hi,
I install rJava in linux. The installation, from source, is ok. But I have
this error on load package.
> library(rJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared
library '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No such file or directory
Error: .onLoad failed in
2006 Oct 04
1
Some questions about plotting with R
Greetings list,
I'm currently in the process of migrating some Matlab code to R. It's
going well, but I'm running into trouble with plotting. There are a
few questions I have.
1) Is there any way to do a 3D line plot in R? This would be what the
Matlab function plot3 does.
2) I would like to create 3 separate plots. With Matlab, this is done
by doing ...
figure;
plot...
2024 Jun 23
4
[Bug 1755] New: Impossible to copy ct mark into a packet
https://bugzilla.netfilter.org/show_bug.cgi?id=1755
Bug ID: 1755
Summary: Impossible to copy ct mark into a packet
Product: netfilter/iptables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: unknown
Assignee: netfilter-buglog at
2010 Apr 13
3
[Bug 1755] New: Broken pipe with scponly with debuglevel
https://bugzilla.mindrot.org/show_bug.cgi?id=1755
Summary: Broken pipe with scponly with debuglevel
Product: Portable OpenSSH
Version: 5.4p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
2008 Feb 27
1
Label outliers in boxplot
Sorry if this is a stupid question, I'm a beginner and I didn't find help in manuals, archives, or web
I have a z matrix of this type:
a b c d
786-30.s2.gpr 0.2186214 1.3374486 89.37757 9.066358786-31.s1.gpr 1.0931070 1.3245885 81.37860 16.203704786-31.s2.gpr 0.5529835 1.3374486 86.43261 11.676955786-32.s1.gpr 0.6815844