Displaying 20 results from an estimated 1100 matches similar to: "strip month and year from MM/DD/YYYY format"
2011 Jan 18
2
substituting level for NA in factor column
Greetings
I have a bunch of NAs in a column of categorical variables designating
the size classes (e.g., smallest to largest: 1,2,3,4) of cave crickets.
I'd like to substitute "U" (for unknown) for the NAs. Can anyone give me
an idea how to do this? Thanks in advance.
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
2010 Oct 22
2
Confusing error statement
Greetings
Using the following command I've been trying to subset a dataframe of
counts of an organism to compute the sizes of groups for use as a
predictor:
Hs.patches <- as.data.frame(with(Hs.long,
table(Cave,Year,Month,Region,Plot,)))
I am getting the following error message that I do not understand:
ERROR: argument is missing, with no default
Can anyone shed light on this
2011 Jan 05
2
OT: Reducing pdf file size
Greetings
Does anyone have any suggestions for reducing pdf file size,
particularly pdfs containing photos, without sacrificing quality? Thanks
for any tips in advance.
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
EEO Counselor
National Park Service
Cumberland Piedmont Network
P.O. Box 8
Mammoth Cave, KY 42259
Ph: 270-758-2163
2011 Jan 28
4
Months in alphabetical order rather than chronological order in graph
Greetings
Though I have months in chronological order in my data table, the data
were sampled every other month (i.e., February, April, June, August,
October, December), every time I try to plot them (on the x-axis) they are
plotted in alphabetical order. What am I missing?
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
EEO
2010 Oct 18
3
remove numbers from string of characters
Greetings
I want to remove numbers from a string of characters that identify
sites so that I can merge two data frames. For example, a site in one
frame is called "001a Frozen Niagara Entrance" whereas the same site in
the other data frame is called "Frozen Niagara Entrance". It seems to me
the easiest thing to do would be to remove the numbers from the first data
2010 Sep 21
3
R-help Digest, Vol 91, Issue 21
All
Is there a script in R equivalent to the "if then" transforms one can
perform in Systat? For example, I want to create a "Treatment" column
coded either 1 or 2 for twelve field sites in a large data set. Ideally,
I'd be able to tell R to code sites a-f as 1 and sites g-l as 2.
Cheers
Kurt
***************************************************************
Kurt Lewis
2010 Nov 10
1
Inserting Missing Data
Greetings
I'm attempting to insert missing data on the smallest size class of
cave cricket instars into a data frame. The data involve censusing
photoplots (plots) of roosting cave crickets in which we discern in four
instars or size classes. I need to insert data on size class one into a
data frame that already has data on size classes two through four. The
data can be merged by their
2012 Feb 13
0
Singling out observations
Greetings
I am attempting to plot observations of a cave aquatic invertebrate
dating from 1901-2004. I can come up with a nice lattice plot of the eight
sites from which I have data easily enough. However, I'd like to be able
to highlight the 0 observations on the plots, i.e., attempts to find it at
the site were unsuccessful. I'd like to be able to highlight these
observations
2010 Jun 12
1
generating ordered, random decimal fractions
Greetings
How do I do this in R? Checking the Cran site produces a bewildering array
of packages that I can't seem to find to load. Surely the main program has
this function?
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Invertebrate Ecologist
National Park Service
Cumberland Piedmont Network
P.O. Box 8
Mammoth Cave, KY 42259
Ph:
2006 Jun 05
3
How to get dd mmm and yyyy from dd-mmm-yyyy
The input values could be something like this:
01-Dec-2006
01-December-2006
1-June-2006
Is there an easy to way to get the three variables populated dd, mmm and
yyyy for any of the above input values? I tried to look at regex but couldn''
anything simple.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 26
1
generating random events (dd-mm-yyyy)
Hello,
I have to generate a couple of random datasets to validate an actuarial
software.
Each set has to contain at least two columns: (1) Date of the loss events
occurrence; (2) Severity of loss
I'm generating the dates on a monthly basis by, for example:
ts(matrix(rpois(36,10)), start=c(2003, 1), frequency=12).
>From that output I generate dates "by hand", what is REALLY time
2007 Aug 07
1
how to convert decimal date to its equivalent date format(YYYY.mm.dd.hr.min.sec)
Hello R Users,
How to convert decimal date to date as YYYY.mm.dd.hr.min.sec
For example, I have decimal date in one column , and want to convert and
write it in equivalent date(YYYY.mm.dd.hr.min.sec) in another next six
columns.
1979.000000
1979.020833
1979.041667
1979.062500
Is it possible in R ?
Kindly help,
Regards,
Yogesh
--
Dr. Yogesh K. Tiwari,
Scientist,
Indian Institute
2006 Mar 11
2
how to create analog stripchart plots of x vs t (t=mm/dd/yyyy hh:mm:ss)
Hello r-experts,
I sure could us a little help.
I have an ever updating text file with timestamped data in it. I can
reformat in anyway I want if need be but currently I have chosen to make
columns of date, time and measuresed value (comma delimeted and with the
dates and times in quotes to interpret them as strings).
Here is a small section of my text data file:
2005 Dec 13
1
help with multivariate analysis
dear R users,
I need some help for multivariate analysis.
I have 2 anaesthetic treatment groups (20 patients/group) where I
register heart frequency and pressure for 60 min (repeated measures
every 5 minutes). I would like to perform a test to check if treatments
are different in controlling freq and pressures during the anaesthesia,
but i would like to have also an overall measure and not
2008 Jun 08
20
how to parse a "dd/mm/yyyy" formatted date string???
Hi,
I''m stuck. How do you parse a "dd/mm/yyyy" formatted date string???
I get a date format error.
Thanks in advance
Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
1996 Nov 13
0
Lib* madness
Hello,
I have a small problem which has grown (and continues to grow) over the
years. I have upgraded my linux system so many times, I''m worried that I
have old, insecure libs and executables somewhere on my system which may
or may not be used to gain access to my system.
How do I determine which libs I should have where, and which libs are
safe to delete? There are some programs
1999 Feb 02
1
Limits on smbclient -M?
Greetings-
We use smbclient -M to send a Message of the Day to clients every once in
a while. The clients are NT4 (SP3), and the server is Samba
1.9.19-prealpha. However, the same problem appears with version 2.0.0.
The issue is: once the file to be sent exceeds approximately 675 bytes
(smbclient reports sending 975 bytes, presumably including some overhead),
the message turns up blank on the
1999 Jan 27
0
Encrypted passwords really necessary for PDC ?
I've attached a perl script that I wrote to build smbpasswd from
/etc/passwd. Please note that this writes a samba-2.0 format smbpasswd
file.
This script will:
# - create accounts that exist in /etc/passwd and not in smbpasswd
# - remove accounts that exist in smbpasswd and not in /etc/passwd
# - preserve existing password, flags and LCT fields in smbpasswd
# - sets new account passwords to
2005 Oct 11
0
CESA-YYYY:NNN <level> CentOS 4 axp <package> - <short explanation>
CentOS Errata and Security Advisory YYYY:NNN
<url>
The following updated files have been uploaded and are currently
syncing to the mirrors:
files:
-----------------------------------------------------------
The above will present the format of CentOS-4.2/alpha
CESA-announcements. Here the 'alpha' is for axp and arch is labeled as
'axp' on subjects as 'alpha'
2016 Aug 23
0
Cannot open config file /etc/tinc/XXX/hosts/YYYY: No such file or directory
why dont you place a service dependency on your tinc service init/systemd
files to depend on your fuse/mount service?
On Tuesday, 23 August 2016, Florent B <florent at coppint.com> wrote:
> Hi everyone,
>
> I have a special setup were hosts files of Tinc are stored in a
> directory mounted by fuse and shared across my hosts (Proxmox /etc/pve).
>
> On boot, sometimes Tinc