rewrite code from Deducer to run on R-Studio

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rewrite code from Deducer to run on R-Studio

Bat Dude
Hi all,

Apparently Deducer (a GUI for R) is no longer supported or being updated.

What is the easiest way to re-write code to run using R-Studio?

An example:

BatStats<- Deducer::descriptive.table (vars = d
(Dur,Fmin,Fmax,Fmean,Fk,Fc,Sc,Pmc),data= BatStats,func.names =c("Valid
N","Minimum","Maximum","Mean","St. Deviation","25th Percentile","75th
Percentile"),func.additional= list(p10=function(x) quantile(x, c(0.10),
na.rm=TRUE),p90=function(x) quantile(x, c(0.90), na.rm=TRUE)))


So I will be on a new learning curve.


Tnx for any suggestions

Bruce


--
Neotropical bat projects
Making call Fact Sheets and interactive ID keys of the New World bat vocal signature freely available to all.
Pioneering acoustic identifications of Neotropical bats since 1995
Bruce W. Miller, PhD.
Conservation Fellow, Wildlife Conservation Society

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: rewrite code from Deducer to run on R-Studio

David Carlson
Since R is open source, you can download the source package file for Deducer, extract the code for the descriptive.table function, and continue to use it without installing the whole package.

Alternatively, there are descriptive stats functions in many R packages. You might try numSummary() in package RcmdrMisc, Desc() in DescTools, describe() in Hmisc, stat.desc() in pastecs, or describe() in psych. Try several until you find one that formats the results the way you want.

-------------------------------
David L. Carlson
Department of Anthropology
Texas A&M University


-----Original Message-----
From: R-help [mailto:[hidden email]] On Behalf Of Neotropical bat risk assessments
Sent: Wednesday, December 19, 2018 5:39 AM
To: [hidden email]
Subject: [R] rewrite code from Deducer to run on R-Studio

Hi all,

Apparently Deducer (a GUI for R) is no longer supported or being updated.

What is the easiest way to re-write code to run using R-Studio?

An example:

BatStats<- Deducer::descriptive.table (vars = d
(Dur,Fmin,Fmax,Fmean,Fk,Fc,Sc,Pmc),data= BatStats,func.names =c("Valid
N","Minimum","Maximum","Mean","St. Deviation","25th Percentile","75th
Percentile"),func.additional= list(p10=function(x) quantile(x, c(0.10),
na.rm=TRUE),p90=function(x) quantile(x, c(0.90), na.rm=TRUE)))


So I will be on a new learning curve.


Tnx for any suggestions

Bruce


--
Neotropical bat projects
Making call Fact Sheets and interactive ID keys of the New World bat vocal signature freely available to all.
Pioneering acoustic identifications of Neotropical bats since 1995
Bruce W. Miller, PhD.
Conservation Fellow, Wildlife Conservation Society

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.