Displaying 20 results from an estimated 500 matches similar to: "split with list"
2010 Jul 20
3
for loop
Dear list, I'm trying to run the following for loop:
I have two list, the first one is
$'5684'
CFISCALE "5684"
RAGSOCB "Brembo"
$'4532'
CFISCALE "4532"
RAGSOCB "Stella"
which is this one in terms of dput:
dput(kk)
structure(list(`5684` = structure(c("5684", "Brembo",
2010 Apr 20
1
local and global variables
Hi all,
I have a question about global and local variables.First of all, a variable
defined in a for loop is it a local or global variable??
Second, I'm trying to build a loop in the following way:
I have these 3 data frames
bilanci_2005<-bilanci1[ANNO==2005,]
bilanci_2006<-bilanci1[ANNO==2006,]
bilanci_2007 <--bilanci1[ANNO==2007,]
LOOP:
v=list(2005,2006,2007)
for (a in v){
2010 Jul 01
2
Sweave function
Dear list,
I have a question about the interaction between R code and Latex language trough the Sweave function in the package "utils".
What I'm trying to do is to write a report. Contrary to the examples shown in the Sweave Manual in which table already constructed by R are "exported" on Latex files, what I would like to do is to build a table in which I combine text and
2012 Jun 02
2
mgcv (bam) very large standard error difference between versions 1.7-11 and 1.7-17, bug?
Dear useRs,
I reran an analysis with bam (mgcv, version 1.7-17) originally
conducted using an older version of bam (mgcv, version 1.7-11) and
this resulted in the same estimates, but much lower standard errors
(in some cases 20 times as low) and lower p-values. This obviously
results in a larger set of significant predictors. Is this result
expected given the improvements in the new version? Or
2000 Jan 05
1
Upgrade to 2.0.6 not working
Hi All,
We have been running samba-1.9.18p10 beautifully for the past
year or so. Finally decided to upgrade to samba-2.0.6 and am
having no luck. We are using security=server such that the
users are using their NT login/password to authenticate. When
I test the 2.0.6 installation with smbclient, I get the
"protocol negotiation failure" message. Does anyone know what
this means? I
2004 Mar 28
1
Programming an unlocked ADSI Astra 390 phone?
Greetings,
I have just purchased several Astra 390 phones ready for asterisk. I
have placed a line with
adsi=yes
in the Zapata.conf file just before
channel => 13
I have also added an extension
exten => 6199,1,ADSIProg(asterisk.adsi)
exten => 6199,2,Hangup
in the extensions.conf file.
When I try to program the phone I get the following:
Asterisk CVS-03/28/04-12:02:10,
2001 Oct 16
3
parallel scanner support (general question)
Hi,
I'm using the Umax Astra 610p scanner (parallel port scanner).
Unfortunately, it is not supported by sane as Umax is not publishing specs.
Searching on google I found out that some people got it working using
vmware but nobody could get it working with wine.
That is surprising me because people seem to get lots of complicated
windows applications working but not a small scanner
2015 Mar 26
2
call between snom 300 and aastra 6731i
hello list
i need your help please regarding an issue with snom300 and aastra6731i
using asterisk
11.13.0 asterisk
snom 300 8.7.3.25
astra 6731i 2.6.0.2019
i have configured the trunks like below
100 in snom300
200 in snom300
300 in aastra6731i
400 in x-lite
the calls between x-lite and aastra ====ok inbound and outbound
the calls between x-lite and snom300====> ok inbound and
2011 Jan 20
2
splitting a square symmetric matrix
So many matrices are square symmetrical (i.e. variance-covariance matrices),
is there any way to get R to split the matrix on its diagonal and just
return one diagonal?
So if I have
mat<-matrix(c(1,4,3,4,1,2,3,2,1), nrow = 3, ncol=3, byrow=TRUE)
is there anyway to get the lower right diagonal instead of the entire
symmetric matrix?
-------------------------------------------
2011 Apr 11
1
predict ordered regresssion
Is there a way to get confidence intervals around an ordered regression like
polr() in the MASS package?
-------------------------------------------
Joe King, M.A.
Ph.D. Student
University of Washington - Seattle
206-913-2912
<mailto:jp@joepking.com> jp@joepking.com
-------------------------------------------
Ad astra per aspera - "Through hardships to the stars"
2008 Aug 27
2
r function for calculating extreme spread in group
I'm trying to figure out how to write a r function that will calculate
the extreme spread of a group of points given their (x,y)
coordinates. Extreme Spread is the maximal Euclidean distance between
two points in a group
ex.spread = max{ sqrt [ (xi-xj)^2 - (yi-yj)^2 ] } for i not equal to j
I have 60 levels to apply this to.
There is the combination function in the dprep package but
2011 Mar 31
1
Italicized title from index
Hi all!
I've written a handy script that uses a for loop to allow me to generate a
large number of figures and statistical outputs for a large dataset.
I am using indexing to retrieve a species name for the title of my graphs-
which worked fine. However, I need to italicize these species names.
I originally used the paste function, and had no problems with indexing:
*main=paste("Yield
2009 May 01
0
Copying ncdf dims and vars from one file to the other
Hi, all
I have a large number of NetCDF files that I need to average and then
put the mean in a new NetCDF file.
My problem is that I do this every time for files with different
variables, so I do not want to hard-code the variables in the new NetCDF
file I creat.
does anyone know how I can copy ALL the dimensions and variables from
one NetCDF file to another, and just put the mean I calculated as
2011 Jan 31
2
Rubin's rules of multiple imputation
Hello all, if I have multiple imputed data sets, is there a command or
function in R in any package you know of to combine those, I know one common
MI approach is rubins rules, is there a way to do this using his rules or
others? I know theres ways, like using Amelia from Gary King's website to
create the imputed data sets, but how to make them into one or combine them
for analysis.
2002 Feb 13
5
Restarting
Greetings'
i have installed a redhat 6.2 on my machine. I have also installed Samba 2.0.6 on it and seems working fine for almost a year. But one of my problem is "Disappearing Mounts". I always use this command ( mount -t smbfs //server/shared/ /mnt/temp -o username%password) for re-Mounting. But several days later... my machine keeps on restarting everytime we access the mounted
2011 Sep 16
2
problems to report indexes when I have two min value
Hi,
I need to repor the index of a min value of each row in a matrix, but I
don't know how to do that when I have more than one min value.
Here is my example
> dat <-
matrix(c(5.4,4.8,5.6,4.8,NA,4.4,4.6,3.4,NA,NA,4,2.4,NA,NA,NA,2),byrow=TRUE,ncol=4)
> dat
[,1] [,2] [,3] [,4]
[1,] 5.4 4.8 5.6 4.8
[2,] NA 4.4 4.6 3.4
[3,] NA NA 4.0 2.4
[4,] NA NA NA 2.0
2010 Sep 01
1
CRAN Mirror definition error.
Hello,
I was wondering if anyone has run across this problem in the past and might be able to suggest a solution.
I did a review of the FAQ's link trying to find a topic that closely related to the experience I was having, however I didn't see
anything that might help in diagnosing the problem.
While invoking the options under the "package" menu I get the following errors:
1998 Jun 14
5
Help with : telnetd[...]: ttloop: peer died: Success
What can cause this
telnetd[...]: ttloop: peer died: Success
I''ve had several occurrences of this entry along with connections from
somewhere where no-one should be accessing my machine (via telnet)
also around same time frame :
(from tcpdump)
activity to a port 234 at various IP addresses
udp port biff unreachable
I (a novice at *nix) believe some has been accessing my machine
2009 Jun 05
2
p-values from VGAM function vglm
Anyone know how to get p-values for the t-values from the coefficients
produced in vglm?
Attached is the code and output ? see comment added to output to show
where I need p-values
+ print(paste("********** Using VGAM function gamma2 **********"))
+ modl2<-
vglm(MidPoint~Count,gamma2,data=modl.subset,trace=TRUE,crit="c")
+ print(coef(modl2,matrix=TRUE))
2010 Jul 22
1
pagebreak in xtable and columns'width
Dear list,
I'm using the Sweave function in order to get some report.
Here one chunk:
<<echo=F,results=tex>>=
report<-lapply(repor, function(x) {
(print(xtable(data.frame(x[1:2,]), align="|l|rrr|"),floating=FALSE,tabular.
environment="longtable",include.colnames=FALSE,size="\\small"))