Displaying 20 results from an estimated 9000 matches similar to: "building an expression"
2020 Oct 09
1
Aide pour finaliser ce code
Hello.
Here is my R code. I used the functional data . Now I need to use the
functional data by applying the kernels instead of the xi, yi functions.
Bonjour.
Voici mon code en R . J'ai utiliser les donn?es fonctionnelles . Maintenant
j'ai besoin d'utiliser les donn?es fonctionnelles en appliquant les noyaux
? la place des fontions xi, yi
library(MASS)
2020 Oct 10
3
Please need help to finalize my code
Good evening dear administrators,
It is with pleasure that I am writing to you to ask for help to finalize my
R programming algorithm.
Indeed, I attach this note to my code which deals with a case of
independence test statistic . My request is to introduce the kernels using
the functional data for this same code that I am sending you. So I list the
lines for which we need to introduce the
2002 Nov 16
1
using the function "expression" with "paste" in a plot
Hi,
I noticed that paste and expression in the following manner does not produce
the desired result.
vnames=c("pi","y","delta")
vx=vn=3
m=16
# mydata any matrix that takes for the following form
mydata=array(somedata,c(m,vn,vx))
# producing plots
for (j in 1:vx){
for (i in 1:vn)
{
plot(mydata, type="l", main=expression(paste("Effect of",
2020 Oct 13
0
Please need help to finalize my code
What do you *mean* "when you want to use the kernels".
WHICH kernels?
Use to do WHAT?
In your browser, visit cran.r-project.org
then select "Packages" from the list on the left.
Then pick the alphabetic list.
Now search for 'kernel'.
You will find dozens of matches.
On Wed, 14 Oct 2020 at 05:15, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> Hm. Google tells
2002 Jun 13
1
assign to data.frame
I have two large data.frames which I would like to combine. Merge works, but
is slow and a "merge" is not really required. Rather a rbind will do the
trick. However, there are a number of variables which need to be created in
each data.frame to make the columns of the two data.frames similar.
say,
d1 <- data.frame(ind1=1:10,ind2=letters[1:10],c_rnorm(10))
d2 <-
2020 Oct 13
1
Please need help to finalize my code
Hm. Google tells me that kernel function is in stats package which comes with base installation and is invoked when you start R.
search()
[1] ".GlobalEnv" "package:stats" "package:graphics"
[4] "package:grDevices" "package:utils" "package:datasets"
[7] "package:methods" "Autoloads"
2005 Feb 15
1
matlab norm(h) command in R: sqrt(sum(h^2)) - use in an expression
Hi
in matlab I defined a function (double gamma, parameters at the end of
this mail) as
h(i)=((t/d1)^a1)*exp(-(t-d1)/b1)-c*((t/d2)^a2)*exp(-(t-d2)/b2);
h=h/norm(h);
I do know that norm() in matlab is equal to:
sqrt(sum(x^2))
in R
so in R I do it like:
#function (double gamama)
h <- expression((t/d1)^a1*exp(-(t-d1)/b1)-c*(t/d2)^a2*exp(-(t-d2)/b2))
# plot it
t <- seq(0, 20000,
2013 Apr 25
1
estadistica espacial
Hola Comunidad se que este grupo es para asuntos de R.
Pero me asalta la duda...
*Estoy comenzando un trabajo de estadística espacial sobre el delito robo,
es mi trabajo de grado ;*
Estoy recolectando documentación, que me sirva para el marco teórico de la
tesis ,trabajaré sobre los software gvsig y crimestat (ambos libres):
Hasta ahorita tengo pensado obtener: ü Estadísticos descriptivos
2013 Mar 02
1
Expressions in lattice conditional variables
I would like to have a lattice conditioning ( | var ) variable have
expression() as values because I want panel labels to be able to use
plotmath notation for subscripts, etc. lattice barks at this. Does anyone
know of a trick workaround? An attempted example program is below. Thanks
-Frank
require(lattice)
set.seed(1)
var <- c(rep('A', 100), rep('B', 100))
trt <-
2007 Feb 04
1
per-directory create mask
I have set a "create mask" that works well for most uses, but there are some
directories inside my shares where I need to make files read-only, and my
create mask makes every new file world-writable. Is there a way to specify a
different create mask for some specified directories?
I thought about making several shares with different create masks, but I'm
only allowed to make
2007 Mar 05
1
Opera proposed Theora for native video playback in browsers
Hi ,
I see this news in Opera website :
http://my.opera.com/haavard/blog/2007/03/05/1
I think this is a good news for Theora Team and also a greater news if video
tag becomes true.
This extract of the website is incredible :
'One thing to keep in mind that adding native support for Theora in Opera
would only add about 300K to Opera's overall size! And I am sure that could
even be
2012 Nov 09
1
Duda sobre modas en un distribución
Hola a tod en s, estoy intentando averiguar el número de modas en una
distribución. Para ello utilizo diptest. Mi duda es que no acabo de
entender cuando la información suministrada por los test suponen la
existencia o no de unimodalidad/multimodalidad. Una parte de la salidad de
diptest es la que pego a continuación (el resto esta en el fichero adjunto
con las distribuciones kernels y las
2012 Aug 07
2
Error using ddply inside user-defined function
Hi All,
I *think* it's ddply because the function recognizes vr1, etc, in other
parts of the function.
Here's some code:
# create dataset
PROV.PM.FBCTS <- c(0.00 ,0.00, 33205.19, 25994.56, 23351.37, 26959.56
,27632.58, 26076.24, 0.00, 0.00 , 6741.42, 18665.09 ,18129.59 ,21468.39
,21294.60 ,22764.82, 26076.73)
FBCTS.INV.TOT <- c(0 , 0, 958612, 487990, 413344, 573347,
2010 Aug 06
3
yum-fastestmirror inconsistent exclude behavior
Hi guys,
I'm trying to figure out something wherein excluded repositories for
the yum-fastestmirror plugin are still being used by the system.
To illustrate:
[root at sales ~]# cat /etc/yum/pluginconf.d/fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
exclude=maulvi, .gov.ph, .vn
2003 Sep 30
2
ts - unit conversion
I've been using R for a while, but now find myself needing to understand
time-series objects for a short course I am teaching. I am putting
together some daily financial datasets for illustration, but having some
trouble in aggregating the data to months or weeks. I am getting a
"cannot change frequency from 1 to 12" message.
I am not sure that aggregation is where I want to go
2016 Apr 26
0
Missing Values in Logical Expressions
Hm
Based on Jim's data your construction gives me correct result.
> Umsatz_2011<-c(1,2,3,4,5,NA,7,8,NA,10)
> Kunde_2011<-rep(0:1,5)
> Check_Kunde_2011 <- ifelse(is.na(Umsatz_2011) == TRUE & Kunde_2011 == 1, 1, 0)
> Check_Kunde_2011 <- factor(Check_Kunde_2011, levels = c(1,0), labels = c("Check", "OK"))
> table(Check_Kunde_2011)
2006 Mar 17
0
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
On Thu, 16 Mar 2006, Eric Kidd wrote:
> Hello! I'm compiling code which uses pointers as iterators. For some
> reason--probably a silly misunderstanding of the docs--I can't eliminate
> duplicate pointer loads. I'll probably figure this out eventually, but if
> somebody else sees the answer instantly, I certainly won't complain. :-)
There are no stupid questions.
2016 Sep 01
2
[RFC] Interprocedural MIR-level outlining pass
Hi Daniel,
Consider me convinced (not sure you care, but still... :-))
What confused me is that this is not VN in a traditional sense -- it's more
like using VN's infrastructure to compute something different. But one can
use VN's code for this, indeed.
Thank you for the explanation!
Yours,
Andrey
On Thu, Sep 1, 2016 at 4:24 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
2009 Aug 23
3
CentOS Mirrors and Adjacent country groups
CentOS has developed our own mirrorlist and isolist applications and
inside this application, we have some countries that we shift to other
countries and we also have some country groups defined.
The purpose of these groupings is to have adjacent countries grouped
together for applications like fastest mirror and others.
I will put here what we currently have and ask the community to vet the
2011 Aug 10
2
Opposite of paste function
Dear All,
I have vn variable
> vn
[1] "V300" "V376"
What I want to get is
300 376
without V and "" from vn variable.
Could you help me about this issue?
Thank you,
Soyeon
[[alternative HTML version deleted]]