Displaying 20 results from an estimated 22 matches for "va1".
Did you mean:
va
2003 Aug 14
1
gnls - Step halving....
...p'. I´m using as the initial
values of the parameters those obtained from the nls
fit. Is a problem of the initial estimates of the
parameters that I get the error or could be something
else?
The code for the nls fit was:
options(contrasts=c("contr.helmert","contr.poly"))
VA1.lis<-nlsList(DRAM~SSlogis(MED,phi1,phi2,phi3)|TRAT,
data=VA1,na.action=na.omit)
The code for the gnls fit was (using a 'difference
parameterization' like SAS):
options(contrasts=c("contr.SAS","contr.poly"))
VA1.gnls<-gnls(DRAM~SSlogis(MED,phi1,phi2,phi3),
data=V...
2006 Jul 27
2
How to get the name of the first argument in an assignment function?
Dear All!
If I pass an object to an assignment function I cannot get it's name by
deparse(substitute(argument)), but I get *tmp* and I found no way to get
the original name, in the example below it should be "va1".
Is there a way?
Thanks,
Heinz
## example
'fu1<-' <- function(var, value) {
print(c(name.of.var=deparse(substitute(var))))}
fu1(va1) <- 3
name.of.var
"*tmp*"
## desired result:
## name.of.var
## "va1"
version
_...
2020 Nov 15
2
lld error: output file too large <some large number>
...rrowed it down to lld/Writer.cpp:getFileAlignment ().
(Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
Should this be abs(VA2 – VA1) ?
Or
Should it be cast to a signed integer so we subtract the difference rather than adding the large value?
Thanks
A.
-------------- next part --------------
An HTML attachment was scrubb...
2006 Sep 11
0
[LLVMdev] trying to build llvm-gcc in linux/amd64
On Mon, 11 Sep 2006, [UTF-8] Rafael Esp?ndola wrote:
> I am trying to build llvm-gcc4 on a amd64. I had to add the attached
> patch to get the build system to select the correct library. Now the
Applied.
> build fails while compiling a code that has __builtin_va_copy. The
> attached test.i fails with:
>
> cc1: ../../trunk/gcc/llvm-convert.cpp:443: llvm::Value*
>
2006 Sep 11
5
[LLVMdev] trying to build llvm-gcc in linux/amd64
I am trying to build llvm-gcc4 on a amd64. I had to add the attached
patch to get the build system to select the correct library. Now the
build fails while compiling a code that has __builtin_va_copy. The
attached test.i fails with:
cc1: ../../trunk/gcc/llvm-convert.cpp:443: llvm::Value*
TreeToLLVM::Emit(tree_node*, llvm::Value*): Assertion
`(isAggregateType(((exp)->common.type)) == (DestLoc
2020 Nov 16
2
lld error: output file too large <some large number>
...FileAlignment ().
>
> (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
>
> Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
>
>
>
> Should this be abs(VA2 – VA1) ?
>
> Or
>
> Should it be cast to a signed integer so we subtract the difference rather than adding the large value?
>...
2020 Nov 16
2
lld error: output file too large <some large number>
...> > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
> >
> > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
> >
> >
> >
> > Should this be abs(VA2 – VA1) ?
> >
> > Or
> >
> > Should it be cast to a signed integer so...
2020 Oct 09
1
Aide pour finaliser ce code
...[i]]=n11[[i]]/n
P12[[i]]=n/n11[[i]]
}
# cr?ation d'une liste contenant les matrices W
W=list()
for (i in 1:q){
w=matrix(0,n,R[i])
w[1:n11[[i]][1],1]=1
for (j in 2:R[i]){
s1=sum(n11[[i]][1:(j-1)])
w[(1+s1):(s1+n11[[i]][j]),j]=1
}
W[[i]]=w
}
for (i1 in 1:nbrefoissim){
# g?neration des donn?es
VA1=mvrnorm(n,rep(0,(p+q)),diag((p+q)))
X=VA1[,1:p]
Y=VA1[,(p+1):(p+q)]
# Calcul de Xbar
Xbar=colMeans(X)
# Calcul des Xjh bar
Xjhbar=list()
for (i in 1:q){
w=matrix(0,R[i],p)
for (j in 1:R[i]){
w[j,]=colSums(W[[i]][,j]*X)/n11[[i]][j]
}
Xjhbar[[i]]=w
}
#calcul des TO jh
TO.jh=list()
fo...
2012 Oct 03
7
How to add a new row in to an existing data set in R Language?
Hi...
I have one 2 data set with 3 variables and 4 observations. I want to combine
the two data sets. I tried with merge but it gives only the common values. I
need common values and and remaining values also. Please help me?
this is my data set
dataset:1
name va1 va2
AA 10 100
BB 20 200
CC 30 300
DD 40 400
dataset:2
name va1 va2
AA 36 444
BB 10 111
CC 20 222
DD NA 333
Please reply me.....................................
--
View this message in context: http://r.789695.n4.nabble.com/How-to-add-a-new-row-in-to-an-existing-data-set-in-R-Language-tp4644855....
2020 Nov 16
1
lld error: output file too large <some large number>
...(Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
> > >
> > > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
> > >
> > >
> > >
> > > Should this be abs(VA2 – VA1) ?
> > >
> > > Or
> > &...
2020 Oct 10
3
Please need help to finalize my code
...ion of a list containing the W matrices
59 W=list()
60 for (i in 1:q){
61 w=matrix(0,n,R[i])
62 w[1:n11[[i]][1],1]=1
63 if (R[i]>1){
64 for (j in 2:R[i]){
65 s1=sum(n11[[i]][1:(j-1)])
66 w[(1+s1):(s1+n11[[i]][j]),j]=1
67 }}
68 W[[i]]=w
69 }
70 for (i1 in 1:nbrefoissim){
71 # data generation
72 VA1=mvrnorm(n,rep(0,(p+q)),diag((p+q)))
73 X=VA1[,1:p]
74 Y=VA1[,(p+1):(p+q)]
75 # Xbar calculation
76 Xbar=colMeans(X)
77 # Calculation of Xjh bar
78 Xjhbar=list()
79 for (i in 1:q){
80 w=matrix(0,R[i],p)
81 for (j in 1:R[i]){
82 w[j,]=colSums(W[[i]][,j]*X)/n11[[i]][j]
83 }
84 Xjhbar[[i]]=w
85 }
86...
2020 Oct 13
1
Please need help to finalize my code
...> 61 w=matrix(0,n,R[i])
> 62 w[1:n11[[i]][1],1]=1
> 63 if (R[i]>1){
> 64 for (j in 2:R[i]){
> 65 s1=sum(n11[[i]][1:(j-1)])
> 66 w[(1+s1):(s1+n11[[i]][j]),j]=1
> 67 }}
> 68 W[[i]]=w
> 69 }
>
> 70 for (i1 in 1:nbrefoissim){
>
> 71 # data generation
> 72 VA1=mvrnorm(n,rep(0,(p+q)),diag((p+q)))
> 73 X=VA1[,1:p]
> 74 Y=VA1[,(p+1):(p+q)]
>
> 75 # Xbar calculation
> 76 Xbar=colMeans(X)
>
> 77 # Calculation of Xjh bar
> 78 Xjhbar=list()
> 79 for (i in 1:q){
> 80 w=matrix(0,R[i],p)
> 81 for (j in 1:R[i]){
> 82 w[j,]=colS...
2020 Nov 16
0
lld error: output file too large <some large number>
...d/Writer.cpp:getFileAlignment ().
>
> (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
>
> Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
>
>
>
> Should this be abs(VA2 – VA1) ?
>
> Or
>
> Should it be cast to a signed integer so we subtract the difference rather than adding the large value?
>
>
>
> Thanks
>
> A.
&...
2020 Nov 16
0
lld error: output file too large <some large number>
...t; >
> > (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
> >
> > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
> >
> >
> >
> > Should this be abs(VA2 – VA1) ?
> >
> > Or
> >
> > Should it be cast to a signed integer so we subtract the difference rathe...
2013 Feb 08
1
help with double looping
hi there,
I have a dataframe in the shape vA1, vA2,..., vA11, vB1, vB2,..., VB11,......., VP1, VP2,...., VP11 (so 16 times a sequence of 11 variables)
I am trying to build a double loop so that i can apply the function (i-1)*v(i) to the first 10 variables, then the same for the next 10 variables, etc... 16 times.
I have tried the following wi...
2020 Oct 13
0
Please need help to finalize my code
...gt; > 63 if (R[i]>1){
> > 64 for (j in 2:R[i]){
> > 65 s1=sum(n11[[i]][1:(j-1)])
> > 66 w[(1+s1):(s1+n11[[i]][j]),j]=1
> > 67 }}
> > 68 W[[i]]=w
> > 69 }
> >
> > 70 for (i1 in 1:nbrefoissim){
> >
> > 71 # data generation
> > 72 VA1=mvrnorm(n,rep(0,(p+q)),diag((p+q)))
> > 73 X=VA1[,1:p]
> > 74 Y=VA1[,(p+1):(p+q)]
> >
> > 75 # Xbar calculation
> > 76 Xbar=colMeans(X)
> >
> > 77 # Calculation of Xjh bar
> > 78 Xjhbar=list()
> > 79 for (i in 1:q){
> > 80 w=matrix(0,R[i],...
2020 Nov 16
0
lld error: output file too large <some large number>
...> (Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
> >
> > Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 – VA1) but the subtraction is causing a negative number, causing out of bound value…
> >
> >
> >
> > Should this be abs(VA2 – VA1) ?
> >
> > Or
> >
> > Should it...
2013 Dec 06
0
[Patch v2] xen/tmem: Fix uses of unmatched __map_domain_page()
...)
- return -1;
- return 1;
+ const uint64_t *p1 = __map_domain_page(pfp1);
+ const uint64_t *p2 = __map_domain_page(pfp2);
+ int rc = memcmp(p1, p2, PAGE_SIZE);
+
+ unmap_domain_page(p2);
+ unmap_domain_page(p1);
+
+ return rc;
}
static inline int tmem_pcd_cmp(void *va1, pagesize_t len1, void *va2, pagesize_t len2)
@@ -271,54 +269,58 @@ static inline int tmem_pcd_cmp(void *va1, pagesize_t len1, void *va2, pagesize_t
return 1;
}
-static inline int tmem_tze_pfp_cmp(struct page_info *pfp1, pagesize_t pfp_len, void *tva, pagesize_t tze_len)
+static inline int...
2012 Mar 23
10
[hybrid] : mmap pfn space...
Hi Ian/Stefano,
So, I''m back to using pfn space from maxphysaddr below. Stefano, you
suggested ballooning, but that would be just too slow. There are lot of
pages to be mapped, 4k at a time during guest creation, and I am afraid
ballooning and hypercalls to populate EPT will be pretty slow.
OTOH, there is tons of address space available between max-physaddr and
max pfn in dom0. Stefano,
2013 Feb 22
1
Issues with installing RBGL package
...0/boost/mpl/assert.hpp:56:58: note: expanded from
macro 'BOOST_MPL_AUX_ASSERT_CONSTANT'
# define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
^
cliques.cpp:53:19: error: expression is not assignable
p = edge(*va1, *va2, g);
~ ^
cliques.cpp:54:25: error: member reference base type
'mpl_::assert_arg_pred_not<boost::detail::is_iterator_traversal<boost::random_access_traversal_tag>>::<anonymous
enum at
rbgl_trimmed_boost_1_49_0/boost/mpl/assert.hpp:149:5>' is not...