Displaying 20 results from an estimated 200 matches similar to: "splitting a character field in R"
2005 Nov 07
2
lattice chart: different definitions for series
Hi enthusiasts,
Trying to create a single chart in lattice with different plotting
definitions for the different series (two series should be drawn with lines
and the other without them)
I am using a dataset, which includes a grouping variable e.g. clinic with
three levels, the variable "year" and a continous variable: "mct".
In the graph the variable "year" is in
2006 May 26
1
query: sample size calculation
Dear all,
I am doing something wrong.
I am trying to apply a formula for sample size calculation as in the book
"Design and Analysis of Clinical Trials", from Chow et all.
There a suggested sample size strategy uses the formula
0.30/0.45=F(0.80,2n,2n)/F(0.025,2n,2n)
which gives n=96, as in the book.
(here F(alfa,k,n) is the upper (alfa)th quantile of an F distribution with
k,n
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2011 May 05
7
Draw a nomogram after glm
Hi all R users
I did a logistic regression with my binary variable Y (0/1) and 2
explanatory variables.
Now I try to draw my nomogram with predictive value. I visited the help of R
but I have problem to understand well the example. When I use glm fonction,
I have a problem, thus I use lrm. My code is:
modele<-lrm(Y~L+P,data=donnee)
fun<- function(x) plogis(x-modele$coef[1]+modele$coef[2])
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
Hi list,
My case :
Local UNIX user : ZTEST
domain : uuq.ork
domain user : UUQ\ztest
smb.conf for standalone samba : /home/hywu/smb.conf
[/home/hywu] # cat /home/hywu/smb.conf
[global]
passdb backend = smbpasswd
workgroup = WORKGROUP
security=user
Smbpasswd fail to change local UNIX user password (ZTEST) when samba role is DC.
I want to change password of local UNIX user "ZTEST" but
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 18:27:48 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Hi list,
>
> My case :
> Local UNIX user : ZTEST
> domain : uuq.ork
> domain user : UUQ\ztest
> smb.conf for standalone samba : /home/hywu/smb.conf
>
> [/home/hywu] # cat /home/hywu/smb.conf
> [global]
> passdb backend = smbpasswd
> workgroup = WORKGROUP
>
2011 Jan 26
1
return object from loop inside a function
Hi All,
I have a for loop inside the function and I cannot get UUU to give me an
updated grid.dens object when I run the function (it does update when I
run just the for loop). Here's a simplified version of my function:
UUU=function(pop, grid.dens) {
for (i in 1:10){
Food=grid.dens[pop$yloc[i],pop$xloc[i]] #use initial grid.dens values
Consumed=(pop$weight[i]*0.25)
Left=Food-Consumed
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ?? ??6:42???
> On Thu, 25 Jan 2024 18:27:48 +0800
> hhyy ww via samba <samba at lists.samba.org> wrote:
>
> > Hi list,
> >
> > My case :
> > Local UNIX user : ZTEST
> > domain : uuq.ork
> > domain user : UUQ\ztest
> > smb.conf for standalone samba : /home/hywu/smb.conf
2024 Jan 25
1
Order of getpwnam call in Get_Pwnam_internals.
On Thu, 25 Jan 2024 20:54:07 +0800
hhyy ww via samba <samba at lists.samba.org> wrote:
> Rowland Penny via samba <samba at lists.samba.org> ? 2024?1?25? ??
> ??6:42???
>
> > On Thu, 25 Jan 2024 18:27:48 +0800
> > hhyy ww via samba <samba at lists.samba.org> wrote:
> >
> > > Hi list,
> > >
> > > My case :
> > > Local
2011 Sep 13
4
imapc and imap_acl
Hello (Timo),
yes, I know... maybe it's a bit far fetched, but I do have a use case.
Would it be (reasonably easily) possible to implement IMAP ACL
support for "imported" imapc namespaces/mailboxes?
There is no local directory (like with the virtual plugin) yet...
Greetings,
Lutz
--
Lutz Pre?ler <Lutz.Pressler at SerNet.DE> http://www.SerNet.DE/
SerNet Service
2003 Oct 16
3
indexing a particular element in a list of vectors
I have a "list" of character vectors. I'm trying to see if there is a way
(in a single line, without a loop) to pull out the first element of all the
vectors contained in the list.
listOfVectors[1:length(listOfVectors][1]
doesn't work.
==========================
If you want more details..
Here is my listOfVectors which is called "uuu"
>
2011 Mar 18
1
Replace split with regex for speed ?
Have timestamp in format HH:MM:SS.MMM.UUU and need to remove the last "." so
it is in format HH:MM:SS.MMMUUU.
What is the fastest way to do this, since it has to be repeated on millions
of rows. Should I use regex ?
Currently doing it with a string split, which is slow:
>head(ts)
[1] 09:30:00.000.245 09:30:00.000.256 09:30:00.000.633 09:30:00.001.309
09:30:00.003.635
2018 Oct 11
10
Transponer data frame.
Hola,
Tengo la siguiente base de datos
Numero de vuelo Nacionalidad Pax
1240 Argentina 2341
1240 Uruguaya 4432
1240 Paraguaya 67000
1240 Brasilera 1234
1241 Argentina 7344
1241 Uruguaya 543000
1241 Paraguaya 3000
1241 Brasilera 234000
y quiero que quede del siguiente modo:
Numero de vuelo Nacionalidad_argentina Nacionalidad_uruguaya
Nacionalidad_paraguaya Nacionalidad_brasilera
1240 2341 4432
2002 Apr 25
1
Re: Problems with ext3 fs
Hi,
I have read this thread and want to say that I have expirienced the same
problem.
Once, when I was loged in, one of my filesystems ( root filesystem :( )
became read-only with the same symptoms.
But results was more tragic. Almost in each directory avg. 10% of files
had incorrect attributes, owner, links, etc.
But filenames was correct. So, I was obliged to re-create root
filesystem :(
2002 Jun 19
2
split plot design with missing plots
Windows 2000 . 5.00.2195 with Service Pack 1.
R 1.5.1
Output from my split-split plot aov "alerted" me that I have done something
wrong. I designed an experiment with all combinations of all levels of each
treatment, but lost a little data (3 out of 192 plots). With the following
data, I run the following model:
> collim[c(1:6,187:192),c(1,3:6,9)]
plot Litter Fert
2005 Mar 28
2
"batched dry-run"... sort of
I'd like to know if it's possible to run rsync in batch mode, but avoiding
transferring the deltas, just generating the batch file.
I'm looking for such a behaviour because overnight backup sessions are
often interrupted and daily snapshots (--link-dest) of remote servers are
truncated. Specially the ones using slow links.
Options:
1) Using -write-batch when mirroring volume
2013 Sep 03
1
libR.so: cannot open shared object file
Hi all
I have a R code that incorporates a C++ programm. I compiled the C++
code with the following:
R CMD SHLIB Model.cpp -Wall funzioni.cpp
it seems to work fine but when i run the R code i get this error message
Error in dyn.load(paste(dir_func, "Model.so", sep = "")) :
unable to load shared object '/lustre/work/uuu/RCpp/Model.so':
libR.so: cannot open
2007 Nov 19
2
How to write plugin
Hi,
Where can I find documentation for plugin writers? Now I see
mail-log-plugin source, but I can't understand how entry points
(functions mail-log-plugin-init and mail-log-plugin-deinit) are
defined to execute some actions on load/unload/copy messages.
Can anybody comments this?
2004 Feb 07
2
killing rsync
HI,
My name is tarun and iam new to this list..
Can any one please help me ??
How can i kill a rsync.. Suppose if iam in middle of rsync of a whole 10gb of data. Can i kill rsync in the middle using kill "rsync process id" and resume it later, wouldnt it result in any errors if we kill rsync suddenly. Or is there any signal to send to rsync to terminate it cleanly..Doest rsync have
2009 May 12
2
From two colors to 01 sequences
Dear All,
Perhaps, what I am asking is impossible, but I am asking it anyway.
I have got several pdf files with rows of colored rectangles: red
rectangles should be read as 0; green rectangles as 1. No other color
exists. Is there some way to have R reading the colored rectangles to
a matrix or data frame converting the color of the rectangles to
sequences of 01?
Thanks in advance,
Paul