Displaying 9 results from an estimated 9 matches for "m23".
Did you mean:
23
2007 Jan 10
2
problems with optim, "for"-loops and machine precision
...21","M_21","NLL_21",
"NLL23_min_21","conv23","conv21")
for (s in 1:500)
{
assign("data",read.table(paste("populations/TE23simset_",s,".txt",sep="")),e
nv=MyEnv) #reading a data set
M23=optim(rep(0.1,6),NLL23,method="L-BFGS-B",lower=0,
upper=c(Inf,Inf,Inf,Inf,1,1),control=c(maxit=150))
if (M23$convergence==0)
{
M21=optim(rep(0.1,7),NLL21,method="L-BFGS-B",lower=0,
upper=c(Inf,Inf,Inf,Inf,Inf,1,1),control=c(maxit=150))
}...
2024 Feb 29
2
Initializing vector and matrices
...u intend to use. This works with a few megabytes of data. It is not very efficient, so scaling up may become a problem.
m22 <- matrix(NA, 1:600000, ncol=6)
It does not work to add a new column to the matrix, as in you get an error if you try m22[ , 7] but convert to data frame and add a column
m23 <- data.frame(m22)
m23$x7 <- 12
The only penalty that I know of to having unused space in a matrix is the amount of memory it takes. One side effect is that your program may have a mistake that you would normally catch with a subscript out of bounds error but with the extra space it now runs...
2024 Mar 02
1
Initializing vector and matrices
...orks with a few megabytes of data. It is not very efficient, so scaling up may become a problem.
> m22 <- matrix(NA, 1:600000, ncol=6)
>
> It does not work to add a new column to the matrix, as in you get an error if you try m22[ , 7] but convert to data frame and add a column
>
> m23 <- data.frame(m22)
> m23$x7 <- 12
>
> The only penalty that I know of to having unused space in a matrix is the amount of memory it takes. One side effect is that your program may have a mistake that you would normally catch with a subscript out of bounds error but with the extra spa...
2024 Mar 02
1
Initializing vector and matrices
...of data. It is not very efficient, so scaling up may become a problem.
> > m22 <- matrix(NA, 1:600000, ncol=6)
> >
> > It does not work to add a new column to the matrix, as in you get an error if you try m22[ , 7] but convert to data frame and add a column
> >
> > m23 <- data.frame(m22)
> > m23$x7 <- 12
> >
> > The only penalty that I know of to having unused space in a matrix is the amount of memory it takes. One side effect is that your program may have a mistake that you would normally catch with a subscript out of bounds error but wit...
2024 Feb 29
1
Initializing vector and matrices
x <- numeric(0)
for (...) {
x[length(x)+1] <- ...
}
works.
You can build a matrix by building a vector one element at a time this way,
and then reshaping it at the end. That only works if you don't need it to be
a matrix at all times.
Another approach is to build a list of rows. It's not a matrix, but a list of
rows can be a *ragged* matrix with rows of varying length.
On Wed,
2002 Sep 23
3
How to automate SMBMNT
Hi there,
How do I automate smbmnt so that when logging on, it mounts the required
shared directories on an NT4.0 file system using the user name and
password I used t gain access to the GUI ?
I s this possible. I am currently running Network Neighborhood and have
been using this application for access but this requires that I scan
mount and log-on again before gaining access to that share.
2020 Jul 21
2
[ARM] Should Use Load and Store with Register Offset
Hello Sjoerd,
Thank you for your response! I was not aware that -Oz is a closer
equivalent to GCC's -Os. I tried -Oz when compiling with clang and
confirmed that the Clang's generated assembly is equivalent to GCC for the
code snippet I posted above.
clang --target=armv6m-none-eabi -Oz -fomit-frame-pointer
memcpy_alt1:
push {r4, lr}
movs r3, #0
.LBB0_1:
cmp
2010 May 19
8
Generating all possible models from full model
...(mantas~site+sinmonth,data=mydata))
m15<-glm.convert(glm.nb(mantas~site+coslunar,data=mydata))
m16<-glm.convert(glm.nb(mantas~site+sinlunar,data=mydata))
m17<-glm.convert(glm.nb(mantas~site+plankton,data=mydata)) #Should this have an interaction term? Plankton may varry by site
m23<-glm.convert(glm.nb(mantas~year+cosmonth,data=mydata))
m24<-glm.convert(glm.nb(mantas~year+sinmonth,data=mydata))
m25<-glm.convert(glm.nb(mantas~year+coslunar,data=mydata))
m26<-glm.convert(glm.nb(mantas~year+sinlunar,data=mydata))
m27<-glm.convert(glm.nb(mantas~year+plankton...
2002 Sep 23
1
passwords for Samba mounts in /etc/fstab
I am trying to create a samba mount to be mounted automatically on a Redhat 7.2 machine.
I can mount the drive from the command line, but would like to have the drive mount on boot.
I have added it to /etc/fstab, and get prompted for a password when I run mount on it from the
command line. I know it is possible to pass the "password" option, or the "credentials" option
to