search for: effectivedefense

Displaying 20 results from an estimated 22 matches for "effectivedefense".

2018 Feb 21
0
deparseDots to get names of all arguments?
...ot;), "untagged arg") $y 1/(1:10) $z stop("Oops") [[3]] [1] "untagged arg" > names(.Last.value) [1] "y" "z" "" Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Feb 20, 2018 at 2:36 PM, Spencer Graves < spencer.graves at effectivedefense.org> wrote: > Hi, All: > > > How can I get the names of all the arguments in dots(...)? > > > I'm able to get the name of the first argument but not the second: > > > > deparseDots <- function(...){ > deparse(substitute(...)) > } >...
2018 Feb 20
5
deparseDots to get names of all arguments?
Hi, All: ????? How can I get the names of all the arguments in dots(...)? ????? I'm able to get the name of the first argument but not the second: deparseDots <- function(...){ ? deparse(substitute(...)) } a <- 1 b <- 2 deparseDots(a, b) [1] "a" ????? I'd like to get c('a', 'b'). ????? Thanks, ????? Spencer Graves > sessionInfo() R
2017 Jul 30
1
Kalman filter for a time series
> On Jul 30, 2017, at 5:10 AM, Spencer Graves <spencer.graves at effectivedefense.org> wrote: > > > > On 2017-07-29 11:26 PM, Staff wrote: >> I found an example at >> http://www.bearcave.com/finance/random_r_hacks/kalman_smooth.html > > That example is signed by "Ian Kaplan". There's a box at the bottom...
2017 Aug 22
1
Rounding of problem with sum command in R
...t.default. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Aug 22, 2017 at 7:30 AM, Spencer Graves <spencer.graves at effectivedefense.org> wrote: > > > On 2017-08-22 9:26 AM, niharika singhal wrote: >> >> Hello I have a vector >> >> v=c(0.08844446,0.1744455,0.1379778,0.1209769,0.1573065,0.1134463,0.2074027) >> when i do >> sum(v) >> or >> 0.08844446+0.1744455+0.1379778+0...
2018 May 03
1
Package for Molecular Properties
...is sort of thing. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, May 3, 2018 at 12:58 AM, Spencer Graves <spencer.graves at effectivedefense.org> wrote: > > library(sos) > > > (mp <- findFn('{molecular properties}')) > > > ** found 7 matches in 4 packages and opened two web pages in my > default browser with (a) the 7 matches and (b) the 4 packages. The first > function was something for...
2018 May 03
0
Package for Molecular Properties
library(sos) (mp <- findFn('{molecular properties}')) ????? ** found 7 matches in 4 packages and opened two web pages in my default browser with (a) the 7 matches and (b) the 4 packages. The first function was something for amino acids, like you suggested.? Two others returned compound and substance information from PubChem. ????? Does this help? ????? Spencer On
2018 May 03
3
Package for Molecular Properties
All Is there a package or library that will, given a nucleotide sequence 1. calculate the extinction coefficient at 260 nm for (Beer-Lambert's law) 2. calculate molecular weight 3. return it's complementary sequence I was able to find several packages that can do similar calculations for an amino acid sequence for proteins but none for nucleic acids. Any pointers, etc. would be
2017 Aug 14
0
weight in lm
> On 14 Aug 2017, at 13:43 , Spencer Graves <spencer.graves at effectivedefense.org> wrote: > > > > On 2017-08-14 5:53 AM, peter dalgaard wrote: >>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote: >>> >>> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10 >>>...
2017 Aug 22
1
Convert Factor to Date
...g-16 Feb-16 1-Aug-16 Mar-16 1-Aug-16 Apr-16 1-Aug-16 May-16 1-Aug-16 Jun-16 1-Aug-16 Jul-16 1-Aug-16 Aug-16 1-Aug-16 Sep-16 1-Aug-16 Oct-16 1-Aug-16 ________________________________ From: R-help <r-help-bounces at r-project.org> on behalf of Spencer Graves <spencer.graves at effectivedefense.org> Sent: Tuesday, August 22, 2017 2:49 PM To: r-help at r-project.org Subject: Re: [R] Convert Factor to Date On 2017-08-22 1:30 PM, Patrick Casimir wrote: > Dear R Fellows, > > > I Have a dataset( data1) with 2 columns of date showing a class of factor. How to convert them to d...
2017 Aug 14
1
weight in lm
> On Aug 14, 2017, at 5:17 AM, peter dalgaard <pdalgd at gmail.com> wrote: > > >> On 14 Aug 2017, at 13:43 , Spencer Graves <spencer.graves at effectivedefense.org> wrote: >> >> >> >> On 2017-08-14 5:53 AM, peter dalgaard wrote: >>>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote: >>>> >>>> Dear friends - I hope you will accept a naive question on lm: R version 3.4...
2017 Aug 14
2
weight in lm
On 2017-08-14 5:53 AM, peter dalgaard wrote: >> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote: >> >> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10 >> >> I have 204 "baskets" of three types corresponding to factor F, each of size from 2 to 33 containing measurements, and need to know if the
2017 Aug 22
0
Rounding of problem with sum command in R
On 2017-08-22 9:26 AM, niharika singhal wrote: > Hello I have a vector > v=c(0.08844446,0.1744455,0.1379778,0.1209769,0.1573065,0.1134463,0.2074027) > when i do > sum(v) > or > 0.08844446+0.1744455+0.1379778+0.1209769+0.1573065+0.1134463+0.2074027 > i am getting output as 1 No:? That's only the display: > sum(v)-1 [1] 1.6e-07 ????? hope this helps.? Spencer
2018 Jan 27
0
Searching R Packages
...turn that article into a proposal for improving the search capabilities in R that would ultimately be funded by, e.g., The R Foundation. What do you think? Please forward this to anyone you think might be interested. ????? Best Wishes, ????? Spencer Graves, PhD ????? Founder ????? EffectiveDefense.org ????? 7300 W. 107th St. # 506 ????? Overland Park, KS 66212
2017 Aug 22
3
Rounding of problem with sum command in R
Hello I have a vector v=c(0.08844446,0.1744455,0.1379778,0.1209769,0.1573065,0.1134463,0.2074027) when i do sum(v) or 0.08844446+0.1744455+0.1379778+0.1209769+0.1573065+0.1134463+0.2074027 i am getting output as 1 But if i add them manually i get 1.00000026 I do not want to round of my value since it effect my code further Can anyone suggest how can i avoid this. Thanks & Regards Niharika
2017 Jul 30
0
Kalman filter for a time series
On 2017-07-29 11:26 PM, Staff wrote: > I found an example at > http://www.bearcave.com/finance/random_r_hacks/kalman_smooth.html That example is signed by "Ian Kaplan". There's a box at the bottom of the page for you to email him. > shown > below. But it seems the structSSM function has been removed from KFAS > library or it
2017 Aug 22
0
Convert Factor to Date
On 2017-08-22 1:30 PM, Patrick Casimir wrote: > Dear R Fellows, > > > I Have a dataset( data1) with 2 columns of date showing a class of factor. How to convert them to date? Then compare them, keep the greater date only in a new column. Using as.Date to change the class to Date but the data becomes NA. ????? When I specified a format with the second date, I got the desired
2016 Apr 02
0
p values from GLM
On 4/2/2016 11:07 AM, David Winsemius wrote: >> On Apr 1, 2016, at 5:01 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >> >> On 01/04/2016 6:46 PM, Bert Gunter wrote: >>> ... of course, whether one **should** get them is questionable... >> They're just statistics. How could it hurt to look at them? > Like Rolf, I thought that
2017 Aug 22
5
Convert Factor to Date
Dear R Fellows, I Have a dataset( data1) with 2 columns of date showing a class of factor. How to convert them to date? Then compare them, keep the greater date only in a new column. Using as.Date to change the class to Date but the data becomes NA. Much Thanks COL1 COL2 Apr-16 1-Nov-16 May-16 1-Nov-16 Jun-16 1-Nov-16 Jul-16 1-Nov-16 Aug-16 1-Nov-16 Sep-16 1-Nov-16 Oct-16 1-Nov-16
2016 Apr 02
2
p values from GLM
> On Apr 1, 2016, at 5:01 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > On 01/04/2016 6:46 PM, Bert Gunter wrote: >> ... of course, whether one **should** get them is questionable... > > They're just statistics. How could it hurt to look at them? Like Rolf, I thought that this utterance on April 1 deserved fortune enshrinement. It reminded
2017 Jul 30
4
Kalman filter for a time series
I found an example at http://www.bearcave.com/finance/random_r_hacks/kalman_smooth.html shown below. But it seems the structSSM function has been removed from KFAS library so it won't run. Does anyone know how to fix the code so that it runs? library(KFAS) library(tseries) library(timeSeries) library(zoo) library(quantmod) getDailyPrices = function( tickerSym,