Displaying 5 results from an estimated 5 matches for "lijun".
Did you mean:
lijin
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
...(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197)
diff<-x-lag(x)
diff
[1] NA 0 0 0 8 0 577 69 0
How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index.
I want the output be like y.
y<-c(1,1,1,1,1,1,2,3,3)
Thank you so much,
Lijun Zhao (PhD Candidate)
Nutrition and Metabolism
Level 7 SAHMRI
North Terrace
Adelaide 5005
Ph : +61 8 8128 4898
e-mail: lijun.zhao at adelaide.edu.au<mailto:lijun.zhao at adelaide.edu.au> or lijun.zhao at sahmri.com<mailto:lijun.zhao at sahmri.com>
[[alternative HTML version delete...
2020 Feb 19
2
How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.
...(543, 543, 543, 543, 551 , 551 ,1128 ,1197, 1197)
diff<-x-lag(x)
diff
[1] NA 0 0 0 8 0 577 69 0
How to index the occasions in x repeatedly if the diff<15? if diff>=15, it will give a new index.
I want the output be like y.
y<-c(1,1,1,1,1,1,2,3,3)
Thank you so much,
Lijun Zhao (PhD Candidate)
Nutrition and Metabolism
Level 7 SAHMRI
North Terrace
Adelaide 5005
Ph : +61 8 8128 4898
e-mail: lijun.zhao at adelaide.edu.au<mailto:lijun.zhao at adelaide.edu.au> or lijun.zhao at sahmri.com<mailto:lijun.zhao at sahmri.com>
[[alternative HTML version delete...
2020 Feb 21
0
function(x) !is.na(x) & x "is_true(.)" etc. was: [R] How to index..
...and any* versions of these
functions there , for which I have even written fast C based .Call()s ...
May this be something worth adding to base for R 4.0.0
(if only just to entice more users making the effort to switch
to it in ca. 2 months) ?
Martin
>> On 20 Feb 2020, at 04:20 , Lijun Zhao <lijun.zhao at adelaide.edu.au> wrote:
>>
>>
>> Some packages have the equivalent of that is_true function, which maps FALSE and NA to FALSE and TRUE to TRUE. I don't think core R contains such a function.
> --
> Peter Dalgaard, Profes...
2005 Oct 04
0
The error message in package Mix
.....3...4...5...6...7...8...9...10...11...12...13...14...15...16...17...
18...19...20...21...22...23...24...25...26...
Steps of Data Augmentation-Bayesian IPF:
1...2...Error: NA/NaN/Inf in foreign function call (arg 7)
Does anyone know what it mean? Any help will be greatly appreciated.
Thanks,
Lijun Wang, Ph.D.
*********************************************************************
This message and any attachments are solely for the intended...{{dropped}}
2009 Feb 10
0
[fdo] Announce: Linux Desktop Testing Project (LDTP) 1.5.0 released
...e default log file in /tmp/ldtp-$USER
Screenshot using pygtk, instead of ImageMagick import, when possible
Added new api - appundertest
Bug fixes:
b.g.o # 566048
bugs.fd.o # 19813
Special thanks to Ara Pulido <ara at ubuntu.com> and others as well:
Sandro MILLIEN <msp at lloedy.com>
Lijun Huang <huanglijun.3 at gmail.com>
Guofu Xu <Guofu.Xu at access-company.com>
Nathan Samson <nathansamson at gmail.com>
Download source tarball -
http://download.freedesktop.org/ldtp/1.x/1.5.x/ldtp-1.5.0.tar.gz
Binary (openSUSE / Ubuntu / Fedora / Debian / RHEL / CentOS / Mandriva...