Displaying 20 results from an estimated 1000 matches similar to: "(no subject)"
2005 Aug 02
1
plotting 3 functions on same graph
hi all,
I wish to draw on the same graphic device 3 functions.
But i don't want them to be on different graph, i want to compare them on the same
I don't need mfrow or mfcol, I need something else...
1 graph on 1 device inside this graph 3 ploted function.
I saw something unsing data.frame, but i think it's overkill, and something less complicated must exist, if not why?
why not
2005 Jul 22
1
multiplicate 2 functions
Thks for your answer,
here is an exemple of what i do with the errors in french...
> tmp
[1] 200 150 245 125 134 345 320 450 678
> beta18
Erreur : Objet "beta18" not found //NORMAL just to show it
> eta
[1] 500
> func1<-function(beta18) dweibull(tmp[1],beta18,eta)
> func1<-func1(beta18) * function(beta18)
dweibull(tmp[2],beta18,eta)
Erreur dans dweibull(tmp[1],
2011 Feb 17
1
Integrate with an indicator function
Hi all,
I have some some problem with regard to finding the integral of a
function containing an indicator function.
please see the code below:
func1 <- function(x, mu){
(mu^2)*dnorm(x, mean = mu, sd = 1)*dgamma(x, shape=2)}
m1star <- function(x){
integrate(func1, lower = 0, upper = Inf,x)$val}
T <- function(x){
0.3*dnorm(x)/(0.3*dnorm(x)+0.7*m1star(x))}
func2 <-
2018 Jan 11
1
LLVM EH tables much larger than GCC's
On Wed, Jan 10, 2018 at 5:21 AM, James Y Knight <jyknight at google.com> wrote:
>
> On Fri, Jan 5, 2018 at 9:58 PM, Ryan Prichard via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> 2. *Termination landing pads.*
>>
>> Clang sometimes uses a landing pad that calls __clang_call_terminate to
>> terminate the program. GCC instead leaves a gap in
2011 Feb 17
1
Integration with an Indicator Function in R
Hi all,
I have some some problem with regard to finding the integral of a
function containing an indicator function.
please see the code below:
func1 <- function(x, mu){
(mu^2)*dnorm(x, mean = mu, sd = 1)*dgamma(x, shape=2)}
m1star <- function(x){
integrate(func1, lower = 0, upper = Inf,x)$val}
T <- function(x){
0.3*dnorm(x)/(0.3*dnorm(x)+0.7*m1star(x))}
func2 <-
2005 Jul 27
1
thks all
hi all
I wish to thanks every body on the R mailing list for answering very fast, directly in my mail box ;).
I've finish my work with R and i can say that it is very difficult at the beginning, and when you succeed you are stopped by a stack overflow when you call your nice recursive function (which was working with a tab of 100 element) with a tab of 900 elements, but R just do what you
2012 Sep 27
1
Is there a way to source from a specific Git repository without hardcoding the location everywhere?
Folks,
A small group of us are working together to develop a set of R functions
to support data management and analysis using Eclipse/StatET in a Windows
environment. We are using Git/EGit for version control. We work within
our own repository and occasionally push to a common remote location.
I'd like to have the code source files from the 'local' git repository
without
2005 Jul 22
1
Generate a function
hi all,
I need to generate a function inside a loop:
tmp is an array
for (i in 1:10)
{
func<- func * function(beta1) dweibull(tmp[i],beta1,eta)
}
because then i need to integrate this function on beta.
I could have written this :
func<-function(beta1) prod(dweibull(tmp,beta1,eta)) (with eta and beta1 set)
but it is unplottable and no integrable... i could make it a bit different but
2004 May 05
3
sample
Dear List:
I have the following simple program:
x<- sample(site)
VarGuilda1<- var(tapply(x,site,func1))
VarGuilda2<- var(tapply(x,site,func2))
VarGuilda3<- var(tapply(x,site,func3))
VarGuilda4<- var(tapply(x,site,func4))
VarGuilda5<- var(tapply(x,site,func5))
VarGuilda6<- var(tapply(x,site,func6))
VarGuilda7<- var(tapply(x,site,func7))
VarGuilda8<-
2005 Jul 19
1
integrate fails with errors
Hi all,
i'm new to R,
I need to modelize in R a statistic algorithm,
This algo use Weibull, normal law, linear regression, normalisation, root mean square, to find eta and beta fitting the weibull model (to analyse few results) and further when we will get more information apply bayes model .
the problem is when When i try to integrate it fails with errors.
by the way i like to integrate
2003 Dec 09
2
: global and local variables
Hi all
I have a problem pertaining to local and global variables.
Say I have a function defined as follows:
a<-function(x)
{y<x^2}
i.e
a(2)
[1] 4
function b is now defined to take the value of y and do some
manipulation with it. As it stands I dont know how to store the
variable y such that other functions are able to reference its value.
I know that I
2005 Aug 02
1
multiple scale
Hi all
i need to put on one graph 2 functions who's x axis is the same and y not.
I mean on horizontal the time, and on vertical left: pressure, on vertical right: rpm of a motor, is R able to do that?
i've found this that i could adapt maybe (i don't need time series really?) :/ :
(http://tolstoy.newcastle.edu.au/R/help/04/03/1456.html)
##
## Description: A simple function which
2005 Dec 16
1
column name of a table
hy all,
I wish to switch in a part in my code that use "read.table" to "scan", actually i use this:
tab<-scan("data.dat",what=integer(),skip=1)
dim(tab)<-c(75,length(tab)/75)
tab<-t(tab)
It gives me a new tab with 75 columns, but i when i was using read.table with headers then attach i could use the columns names to access the data values, now how can i
2006 Jan 04
1
produce hours greater than 23
Hy all,
I wish to use the date function to draw againt the lifetime of a motor.
This lifetime is given to me in Hours (it can go over 5000 hours)
I'm unable to find how to convert this lifetime value to something like %H:%M:%S because when R see 24H it says 1 day, i don't want that, i just want %H:%M:%S with a value of %H higher than 24...
for example:
i've got this value in hours:
2005 Dec 07
2
concatenate data frame
hi all
Here is a small part of my code:
tab_tmp<-tab[1:(no[off_set[i-1]+1]+(no[off_set[i]+1]-no[off_set[i-1]+1])),length(tab)];
tab_tmp1<-tab[(no[off_set[i-1]+1]+(no[off_set[i]+1]-no[off_set[i-1]+1])):length(TotalFillTimeHours),length(tab)];
tab<-c(tab_tmp,tab_tmp1);
attach(tab);
Here is the output:
Error in attach(tab) : attach only works for lists and data frames
Execution halted
2018 Jan 10
0
LLVM EH tables much larger than GCC's
On Fri, Jan 5, 2018 at 9:58 PM, Ryan Prichard via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> 2. *Termination landing pads.*
>
> Clang sometimes uses a landing pad that calls __clang_call_terminate to
> terminate the program. GCC instead leaves a gap in the call site table,
> and the personality routine calls std::terminate. For the 4MB
> libQt5Core.so sample I'm
2011 Jan 20
0
Writing functions. please help
Hi, my name is Guilherme and I'm trying to solve an optimization problem in
R, regarding reliability and survival time of equipments. I Have to write
the function in the image attached to this email, please take a look, where
the f(t) is weibull's distribution density function, Ca=1000 and Cb=100 are
costs of two equipments and i'm using shape=2.5 and scale=20. However, a few
problems
2005 Oct 18
2
hist of dates
Hi all
I wish to draw an histogram... with dates but the following append, i don't know where is the problem, help(hist.Date) works and i don't see any usefull information on what i'm doing wrong...
> hist.Date(dt_cycles)
Error: couldn't find function "hist.Date"
> hist.date(dt_cycles)
Error: couldn't find function "hist.date"
> cycles
[1] 7 1
2009 Dec 01
2
Slightly OT - Oreka Call Recording
Greetings all-
I'd like to install Oreka on a Centos 5.x server for monitoring my Asterisk systems(using port mirroring) but I find I'm having problems with the version of libpcap installed. The latest is 0.9.4 but the orkaudio RPM (built for Centos 4.2) requires libpcap 0.8.3. I've tried making symlinks to overcome the issue but with no success. Without having to build Oreka from
2008 Dec 06
2
Call Recording - Asterisk
Hello folks,
I wanted to setup Oreka to monitor calls on a trixbox box I have setup.
Oreka doesn't seem to be catching all of the calls though.... I have port
mirroring setup on the port that trixbox is connected to, mirrored to the
port Oreka is connected to.
I have read that Asterisk doesn't work as a SIP Proxy, so I wondered if this
meant that some phones, after checking in with