Skip to content

rewrite code from Deducer to run on R-Studio

2 messages · Neotropical bat risk assessments, David L Carlson

#
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
#
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:r-help-bounces at r-project.org] On Behalf Of Neotropical bat risk assessments
Sent: Wednesday, December 19, 2018 5:39 AM
To: r-help at r-project.org
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