similar to: Please assist -- Unable to remove '-' character from char vector--

Displaying 20 results from an estimated 5000 matches similar to: "Please assist -- Unable to remove '-' character from char vector--"

2016 Apr 25
0
Please assist -- Unable to remove '-' character from char vector--
Hi Sunny, Try this: # notice that I have replaced the fancy hyphens with real hyphens end<-c("2001-","1992-","2013-","2013-","2013-","2013-", "1993-2007","2010-","2012-","1984-1992","1996-","2015-") splitends<-sapply(end,strsplit,"-") last_bit(x)
2016 Apr 25
1
Please assist -- Unable to remove '-' character from char vector--
Thank you Jim, The code did assist me to get the what I needed. Also, I learnt that there are different types of dashes (en-dash/em-dash/hyphen) as explained on this site : http://www.punctuationmatters.com/hyphen-dash-n-dash-and-m-dash/ I achieved it by executing below command after going through this page on stackoverflow:
2017 Jul 05
3
Please help(urgent) - How to simulate transactional data for reliability/survival analysis
A small example data set that illustrates your question will be of great value to those trying to help. This appears to be a transformation that you are wanting to do (timestamp to units of time) so a data representing what you have (dput() is handy for this) and one representing what you want to have with any guidance regarding how to use the other columns in you data set (e.g., the event(0/1)).
2017 Jul 05
0
Please help(urgent) - How to simulate transactional data for reliability/survival analysis
Mark, Below is the sampled simulated granular data format for pumps for trial period of 3 months that I need to transform for survival analysis: 3 months = (60*24*90) minutes i.e 129600 minutes pump_id timings events vibration temprature flow pump1 01-07-2017 00:00 0 3.443 69.6 139.806 pump1 01-07-2017 00:10 1 0.501 45.27 140.028
2017 Jun 28
0
Fwd: Please help(immediate) - How to simulate transactional data for reliability/survival analysis
I apologise as I had mistakenly posted this message via non- member mail. So I'm reposting it with member id. I need help in this case. > Hi friends, > I haven't done such a simulation before and any help would be greatly appreciated. I need your guidance. > > I need to simulate end to end data for Reliability/survival analysis of a Pump ,with correlation in place, that is
2017 Jun 28
1
Please help(urgent) - How to simulate transactional data for reliability/survival analysis
In principle what you need to do is the following: - break down the time you wish to simulate into intervals. - for each interval, and each failure mode, determine the probability of an event. Determining the probability is the fun part, where you make your domain knowledge explicit and include all the factors into your model: cumulative load, failure history, pressure, temperature,
2017 Jul 04
0
Please help(urgent) - How to simulate transactional data for reliability/survival analysis
Thanks Boris and Bret, I was successful in simulating granular/transactional data. Now I need some guidance to transform the same data in format acceptable for survival analysis i.e below format: pump_id | event_episode_no. | event(0/1) | start | stop | time_to_dropout The challenge I'm experience is to generate the 'start' and 'stop' in units of minutes/days from single
2017 Jun 16
1
Generate correlated expontial distribution -- lamda please guide
Hi, I need to generate correlated (positive as well as negative) bivariate exponential distribution with rate of 1/5 or any rate I need some guidance here. Please help. Regards, Sunny
2011 Mar 07
4
[PATCH 0/3] ocfs2: Add batched discard support
Hi all, This patch set adds batched discard support to ocfs2. Please check. Thanks. Regards, Tao
2008 Apr 15
4
hyphen on columns name.. help.
I have a issue that I can''t seen to fix.. I search all over.. and a lot about how to work with legacy *table* names but nothing about *column* names... this will not work because of the hyphen: @vcards = Vcard.find(:all, :select => "collection-owner") this below will work but give me a lot of junk..!! @vcards = Vcard.find(:all, :select =>
2010 Apr 26
5
How to make legend with line+ character
Dear all, I have a multiline plot with each line labeled with a different letter. But I'm not able to make the legend display the same kind of pattern '-a-', instead the letter is overwritten by the line. A simpler legend with only the letter is not very visible and the pt.bg does nothing with letters. Any idea? plot(1:10,10:1,lty=1,type='b', lwd=2,pch='a')
2017 May 27
1
Replacing of non-alphanumeric chars in Name can be confusing
Tinc replaces non-alphanumeric characters in the `Name` field of tinc.conf by '_' (see [1] and [2]). This includes hyphens ('-'), which are often used in host names. That is quite surprising, and can easily lead to misconfigurations, especially because there doesn't seem to be a warning if you configure `Name = node-1`, and on the other machines the host file
2011 Aug 25
5
custom fact regex problem
Hi guys I have a custom fact envt, it was working fine but now I have to make some changes in it; puppet client''s hostname is of the type 1234qa-abc-de.local where 1234 can be any thing of any length.My custom fact should contain qa, ie I want to check in the first part(before the first -) of the hostname if there exists a pattern/word qa and if it exists then my custom fact for envt
2006 Sep 16
5
PHP Markdown 1.0.2b7
This is a new release for PHP Markdown, following Markdown.pl 1.0.2b7 from a few weeks ago. It fix the same bugs, and some more; it also introduce more radical backend changes. It can be downloaded here: <http://www.michelf.com/docs/projets/php-markdown-1.0.2b7.zip> and you can test it on the PHP Markdown Dingus: <http://www.michelf.com/projects/php-markdown/dingus/> This
2010 Jun 07
3
rpm building and hyphens in Version tags
According to http://www.rpm.org/api/4.4.2.2/specfile.html a Version: tag can contain a hyphen, as the tarball for the source I am compiling is named 2.3-pre4 etc. When I try to build it I get an error about the illegal char? Anyone know about the discrepancy between the docs and RHEL's rpmbuild? Without recreating a new tarball and bungling the name how does one gracefully handle this?
2009 Dec 23
2
special meaning of '--' in pxelinux.cfg
Hello, I often see the double dash -- in the append line in isolinux/syslinux configurations I only know this as "disable further option processing" e.g. in bash. What is the function of the -- ? I don't see any difference if I use it don't use it. E.g here : append vga=normal initrd=/install.amd/initrd.gz -- quiet append vga=normal initrd=debian-installer/amd64/initrd.gz
2012 Jan 13
1
Markdown-Discuss Digest, Vol 106, Issue 4
> The only problem as I see it is that three dashes produce a long dash > and a hyphen rather than an em-dash, although two dashes seem to work > well. But investigating that will have to wait for the morrow! I'm afraid you are confusing two different replies. SmartyPants looks for two hyphens (or tee dashes) and turns them into an em dash. The three dashes is for another
2019 Apr 01
2
New grDevices::hcl.colors()
Hi everyone, I wanted to draw your attention to a new post on the developer.R-project.org blog: https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/ A new function grDevices::hcl.colors() greatly extends the color palette functionality available in base R. Also, the defaults in the heatmap functions image() and filled.contour() have been adapted
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production rake aborted! uninitialized constant User::Authentication The preceding I encounter when attempting to migrate to the production database. My google powers have escaped me. Everywhere says Restful Authentication is missing in the production server. However, to validate this, I attempted this on the same server as the development, which works. So, what
2014 Jul 31
0
[PATCH 2/3] Update manpage to match source code for --map-file
From: Daniel Baumann <mail at daniel-baumann.ch> Closes: #606267 in the Debian BTS Reported-By: Jim Paris <jim at jtan.com> Signed-off-by: Ron Lee <ron at debian.org> --- tftpd/tftpd.8.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in index b500d27..71a712d 100644 --- a/tftpd/tftpd.8.in +++ b/tftpd/tftpd.8.in @@