Neotropical bat risk assessments
2018-Dec-19 11:38 UTC
[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
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 -- 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 ______________________________________________ R-help at r-project.org 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.