Displaying 16 results from an estimated 16 matches for "fr1".
Did you mean:
f1
2008 May 18
1
plot a function with a vector as argument
I tried to define a function using another function I defined before, and the
previous function has a vector as an argument, when I tried to get the graph
of the new function, there was something going wrong. Here is a simple
example to explain how it happend:
fr1 <- function(x,y){
x^2+x*y+1
}
fr2 <- function(x){
fr1(x,3)
}
plot(fr2)
In this case, it worked just fine. But when I changed it to the following
form:
Fr1 <- function(x){
x1 <- x[1]
x2 <- x[2]
x1^2+x1*x2+1
}
Fr2 <- function(x){
Fr1(c(x,3))
}
plot(Fr2)
it gives:...
2011 Dec 20
1
constrOptim and problem with derivative
Dear List,
I am using constrOptim to solve the following
fr1 <- function(x) {
b0 <- x[1]
b1 <- x[2]
((1/(1+exp(-b0+b1))+(1/(1+exp(-b0)))+(1/(1+exp(-b0-b1)))))/3
}
As you can see, my objective function is
((1/(1+exp(-b0+b1))+(1/(1+exp(-b0)))+(1/(1+exp(-b0-b1)))))/3 and I would
like to solve for both b0 and b1.
If I were to use optim the...
2015 Mar 16
0
Re: Can't create any KVM template due to the error with libguestfs
[root@fr1 tmp]# cd /tmp
[root@fr1 tmp]# cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img
cpio: sbin/guestfsd not created: newer or same age version exists
cpio: etc/guestfsd.suppressions not created: newer or same age version
exists
3629 blocks
[root@fr1 tmp]# ldd /tmp/sbin/guestfsd
linux...
2007 Apr 20
1
Hiding "Warning messages" in coxme output
Dear list,
I have been trying to use coxme in R 2.3.1.
When I use coxme in the following data sim.fr1, i get
"Warning messages: using 'as.environment(NULL)' is
deprecated"
Why does it occur?
How can I hide such warning message,
especially when coxme is under a loop?
Mohammad Ehsanul Karim (Institute of Statistical
Research and Training, University of Dhaka)
> fit.me1<...
2012 Apr 29
1
Error in if (nuhat < 2) stop("The degrees of freedom must be greater than or equal to 2") : missing value where TRUE/FALSE needed
...greater than or equal to 2") :
missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In min(sub[vecn >= 12]) :
no non-missing arguments to min; returning Inf
2: In max(sub[vecn >= 12]) :
no non-missing arguments to max; returning -Inf
3: In near(x1, x1[isub[i]], fr1) : NAs introduced by coercion
4: In near(x2, x1[isub[i]], fr2) : NAs introduced by coercion
5: NAs introduced by coercion
> ancboot(covGrp1, dvGrp1, covGrp2, dvGrp2, nboot = 2000)
[1] "Note: confidence intervals are adjusted to control FWE"
[1] "But p-values are not adjusted to...
2011 Dec 21
1
constrOptim and further arguments
...put further arguments in this manner, any
help from the list would be gratefully received.
Regards
Mike Griffiths
On Tue, Dec 20, 2011 at 11:53 AM, Michael Griffiths <
griffiths@upstreamsystems.com> wrote:
> Dear List,
>
> I am using constrOptim to solve the following
>
> fr1 <- function(x) {
> b0 <- x[1]
> b1 <- x[2]
> ((1/(1+exp(-b0+b1))+(1/(1+exp(-b0)))+(1/(1+exp(-b0-b1)))))/3
> }
>
> As you can see, my objective function is
> ((1/(1+exp(-b0+b1))+(1/(1+exp(-b0)))+(1/(1+exp(-b0-b1)))))/3 and I would
> like to solve for both...
2003 Jun 25
3
joining columns as in a relational database
...MathAchSchool, "School", which = "Sector")
as examples
Several questions:
- Am I duplicating existing functionality?
- Is cjoin a good name for such a function?
- Would this be useful in base?
-------------- next part --------------
"cjoin" <-
function(fr1, fr2, cnm1, cnm2 = cnm1, which)
{
val = as.data.frame(fr1)
vnms = names(val)
cnm1 = as.character(cnm1)
if (length(cnm1) < 1 || any(is.na(match(cnm1, vnms)))) {
stop("cnm1 must be one or more column names from fr1")
}
fr2nm = names(fr2)
if (!missing(c...
2015 Mar 16
2
Re: Can't create any KVM template due to the error with libguestfs
Hi,
Two doubts.
1. What I've to replace in "NEEDED"? or I need to just run the whole
command you given
2. You mean this one,
rpm -qa | grep libguestfs*
On Mon, Mar 16, 2015 at 5:35 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Sat, Mar 14, 2015 at 11:14:55PM +0530, Thirumalai Nambi wrote:
> > Thanks for your update,
> >
> > I got the
2005 Mar 29
1
Updating my address book
NB: This is real not spam... looks to be quite good :)
Cya
Peter
Hi
I am using a new service to keep in contact with my friends. Use the link below to become part of my address book. In the future I will be able to see any changes in your contact details.
http://www.bebo.com/fr1/12574050a478627078b188344281c844017339d70
Thanks.
Peter
2015 Mar 16
4
Re: Can't create any KVM template due to the error with libguestfs
...4
ppl-0.10.2-11.el6.x86_64
iputils-20071127-17.el6_4.2.x86_64
libart_lgpl-2.3.20-5.1.el6.x86_64
tcp_wrappers-7.6-57.el6.x86_64
gettext-libs-0.17-18.el6.x86_64
subversion-1.6.11-12.el6_6.x86_64
On Tue, Mar 17, 2015 at 12:42 AM, Thirumalai Nambi <
thirumalai.sandy@gmail.com> wrote:
> [root@fr1 tmp]# cd /tmp
> [root@fr1 tmp]# cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img
> cpio: sbin/guestfsd not created: newer or same age version exists
> cpio: etc/guestfsd.suppressions not created: newer or same age version
> exists
> 3629 blocks
> [root@fr1 tmp]# ldd /t...
2015 Mar 17
0
Re: Can't create any KVM template due to the error with libguestfs
...7-17.el6_4.2.x86_64
> libart_lgpl-2.3.20-5.1.el6.x86_64
> tcp_wrappers-7.6-57.el6.x86_64
> gettext-libs-0.17-18.el6.x86_64
> subversion-1.6.11-12.el6_6.x86_64
>
> On Tue, Mar 17, 2015 at 12:42 AM, Thirumalai Nambi <
> thirumalai.sandy@gmail.com> wrote:
>
>> [root@fr1 tmp]# cd /tmp
>> [root@fr1 tmp]# cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img
>> cpio: sbin/guestfsd not created: newer or same age version exists
>> cpio: etc/guestfsd.suppressions not created: newer or same age version
>> exists
>> 3629 blocks
>>...
2015 Mar 14
3
Re: Can't create any KVM template due to the error with libguestfs
...11:35:27 CET 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@node1 boot]# cat /etc/grub.conf
default=0
timeout=5
title linux centos6_64
kernel /boot/bzImage-3.14.32-xxxx-grs-ipv6-64 root=/dev/md2 ro
root (hd0,1)
[root@node1 boot]# cat /etc/issue
CentOS release 6.6 (Final)
Linux fr1.bph.rocks 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET
2015 x86_64 x86_64 x86_64 GNU/Linux
server : 352775
hostname : fr1.bph.rocks
eth0 IPv4 : 176.31.239.98
eth0 IPv6 : 2001:41d0:8:62::/64
[root@node1 boot]#
===============
Do you think the issue related to the running kernel?
O...
2015 Mar 13
2
Can't create any KVM template due to the error with libguestfs
Hi,
I'm using SolusVM control panel to create KVM VPS. Suddenly, I can't make
any template on Host-Node. Their build log says the SolusVM can't read the
libguestfs in server.
Please check here.
/scripts/kvmtemplate --mode=prescan --vmid=kvm124 --generation=2
"libguestfs: error: guestfs_launch failed.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
and/or run
2005 Mar 26
0
Updating my address book
Hi
I am updating my address book and it would be very helpful if you could click on the link below and enter your contact details for me:
http://www.bebo.com/fr1/12264507a296194245b182234562c37895061d70
I am using a new service that helps people stay in touch. It is only for direct friends and allows you to privately exchange contact details and view one another's photos. You choose what to share.
Thank you for helping.
Naval
2006 Jun 07
14
HA Xen on 2 servers!! No NFS, special hardware, DRBD or iSCSI...
I''ve been brainstorming...
I want to create a 2-node HA active/active cluster (In other words I want to run a handful of
DomUs on one node and a handful on another). In the event of a failure I want all DomUs to fail
over to the other node and start working immediately. I want absolutely no
single-points-of-failure. I want to do it with free software and no special hardware. I want
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...t=?vgSz*)dc8o%ikz^j1QG~))&bIxh}&u?h_<~Pv{l!YLhK-mZsDd#Q3
zp+tXv8zG92*8oC+-qCpBdm8V0H}CoZ0zdEiA%c$p9|JxCd<yssP{q4`j^GQxml(rW
z8t?WE;9J0VfbRi60Dc7g1o#<n9)K}*`vq_T&_H>&QGn5aF at Ujvae(oF34n=!Nr1_K
zDb)B%W4!w`%DYdeyl4jHj+vC-G8- at lFc-9Wl#>O3g at 8qX#gsdj0G3jt4db^ir~K9x
zAfr13-6T^GM;8gYed|iZ(KUju+`0;JG)d3}g09 at U8X>w%Ff4*$-MR*842NJi1j8d3
z4ng+`hC(nTf?*I0gP at xPLm(IeLAP_(0oGG~+Xkdh3avr734rM)nBrddB7ZYr3*bJ=
zdu;`5LmYW at JLP>I0Ix784<URQ03&ky4up?VemjiN?T;aZ;ko^B&~_pYLv;HtgfK*8
zH)wkhe*yqQbo*Y)OZI`bpK|vBga?s6MEL-Sa{$CS0OE8%O^rXmQG+cS_zdL(pG8-W
zfE6}t;ByFJ...