blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6bc231710d993079a548b91a57406c6856342e6 | 3d410069bf8c676a32dc8fb91276b2b5c3c5de3e | /code/BayGLM3_bayesian.R | 9aad4bff3a4f672dbc497a0c09a9519ac98c5a78 | [] | no_license | jasa-acs/A-Bayesian-General-Linear-Modeling-Approach-to-Cortical-Surface-fMRI-Data-Analysis | ecdb007babf5550a7a7d8788d3abfb9f64433bae | 1bc5387343b120a44834fdadd1945cffbaf5ff25 | refs/heads/master | 2020-09-03T23:40:37.113161 | 2020-01-09T19:20:55 | 2020-01-09T19:20:55 | 219,604,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,047 | r | BayGLM3_bayesian.R | #library(devtools)
#install_github('muschellij2/gifti')
library(gifti)
#install.packages('sp')
#install.packages("INLA", repos="https://www.math.ntnu.no/inla/R/testing")
library(INLA)
INLA:::inla.dynload.workaround() #to avoid error on creating mesh
inla.setOption("pardiso.license", "~/pardiso.lic") #required for paral... |
414a3311a885b89082e6da986b08a3407925e14b | 0e5049ff00dc9466961163aaea6f3654fd59ac33 | /likelihoods.R | 6a8fde0ac6eec6a3d614b93dbb9ee6e36b1fbaa4 | [] | no_license | jonlachmann/irls_demo | 494fb99b3c7872c0831eeea80002a3e200b266d5 | 7d5b79d4b05b638c9bed6bad0fee97248a66233b | refs/heads/master | 2023-04-09T13:17:39.406364 | 2021-04-15T11:33:19 | 2021-04-15T11:33:19 | 357,663,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | likelihoods.R | # Title : TODO
# Objective : TODO
# Created by: jonlachmann
# Created on: 2021-04-14
logistic.loglik.aic.sub <- function (y, x, model, complex, params) {
mod <- irls(as.matrix(x[,model]), y, binomial(), 1, params$subs, maxit=75, cooling = c(3,0.9,0.95), expl=c(3,1.5))
ret1 <- mod$loglik - mod$rank
dev2 <- ge... |
c85078b07e9c690338250ef640fd436cc5f18db9 | 19f18d1755fe9d518ec500c67ea9c4d4553ffb69 | /man/generate_folder_opt_report.Rd | 93e3cf332b9fd022bce3e9442856eb81a8203026 | [] | no_license | jcrodriguez1989/rco | f9483d79d31672eabb0db2587cf118ae04c398ea | 9f8ff5eb12e1ac572af407284f105783179c4187 | refs/heads/master | 2021-07-23T03:26:42.762558 | 2021-07-14T12:28:16 | 2021-07-14T12:28:16 | 178,254,891 | 91 | 29 | null | 2021-07-14T12:28:17 | 2019-03-28T17:47:31 | R | UTF-8 | R | false | true | 818 | rd | generate_folder_opt_report.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reporting-fun-folder.R
\name{generate_folder_opt_report}
\alias{generate_folder_opt_report}
\title{Report possible optimizations in folder containing `.R` files.}
\usage{
generate_folder_opt_report(
folder,
optimizers = all_optimizers,
... |
a517ae19607ffc2c17ecb6c077f06b34459f1031 | 00ec80463a5e47060b058e2b3f134627276c4184 | /plot1.R | 3ac6f8593b42c867d3b4fd2616483b6ba564b213 | [] | no_license | msasheikh/ExData_Plotting1 | 2280a8ff223f5a949d4dd3e460198fe04bc2b2ca | f440f822dbf147ab850380e525d8608e9420cdaa | refs/heads/master | 2021-01-16T20:49:08.574328 | 2014-06-07T22:41:42 | 2014-06-07T22:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 596 | r | plot1.R | setwd("C:/Users/school/Dropbox/Cousera/Exploratory Data Analysis/project1")
x<-"exdata-data-household_power_consumption/household_power_consumption.txt"
install.packages("lubridate")
library(lubridate)
file<-read.table(x,header = T, sep = ";")
clean<-file == "?"
file[clean]<-NA
data<-subset(file,Date == "1/2/2007")
dat... |
8ed3831cd07c114f69b045fe496688668272e3c4 | 082f9357ce7153b53936219a9764c882af3677d5 | /tests/testthat/test_oml_long.R | 8b679b2a3e0409bef083401f8d5c27d15e2e25f8 | [] | no_license | damirpolat/farff | 3fbfe7e3664d5c9ae91fed760ba395bea3892b0d | 15d6a60f400ce5f355040ed6568a5abdf40cb359 | refs/heads/master | 2022-01-07T13:43:28.263322 | 2019-05-03T12:22:35 | 2019-05-03T12:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,211 | r | test_oml_long.R | if (identical(Sys.getenv("TRAVIS"), "true")) {
context("long test with many OML data sets")
library(OpenML)
dchars = listOMLDataSets()
dchars2 = subset(dchars, status == "active" & number.of.instances < 100 & number.of.features < 10)
dids = dchars2$did
# FIXME: data set 292 is in sparse format. this is ... |
9a9fc4619ac342cd075545dab402e43dee4b1c6a | 8eda575f2fa56357988945de6013eb082d768b3d | /R/tts.R | 9abc123f0360d05d58cdedd7aefa5b37c1a8bd3e | [] | no_license | skfogg/temptoolr | 0547d5899667e6fab6462c7ffeb3954c3bd1ab9c | 3f458d60ffaea879bce7a79bdacb959b2ab39545 | refs/heads/master | 2023-08-21T18:27:02.033712 | 2021-10-18T20:56:03 | 2021-10-18T20:56:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,735 | r | tts.R | #' Temperature Time Series
#'
#' @param odbcConnection RODBC object
#' @param holonName the holon name of the cell to query
#' @param tableName the table to query
#' @param runID character
#' @param xtsIndex lubridate object
#'
#' @return tts object
#' @export
tts <- function(odbcConnection, holonName, tableName, run... |
0ee7463f793f98174a2943ea1dadd06100c4e325 | fde3f786a46570dcdc728538f756d6e3f30045eb | /R/misc/fitDistr.R | a6ae76b97edb02bf4c0e83d19eecec8ffb9cb0ab | [] | no_license | jrminter/snippets | 3fcb155721d3fd79be994c9d0b070859447060d7 | bb3daaad5c198404fef6eaa17b3c8eb8f91a00ed | refs/heads/master | 2021-01-13T14:20:51.451786 | 2017-04-29T05:26:11 | 2017-04-29T05:26:11 | 16,347,209 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,206 | r | fitDistr.R | # fitDistr.R
# from
# http://statistical-research.com/finding-the-distribution-parameters/
require(MASS)
raw <- t( matrix(c(
1, 0.4789,
1, 0.1250,
2, 0.7048,
2, 0.2482,
2, 1.1744,
2, 0.2313,
2, 0.3978,
2, 0.1133,
2, 0.1008,
1, 0.7850,
2, 0.3099,
1, 2.1243,
2, 0.3615,
2, 0.2386,
1, 0.0883)... |
7a62ed860cb9cee169fedbb8c41dbccaadc8c738 | 44c12bf5db12471edba464b652f9b2133a38e80e | /R/cyclone.R | 98f3a9aa82886962a5a1eb779853928c7bca4d78 | [] | no_license | MarioniLab/scran | af4d01246208a12d40fc01b4d7d49df6a5f59b9f | f238890d5642dfb8062cf0254e0257fd28c5f28d | refs/heads/master | 2023-08-10T08:58:35.499754 | 2023-08-04T23:19:40 | 2023-08-04T23:30:29 | 100,610,090 | 43 | 31 | null | 2023-04-09T15:14:31 | 2017-08-17T14:06:03 | R | UTF-8 | R | false | false | 10,853 | r | cyclone.R | #' Cell cycle phase classification
#'
#' Classify single cells into their cell cycle phases based on gene expression data.
#'
#' @param x A numeric matrix-like object of gene expression values where rows are genes and columns are cells.
#'
#' Alternatively, a \linkS4class{SummarizedExperiment} object containing such... |
08897ea5725cd4e9cea336a7650eee10b759aa9a | d71f89f90448ca3dae2efe3cfd2212e59d41eec4 | /man/RunCrossValidation.Rd | 615ad2321974054600b6c4342ff86aa7c8fc8c48 | [] | no_license | warnbergg/regone | ce2b5f9db882b40c025fc8a669e9d65f5404e3a8 | 851be8e37259b1b0f599038e08ae14c27365b454 | refs/heads/master | 2023-08-22T02:18:39.488804 | 2021-10-13T14:11:07 | 2021-10-13T14:11:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,006 | rd | RunCrossValidation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RunCrossValidation.R
\name{RunCrossValidation}
\alias{RunCrossValidation}
\title{RunCrossValidation}
\usage{
RunCrossValidation(dv, data, k = 10, dir = "./", save.plot = TRUE)
}
\arguments{
\item{dv}{Character vector of length 1. Dependent va... |
c827c694d497733d5f2801517644babd7852ff34 | 2f6efa6d60037a2ff6f608e7d3df3db6be460bbb | /R/query.R | dba1870ba218164d5fe9a49e8f2ee7b1b5323d61 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | glin/reactlog | 17b964877b21de5716aace895c9267492ff2e6e1 | 698ac245f71d3f35d32867013e60681ce57abff3 | refs/heads/master | 2021-05-08T21:04:12.901767 | 2018-03-02T04:31:48 | 2018-03-02T05:02:35 | 119,627,353 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,242 | r | query.R | #' Get a reactive context node
#'
#' @param x A reactive context, expression, observer. Defaults to the
#' current reactive context.
#' @param graph A reactive graph. Defaults to the reactive graph for the
#' current Shiny session.
#' @param invalidated If `TRUE`, get the last invalidated context.
#' @return A reac... |
ff26caf77218c4211c5155b42eaea8f1d3d28592 | 1528645b51076a3036642e54ebfc4aeb525ece92 | /fastinR/R/DataIO.R | c2197aa361234175109b9179d1ee01843e948975 | [] | no_license | Philipp-Neubauer/fastinR | e1d058bca1b4f40917cb2f4fec5cd4c41a9092ce | e6081d0e65348131a8f17058cc35e95cab0513b5 | refs/heads/master | 2021-07-10T19:23:52.889509 | 2018-06-20T10:42:13 | 2018-06-20T10:42:13 | 8,904,070 | 4 | 5 | null | 2017-02-28T01:09:18 | 2013-03-20T12:54:23 | TeX | UTF-8 | R | false | false | 18,895 | r | DataIO.R | #' Add Covariates and Group indices for predators
#'
#' Files must be in .csv format
#'
#' @param Groups Index of group membership for each predator, one (named) column per grouping variable. Can be a file path to a csv file with the data or a data frame.
#' @param Covariates Covariate values for ea... |
cd221dbd76a6242f9764f94691489bbfb6a141b2 | c54dbb850db9657df7c4a9f805263d8701addd5e | /Tools/EPIC/x86_64-pc-linux-gnu-library/3.4/pcaMethods/doc/missingValues.R | 7484ffffa6eace8d853f5c7b9d3af9507587445e | [] | no_license | grst/benchmarking-transcriptomics-deconvolution | 873cc32eb6908d1200fb7a7fb0dfffafb1554aa6 | 521fb8610b5d1e68bef0a725bea66f8b36e64b01 | refs/heads/master | 2023-07-05T15:16:42.446003 | 2021-08-27T07:11:02 | 2021-08-27T07:11:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | r | missingValues.R | ### R code from vignette source 'missingValues.Rnw'
###################################################
### code chunk number 1: missingValues.Rnw:43-44
###################################################
library(pcaMethods)
###################################################
### code chunk number 2: missingValues.R... |
efcfcbbe5a25119bfbb7422b506a78627a9a0431 | 1d7e7ca5f9c2ef36da39190f544f98257cbe4108 | /AustinMMSDWorkflow.R | 21f9b259b768e97e025b0d07ead6f39a699cfe5f | [] | no_license | jlthomps/GLRIBMPs | 1d2d4524abcb5dcf2d6e1959106e58c7113ee172 | 7b92e55995b4e39f6204f799bedf19379700afdc | refs/heads/master | 2020-03-27T03:30:08.516809 | 2016-01-25T18:55:29 | 2016-01-25T18:55:29 | 12,004,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,138 | r | AustinMMSDWorkflow.R | ###########################################################################
# Do once:
#library(devtools)
#install.packages(c("USGSwsData","USGSwsBase","USGSwsGraphs","USGSwsQW","USGSwsStats","dataRetrieval","GSqwsr"),repos="http://usgs-r.github.com")
####################################################################... |
e89d2003be049683afbacf3602b3e5bb8e1688b1 | b2936989935e5ca30e62e349ec6a925697624d92 | /Quiz/Quiz1.R | 1b7a634a53b6acae1450150e8094acae97abeda6 | [] | no_license | FloraC/Coursera-RProgramming | 3348b7ecb003aa734edb2ad1fe83c78b93033e30 | 377aaaf09364ea8c339e3ca8771c93d60272c789 | refs/heads/master | 2021-01-18T07:40:49.642322 | 2015-05-15T07:13:10 | 2015-05-15T07:13:10 | 33,906,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,862 | r | Quiz1.R | ## Quiz1 Review
## verctor addition
x1<-1:4
y1<-2:3
z1<-2
Ans1_1<-x1+y1
Ans1_1
class(Ans1_1)
Ans1_2<-x1+z1
Ans1_2
class(Ans1_2)
##Suppose I have a vector x <- c(3, 5, 1, 10, 12, 6) and I want to set all elements of this vector that are less than 6 to be equal to zero. What R code achieves this?
##You can create a logi... |
7b47076b051d8928999ceb241d0468969691e926 | 393554988b25cb0b7f1a25956c84520f7f1ca2ae | /sample1.R | d5bde793def12a2b0328aa10bfcf6cf1f10dd5e0 | [] | no_license | debajyoti7/R_wordCloud | fb1b233bee4d5d96af6c6d7280bfecd239f4fed7 | 45f046712cd08f579f7507e20cbbb6b8d88e6ac8 | refs/heads/master | 2021-01-10T12:52:11.294252 | 2015-10-16T09:42:08 | 2015-10-16T09:42:08 | 44,367,861 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | r | sample1.R | library(tm)
txt <- Corpus(DirSource("poems/"))
#txt <- tm_map(txt, stripWhitespace)
txt <- tm_map(txt, content_transformer(tolower))
txt <- tm_map(txt, removeWords, stopwords("english"))
txt <- tm_map(txt, removePunctuation)
txt <- tm_map(txt, stemDocument)
library(wordcloud)
wordcloud(txt, scale=c(5,0.5), max.word... |
24ad1b8fa8c5e1f540bcc570d2888051ddd0219c | 719e18d76fd6580449c1eddae055aefe0f4dc73e | /R/Summarizing.R | 10b38885cce56b3701e84291509e0d24f2dc4d14 | [] | no_license | RIVA-ISC/openeddy | 4c4a73d6fcaa2d0867f941133f3194e071751ff1 | e53fa95be1a0f238baecef10e76c4e16e02463c4 | refs/heads/master | 2022-12-30T06:29:47.466582 | 2020-10-14T14:35:39 | 2020-10-14T14:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,812 | r | Summarizing.R | #' Time series summarization
#'
#' Utilities that simplify aggregation of data and their uncertainties over
#' defined time intervals.
#'
#' \code{agg_mean} and \code{agg_sum} compute mean and sum over intervals
#' defined by \code{format} and/or \code{breaks} for all columns.
#'
#' \code{agg_fsd} and \code{agg_DT_SD} ... |
3fb89be2f6926bca9cfc1c356059c7eec247db9f | 13756dddacf2e8c3c3355ad32adcf94700576a8e | /R/timeStack.R | 0880cc06b269ba600e82d90771296f92e3b014ab | [
"Apache-2.0"
] | permissive | mengluchu/bfastspatial2 | 6e96b2b2af96448626b03cdffc584e28aa95936e | 1254e661e33404d8b2ad3e5d830f864204b33a4f | refs/heads/master | 2016-09-06T00:06:39.757295 | 2014-12-10T09:51:48 | 2014-12-10T09:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,433 | r | timeStack.R |
#' @title Creates a time stack of Landsat layers
#'
#' @description Creates a stack of Landsat layers, reordering them chronologically
#'
#'
#'
#' @param x character. dir containing the files to be stacked or character list (the files). IN the former case, it is recommended to use the \code{pattern} argument
#' @p... |
14d62e19c1a7cd1137393894f8a506d79a9c2be4 | e797f4d4383c5db9c78372e264ba2e66cd8e5859 | /webtext2.R | 93f2c6f6426781e11992c4c483b4a3c9237de272 | [] | no_license | vmsmith/WebTextAnalysis | f782e8f2fbc90a8b22f570ac0cb4939545ed8c55 | 7dd5bee32324e240aed041482ba4ef10beea1c27 | refs/heads/master | 2020-12-02T23:56:45.753783 | 2017-07-11T14:49:58 | 2017-07-11T14:49:58 | 95,964,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 897 | r | webtext2.R | # Set up the environment --------------------------------------------------
library(rvest)
library(magrittr)
library(selectr)
# Read in the page --------------------------------------------------------
webtext2 <- read_html("1_Data/webtext2.html")
webtext2
# Select by "id" ------------------------------------------... |
61a0f61c16b703d16da20b0d0406488b9730d45f | 01b73f895eaf0fdbe48fdc9d79d20989cbd4e78d | /112. Data Visualization with ggplot2 (Part 1)/New Text Document.R | b27fd65f954704f2ff4d02a3d712af8ee5a1127d | [] | no_license | mohammadshadan/DC-R | 77070d9dc10c5d6a052ae19e915652886e877773 | 05569ac7a7d616820944098b394139255e6a87e8 | refs/heads/master | 2021-10-01T19:12:41.525055 | 2018-11-28T19:15:57 | 2018-11-28T19:15:57 | 108,579,271 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 464 | r | New Text Document.R | d <- read.delim("clipboard")
head(d)
i <- read.delim("clipboard")
head(i)
i$diff <- i$Sunrise - i$Fajr
str(i)
i$Sunrise <- as.numeric(i$Sunrise)
i$Fajr <- as.numeric(i$Fajr)
i$diff
white <- read.csv("http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-white.csv", sep=';')
head(white) ... |
fda2fc8da843464b4eb8a038facc8dbbcca29ce7 | 42686fcc79e9fe3af36a942e293551707effa548 | /CampMyTrip.R | 111302afb92a3346a3894fa5f8f63c42c7f900dc | [] | no_license | jescoyle/CampMyTrip | 8934132fdef022691fd828ffdf944e1442fdfdce | 256474184260ad0e5e331ec893259c3ac7a7f1b5 | refs/heads/master | 2021-01-10T09:05:41.342603 | 2016-02-01T02:28:24 | 2016-02-01T02:28:24 | 50,749,841 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,512 | r | CampMyTrip.R | ### This script visulaizes campground data from Reserve America and finds a preliminary itinerary for a West Coast road trip
# Load packages
library(XML) # for queries to campsites API
library(jsonlite) # for queries to Google Distance API
library(rgdal) # for spatial data
library(sp) # for spatial data
library(maps) ... |
e8e059d1812ac59ba12aea0dc941986dd2befcd5 | ffe6df4e4c8f95e942601b2e0904d0a1b2d48d60 | /R/utils-tables.R | aa5a0d03d5be2bfc726576435fc0caba6797527c | [
"MIT"
] | permissive | hamilton-institute/hamiltonCovid19 | 55eea1643c1fc527a84181769d21f707bf559d19 | 1629ff8a525bfc9661efe56c1c23858f424e55b5 | refs/heads/master | 2023-07-07T12:42:06.557058 | 2021-08-05T19:28:48 | 2021-08-05T19:28:48 | 288,237,889 | 2 | 0 | NOASSERTION | 2020-11-20T21:28:16 | 2020-08-17T17:02:27 | R | UTF-8 | R | false | false | 674 | r | utils-tables.R | summaryTab_table <- function(tab) {
col_spec <- purrr::map2(
c("left", "left", "center"),
c(75, 78, 75),
~ reactable::colDef(align = .x, minWidth = .y, maxWidth = 200)
)
col_spec <- purrr::set_names(col_spec, names(tab))
reactable::reactable(
tab,
defaultPageSize = 10,
searchable = TR... |
e4811b69a8c072701e3d965928fba241b7286632 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RSEIS/examples/PLOT.MATN.Rd.R | 9ab01e9cdf8021a54b0a89b601d8509cce9ab8bf | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 456 | r | PLOT.MATN.Rd.R | library(RSEIS)
### Name: PLOT.MATN
### Title: plot a matrix of several seismograms
### Aliases: PLOT.MATN
### Keywords: hplot
### ** Examples
dt <- 0.001
t <- seq(0, 6, by=0.001)
thefreqs <- seq(from=10, to=100, by=10)
theamps <- runif(length(thefreqs))
# sample rate is 1000 Hz, 0.001 seconds 601 sa... |
ee34f57aa21d981fa5b6e4cdcb14aed73798e4b9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fmri/examples/plot.fmridata.Rd.R | 395131f261aab09c0d910dfda2d2a37ca642cdca | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | plot.fmridata.Rd.R | library(fmri)
### Name: plot.fmridata
### Title: I/O functions
### Aliases: plot.fmridata plot.fmrisegment
### Keywords: hplot iplot
### ** Examples
## Not run: plot(pvalue)
|
360cbd34b6de7c296e30a0855049f47b97de249c | 9c9263977da97b2a97555910c01d6774c2beee9b | /server.R | 7582ccef50a64ca1f99937195f3f9d7351520bd9 | [] | no_license | laderast/shinyTutorial | 9c6cc3f9c994dd323d0967d5f4c4c0c1838471a6 | 4a571b3f5932ecd0247cc053183affca8a9c4c37 | refs/heads/master | 2021-01-01T04:35:01.683965 | 2016-05-24T18:19:28 | 2016-05-24T18:19:28 | 59,597,417 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 687 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(ggplot2)
library(dplyr)
##paste data loading code here
##can also paste it into global.R if you want
##ui.R to also be able to access it (... |
56561065c5396a95616b67612dea3d36bbdc535e | 61ef69ad3a6cf4deb8103a39c07e83f2916ee245 | /text_analysis.R | dc46b300a4409a7bec05eaf7dd22320abab54e4f | [] | no_license | paulvanderlaken/2018_WIDM | 4c5c8628c42652e23415f3854cf098834bba4457 | 26a3676b5d50388492fb1703d2ceab18dd2c5ac1 | refs/heads/master | 2021-05-14T01:52:43.090685 | 2018-01-07T15:37:05 | 2018-01-07T15:37:05 | 116,577,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,427 | r | text_analysis.R | ### 2018/06/01
### WIE IS DE MOL
### TWITTER ANALYSIS
### PART 3: TEXT ANALYSIS
### PAULVANDERLAKEN.COM
### SETUP
pkg <- c("here", "tidyverse", "tidytext", "tm", "patchwork")
sapply(pkg, function(x){
if(!x %in% installed.packages()) install.packages(x)
library(x, character.only = TRUE)
return(x)
})
source(here(... |
842925a886f98db6a7029c7f7d37a689e9d031b6 | 865cecdd703505d582b91242f9c37c0bed740095 | /R/ensemblgtf.R | 9172571945116a28d88b7fc0a7ae788dd76fac01 | [] | no_license | csiu/CEMTscripts | 4fb78442e540e2ff6e95b734b8f96043e3509e74 | 74baea3a0a59f4e21405c96a91d65d7a36764048 | refs/heads/master | 2021-08-16T16:44:42.236037 | 2017-11-20T05:19:39 | 2017-11-20T05:19:39 | 71,932,230 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 911 | r | ensemblgtf.R | #' Protein coding transcripts
#'
#' List of protein coding transcripts from Homo sapiens
#' on chromosomes 1-22, X and Y. Data is
#' obtained from Ensembl gene set annotations GR37.75
#' @format
#' An object of class GRanges of length 81732.
#' This number refers to the number of
#' protein_coding transcripts on ... |
c4c38d293e2a71c0cf8ce5f59299b154ea0ce200 | a391230c74fe8abb2ce577ed76d07bef2c87ecb8 | /man/dataKNMI.Rd | df2662addd371d633fa403574fea38b5dec3f34c | [] | no_license | cran/tailDepFun | 9f490074ce7a5f6beba9ab9748d96cdf1d3e04f0 | d9625211ef0f628d7352578a1582a03db6570708 | refs/heads/master | 2021-06-09T15:05:33.434450 | 2021-06-03T10:00:02 | 2021-06-03T10:00:02 | 54,787,454 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,184 | rd | dataKNMI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Other.R
\name{dataKNMI}
\alias{dataKNMI}
\title{Wind speeds in the Netherlands.}
\format{
dataKNMI$data is a matrix with 672 rows and 22 columns, dataKNMI$loc is a matrix with 22 rows
and 2 columns.
}
\source{
KNMI
}
\description{
Daily maxim... |
2adeffd90bd5860d86c620e713f658ea71e41727 | 4a6f88bb4547c0e3258358fda6fe9d6a43c75271 | /plot4.R | 47705729c745d27f55da691a67e569656612874a | [] | no_license | mausha/ExData_Plotting1 | c207770c821e94aa5cff47c0c0079b3a523a92a4 | 2ef4a05006b8ac009ce26a76a78c204af586297f | refs/heads/master | 2021-01-05T09:55:14.123903 | 2020-02-17T04:31:25 | 2020-02-17T04:51:47 | 240,983,073 | 0 | 0 | null | 2020-02-16T23:29:28 | 2020-02-16T23:29:27 | null | UTF-8 | R | false | false | 6,579 | r | plot4.R | ###############################################################################
# This is an R script that creates the fourth plot (plot4.png)
# required for the Coursera Exploratory Data Analysis course,
# week-1 assignment:
# A 2x2 matrix containing 4 plots in 2 rows and 2 columns:
# - Top Left: (plot2 except n... |
b85a6d07dfa57fd10d20288fc76aa66815a51c2d | 3688bf629f77329a46522a91b975ef401ed6f278 | /01-06_reading-xlsx-files.R | 7eeade477d0aafcca406c072e0c7f821adf89a35 | [] | no_license | mareq/coursera_data-science_03-getting-and-cleaning-data_lectures | 922f15ba9e940bccc89b4782d86d49d8a40fd4a2 | d32789b5c2985cdd6767c0b1741614942779ff63 | refs/heads/master | 2016-09-06T06:32:31.778377 | 2015-02-21T00:17:17 | 2015-02-21T00:17:17 | 31,090,284 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 412 | r | 01-06_reading-xlsx-files.R | datadir <- "data"
setwd(datadir)
library(xlsx)
cameraData <- read.xlsx("cameras.xlsx", sheetIndex=1, header=TRUE)
head(cameraData)
colIndex <- 2:3
rowIndex <- 1:4
cameraDataSubset <- read.xlsx("cameras.xlsx", sheetIndex=1, colIndex=colIndex, rowIndex=rowIndex)
print(cameraDataSubset)
#write.xlsx
#write.xlsx2 # this ... |
c78ba12b3f2c07e2cd82886f711ad1080ae6e8a9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pauwels2014/examples/add_noise.Rd.R | 6db07bd71eea8e09a84720885ca73b5380367694 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 645 | r | add_noise.Rd.R | library(pauwels2014)
### Name: add_noise
### Title: Noise generative process for the simulations
### Aliases: add_noise
### Keywords: Model specific functions
### ** Examples
data(experiment_list1)
data(observables)
## Generate the knowledge object with correct parameter value
knobj <- generate_our_knowledge(trans... |
f567e820c7e3673210fda8e8730cd72e58eb4848 | 258241cdac524bbdeafb21f857a13b90b7e3d149 | /R/geom_timeline_label.R | 0e6387a649f14f6a424ce71facb9d3db07ed2df6 | [] | no_license | tcoopermont/eqtools | 19396a730b0da82c595f11302c6a00015f35cc2c | a166fbfb480429ba8e1dc5718c21b56f9f969d10 | refs/heads/master | 2021-01-01T06:02:01.072807 | 2017-09-27T16:33:47 | 2017-09-27T16:33:47 | 97,335,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,168 | r | geom_timeline_label.R |
library(scales)
library(ggplot2)
library(grid)
library(dplyr)
draw_panel_function <- function(data, panel_scales, coord) {
#str(data)
#str(panel_scales)
# pull out the top n_max by magnitude - for annotation
one_max <- data$n_max[1]
if(!is.na(one_max)){
data <- dply... |
d461bea97590affea27586bfd78532d442c4792a | d78f04a654c9c7c4213f1d277579a7851658e9ec | /R/RcppExports.R | 012cf365c8bd993051580b73f3170f91a41dfc35 | [
"MIT"
] | permissive | const-ae/einsum | 0c4653a479b3250fe1fbb11e15e91715f615155a | caae57d2b17e2d2b43ffe175237dd8bd7fb323c2 | refs/heads/master | 2023-05-04T15:43:34.332269 | 2021-05-28T08:23:48 | 2021-05-28T08:23:48 | 274,106,728 | 6 | 1 | NOASSERTION | 2021-05-14T09:19:01 | 2020-06-22T10:25:21 | R | UTF-8 | R | false | false | 351 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
einsum_impl_fast <- function(lengths_vec, array_vars_list, not_result_vars_vec, result_vars_vec, arrays) {
.Call(`_einsum_einsum_impl_fast`, lengths_vec, array_vars_list, not_result_vars_ve... |
905196bb13c55a0d42548a937fd4dc474ec80847 | cac5b2fa0e551581716c778d6448c137d37dfeda | /w3/hclust.R | b20d245dd632c8bbe6436976ba586d7e1e18759b | [] | no_license | xiaohan2012/coursera-data-analysis | 786f14a59e8b0f31207934f65d46c40b693b59c3 | b474bfe49385b54f2fc05b4796c08f59a38a9e69 | refs/heads/master | 2021-01-10T01:18:44.778973 | 2013-02-27T12:21:09 | 2013-02-27T12:21:09 | 8,455,293 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 291 | r | hclust.R | set.seed(1234)
x <- rnorm(12, mean=c(1,2,3), sd=0.2)
y <- rnorm(12, mean=c(1,2,1), sd=0.2)
plot(x, y, col=rep(c(1,2,3),4), pch=19)
text(x+0.05, y+0.05, labels=as.character(1:12))
coords <- data.frame(x=x, y=y)
dist.matrix = dist(coords)
hclust.obj <- hclust(dist.matrix)
plot(hclust.obj)
|
067d7a891cab18ab448f912e7413a44de40fe72d | 7ba5a802f9d02cd075c78e2c1c302c34bdfab48f | /man/transform_df_fixed.Rd | 9dabcb3aa6310000c565b32872226a1964e3f341 | [] | no_license | nliulab/AutoScore | 8b2e23be56d9f75504341df6c2f004d31d985ac4 | 6eeb658441a47560b841545862ce667b8861e6a7 | refs/heads/master | 2023-07-19T23:11:57.036461 | 2023-07-16T02:28:40 | 2023-07-16T02:28:40 | 201,586,484 | 25 | 6 | null | 2019-08-31T01:26:44 | 2019-08-10T05:51:07 | null | UTF-8 | R | false | true | 584 | rd | transform_df_fixed.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/common.R
\name{transform_df_fixed}
\alias{transform_df_fixed}
\title{Internal function: Categorizing continuous variables based on cut_vec (AutoScore Module 2)}
\usage{
transform_df_fixed(df, cut_vec)
}
\arguments{
\item{df}{dataset(training,... |
aa2aa6688ff3908bb83d6251fe37f79d4ce24a60 | 8a97255cb66455dbef0cf01864a3b334cf20a66b | /BucketVarComb/memoryMangment.R | b64c03845ed96eb77635746e14feb48efc13e840 | [] | no_license | AshutoshAgrahari/R_Practice | c56bbb3c0893e101305f150c0b74045f24cf5a44 | 4c31ce94f130b363f894177a1505ccac290547e0 | refs/heads/master | 2020-03-19T17:51:05.826260 | 2020-01-25T10:34:55 | 2020-01-25T10:34:55 | 136,781,266 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 594 | r | memoryMangment.R | # Source: http://adv-r.had.co.nz/memory.html
rm(list = ls())
library(pryr)
object_size(1:10)
object_size(mean)
object_size(mtcars)
sizes <- sapply(0:50, function(n) seq_len(n))
sizes <- sapply(0:50, function(n) object_size(seq_len(n)))
plot(0:50, sizes, xlab = "Length", ylab = "Size (bytes)", type = "s")
plot(0:50,... |
3180f90019f9e3f6e10a62ebf068961d2484fa37 | d9c64fa3b49039807f51d3b666c08ff586f8f67a | /Plot3.R | ce7692995d6d7a6c7e0c0459225b80d4f4febd14 | [] | no_license | LarissaVaans/ExData_Plotting1 | b2e1143d276f745db78ff2bfe38bc427ca4174da | 6a913f9b1d74dbf27cd8ae442d16f129f868f0ac | refs/heads/master | 2021-01-22T16:53:24.516722 | 2015-11-08T11:11:51 | 2015-11-08T11:11:51 | 45,738,312 | 0 | 0 | null | 2015-11-07T13:51:49 | 2015-11-07T13:51:49 | null | UTF-8 | R | false | false | 868 | r | Plot3.R | png(filename = "Plot3.png", width = 480, height = 480)
temp <- read.csv2("household_power_consumption.txt", colClasses = "character")
temp$Date <- as.Date(temp$Date, "%d/%m/%Y")
epcdata <- temp[temp$Date == "2007-02-01" | temp$Date == "2007-02-02",]
epcdata$Sub_metering_1 <- as.numeric(epcdata$Sub_metering_1)
epcdata$S... |
a925c2281818f5b916638abbbf51804e85046fce | 251d08baff87c53b3d31d7b09016931fef821c4a | /src/02_modLimma.R | 89922bf2b8a186f9262979c1e69e36a659c29c00 | [
"MIT"
] | permissive | nhejazi/neurodevstat | db98217a63309886975335c0fec691a85056e7b6 | 8039afeec5842f8fda4bdfcaf146a3e61b4447e0 | refs/heads/master | 2021-05-01T01:19:39.257767 | 2016-11-16T06:42:26 | 2016-11-16T06:42:26 | 69,637,755 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,114 | r | 02_modLimma.R | # fit linear models to each gene using voom with simple design matrix
vfit_simple <- limma::lmFit(v_simple)
vfit_simple <- limma::eBayes(vfit_simple)
tt1 <- limma::topTable(vfit_simple,
coef = which(colnames(design_simple) == "type"),
adjust.method = "BH", number = Inf,
... |
c96fd7d1fb1f4e3e8aa064f665a7c9e1a2919674 | 5dbc2ca4a6b12839bdebe5e8658b02671f078225 | /man/rapport-helpers.Rd | e93c37a1b7b87f3a111e740e5bf341abde09946c | [] | no_license | abhik1368/rapport | 2b15c817a49b30c60be787218c433eaad4788e79 | 5749d564588b9b3dc6f0f8ed4d6c8d18026b502a | refs/heads/master | 2021-01-17T19:57:51.066661 | 2014-12-16T12:37:05 | 2014-12-16T12:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,060 | rd | rapport-helpers.Rd | \name{rapport-helpers}
\alias{rapport-helpers}
\title{\emph{rapport helpers}}
\description{
\code{rapport} package comes with bunch of helper functions
that make your template writing and report creation easier,
although most of these helpers were migrated to the
\code{rapportools} package.
}
\details{
\emph{Export hel... |
5117c2d3ba642857c3156f7554a39ad930aca055 | 01b1446adcc5612fe9a1dd49172a87c59200882b | /man/summary.egf.Rd | cb9e5693f9351ba7741315ae31ec35e4b28702c3 | [] | no_license | davidearn/epigrowthfit | de5f046c123aecff7ca4b88d484e438b25e5c8cf | 36aac5d2b33c064725434bf298ac008e3929f9d6 | refs/heads/master | 2022-09-30T14:35:07.931181 | 2022-09-18T21:28:28 | 2022-09-18T21:28:28 | 250,906,109 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,815 | rd | summary.egf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.R
\name{summary.egf}
\alias{summary.egf}
\title{Summarize a model object}
\usage{
\method{summary}{egf}(object, ...)
}
\arguments{
\item{object}{An \code{"\link{egf}"} object.}
\item{...}{Unused optional arguments.}
}
\value{
A list ... |
bdf8a9c4f13939e98066b2f9b96e51ea6b65d4bb | 4de6571e0ff033cc724517e0b59c562fd6388524 | /model_nowy.R | 195dad96a39b99ff609f2b10c469bb9512c27097 | [] | no_license | szymonsocha/econometrics-data-processing-bachelor-thesis | 65793b2ece97f9b13d9c01e43a35f87bbe21d1a2 | 70e73513de96197bf6bb2a957ee158b65bb162be | refs/heads/main | 2023-06-07T08:36:32.177348 | 2021-07-06T22:45:59 | 2021-07-06T22:45:59 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 7,385 | r | model_nowy.R | library("lmtest")
library("sandwich")
library("stargazer")
library(rcompanion)
library("car")
options(scipen=999)
setwd("C:\\Users\\szymo\\Desktop\\Nauka\\Licencjat")
dane = read.csv(file = "Dane\\licencjat dane\\merged.csv", sep=",", header = TRUE)
# Usuwam te kraje, w których byly braki danych
unique(d... |
29aafc2c34469fbeb184fdcd18a6d3ec924415aa | 3d4635d0c22ae2812db525482f19c3b986e29a03 | /add_columns.R | f6cfd7300f7f346af8ad1adc8d25d0a39cf0222e | [] | no_license | anniecasey/camCompare | b02a0dfd3228a2b35550a04abb2e17299469f4ad | ad6d36dcb4d201f6282f33d93fd8b89ae2332472 | refs/heads/master | 2021-07-23T03:51:17.157170 | 2017-11-02T21:51:36 | 2017-11-02T21:51:36 | 99,351,505 | 0 | 0 | null | 2017-08-07T09:52:40 | 2017-08-04T14:35:53 | null | UTF-8 | R | false | false | 1,219 | r | add_columns.R | #' Adding to Dataset
#'
#' Adds column for properly formatted datetime, and column for ST.Dec
#'
#' @param file The metadata file containing your camera trap data. NOTE: Make sure your file has the following columns: "Year", "Month", "Day", "Hour", "Minute", "Second"
#'
#'
#' @author Annie Casey, \email{annie.casey15@g... |
d61d8253119523def3f89d8b8f423eb980c3bed8 | 893ba5093a71361ef12c3fe1f88ea71f56731b80 | /code/01_subset_data_to_any_state.R | b7faf3b100b5381cbaf96cae27731a1c00580be9 | [] | no_license | tswayd/analyzing_covid_mobility_dataset | ce5f9476d7f515faa3f5bbb907aef193d757fe31 | 821a3dc0536bd196f6245f10bbc1b575bc33f73e | refs/heads/master | 2023-01-11T01:42:59.789149 | 2020-11-17T08:00:28 | 2020-11-17T08:00:28 | 296,526,930 | 0 | 0 | null | 2020-11-03T01:20:57 | 2020-09-18T05:54:27 | HTML | UTF-8 | R | false | false | 571 | r | 01_subset_data_to_any_state.R | # Script to read in Apple mobility data from a csv file
# and subset the data to just include rows from any particular US state
# and then write out a csv file that only has that subset
# uses functions in the code/function directory.
# and notes
# Delong Tsway
# dttsway@dons.usfca.edu
# September 13, 2020
# load fun... |
060f02008053ad4209a3ca41d78e41d3c9b97720 | c0e766a6a57e3c5c32f8b0afe130b8df66e6dbf9 | /rsellShiny/R/infoBoxT.R | 38fce77b6ef347c9784b27d8891aa142199377f0 | [] | no_license | t2tech-corp/Rsell-Packages | b450fec180754aa9cf0cf3ab6b369c74c57b7e70 | 047a2348650e5a2ee0bc52500824a34f16167056 | refs/heads/main | 2023-03-03T00:22:15.006720 | 2021-02-14T22:58:12 | 2021-02-14T22:58:12 | 329,474,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,112 | r | infoBoxT.R | #' Custom Infobox
#'
#' This function generates a custom Infobox. Built from shinydashboard infoBox.
#'
#' Requires:
#'
#' @param title Title
#' @param value Value
#' @param subtitle Subtitle
#' @param caption Caption
#' @return
#' @export
#' @examples
#'
infoBoxT <- function (title, value = NULL, subtitle = NULL, cap... |
1979c364c46dcd998d0243e9177c0615ebe6e2fb | e4614050f43d7a5fdf9bbffbb45bdf37e25930d6 | /EPC_OAC.R | 275959f9eaba76070b544020639eb98a68d67905 | [] | no_license | sgetalbo/EPC_data | 5ea29acbe9cc368328fca33d1479d84a1d09aa8b | e93c1b520bc573422e46b907532c68d91bcd0218 | refs/heads/master | 2020-06-05T08:31:07.190295 | 2019-06-17T16:08:45 | 2019-06-17T16:08:45 | 192,376,956 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,112 | r | EPC_OAC.R | library(data.table)
library(dplyr)
library(magrittr)
library(ggplot2)
# just select PCS and current energy efficiency columns
epc <- fread("./99_New_Data/05_The_EUC_data/epc_full_clean.csv", na.strings = c(" ", ""), select = c(4,8))
# just select postcode and OA code
NSPL <- fread("./99_New_Data/NSPL_MAY_2018_UK/Data/... |
cd8d9e2ef0f0b6e98c8c73340092d80956cc114f | c54f442cb02f4ec3845ddc9c36294cfc7a84b30d | /code/pilot/nc/01_geocode.R | 9afea8dee03e2cb1be85874229719cb12ad7dec0 | [] | no_license | ktmorris/blm_turnout | ba8a24bc28fb0e08a49ac16d978a925ab59de39b | 7211f01c197a73182acd8bdbcb541a0fa470da6f | refs/heads/master | 2023-07-03T23:02:59.440156 | 2021-08-04T14:29:35 | 2021-08-04T14:29:35 | 315,758,514 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 853 | r | 01_geocode.R |
roll <- fread("E:/rolls/north_carolina/roll_full_20210101.csv",
select = c("county_desc", "voter_reg_num", "ncid", "status_cd",
"voter_status_reason_desc", "last_name", "first_name", "midl_name",
"house_num", "street_dir", "street_name", "street_type_cd",... |
cb107ae54d7a7b805f4e267dcbfef1e03f0e57bf | cfa49ce0eaf2f77fc403ea72521eef30f975a1ce | /tests/testthat/test-get_wormsid.R | e8649c17f900c516a8a7b243814438b033312974 | [
"MIT"
] | permissive | vanearranz/taxizesoap | a03f00c691d3189c84fe5ab33eb0ea8a5b85c188 | ba1dc20d76e0e7ad6c69c674a5ce6e943c5a3ca2 | refs/heads/master | 2021-10-07T16:46:25.821098 | 2021-06-01T21:53:11 | 2021-06-01T21:53:11 | 224,568,757 | 0 | 0 | NOASSERTION | 2019-11-28T04:19:04 | 2019-11-28T04:19:03 | null | UTF-8 | R | false | false | 906 | r | test-get_wormsid.R | context("get_wormsid")
test_that("get_wormsid basic usage works", {
skip_on_cran()
aa <- get_wormsid(searchterm = "Salvelinus fontinalis", verbose = FALSE)
expect_is(aa, "wormsid")
expect_is(aa[1], "character")
expect_equal(length(aa), 1)
expect_equal(attr(aa, "match"), "found")
})
test_that("get_wormsid... |
7ac3ba80420a626511749127533a2a13df75e85c | 8f058b2d07c414246eaef2530dbaafd39cac7452 | /dq5-people3-diversity-inclusion-maeva/shinyapp/ui.R | c33500cc2669f701552f990c679a7d7673e99901 | [] | no_license | zylstraa/People3Diversity | 9f4ddb246bd59b5435be973aa58623f1ce5bcf0f | ada548a3e787cfdd9339d812fb9d28239dac0621 | refs/heads/main | 2023-06-27T08:04:44.013653 | 2021-07-16T14:53:19 | 2021-07-16T14:53:19 | 365,837,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,354 | r | ui.R | # All libraries are imported in global.R
# Source codes that defines the Home Page
# homePage variable is defined here
source("pages/homePage.r") # -> homePage
# Source codes that defines the Analysis Page
# analysisPage variable
source("pages/analysisPage.r") # -> analysisPage
# Source codes that defines the Age Pa... |
6ca870d151a5cfce2363ad5cea6abcc88819019c | 3a13e815d25ac2a82b41a918dfb973d96d5b98ab | /R/imlplots.R | 26f855140e8384825162c8ea7eaa14d109d54b12 | [] | no_license | slds-lmu/imlplots | 6ddf32d966be17b83a17d826c418165347f90080 | cccff1609aae1b72df1a0709f060414c4364c601 | refs/heads/master | 2021-10-23T19:47:50.329478 | 2018-09-19T10:27:31 | 2018-09-19T10:27:31 | 128,178,323 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,937 | r | imlplots.R | #' Interactive Plots for Interpretable Machine Learning
#' @description
#' The function \code{imlplots()} creates an interactive shiny based dashboard
#' for visualizing the effects of statistical models.
#' The utilization of mlr (Machine Learning in R) is necessary.
#' For more infos go to \url{https://github.com/mlr... |
d8143725270eadc29514464bd6190d686e429bdf | c76d2e7847ce3b2a875d962678de6538ffffecf9 | /man/multiplot.Rd | a8804b76fecfb744a8421775b4743745bb288b83 | [] | no_license | sbujarski/SpPack | 67b54e11a20f7bd33813f2cd1b963c08f277e6f2 | c4365a8835783ce1b7efca421dc21fcf039972d4 | refs/heads/master | 2022-12-15T13:37:13.253135 | 2020-09-20T01:32:54 | 2020-09-20T01:32:54 | 112,982,817 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 632 | rd | multiplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multiplot.R
\name{multiplot}
\alias{multiplot}
\title{Printing Multiple Plots in Grid}
\arguments{
\item{...}{Series of plots}
\item{cols}{number of columns (defaults to 1)}
\item{layout}{specifiable layout}
}
\description{
Computes the dat... |
95e7391c1562e5d907a6009d6ff7e68cd6afcc9d | 70a2ee912d76d6686aa461f1ae1059abfa589599 | /man/run_simulation.Rd | 0c03165a725197018ab20588d7d7018612a280fe | [] | no_license | jiyingz/clinicalMPI | fa497f468880ef792c8c28e642e6a98411072990 | 0f92d15a9ae9a15cccd50f84a05ac998052ea2da | refs/heads/master | 2023-08-03T08:36:45.745238 | 2021-06-02T22:12:08 | 2021-06-02T22:12:08 | 263,835,191 | 0 | 1 | null | 2023-07-22T18:50:43 | 2020-05-14T06:35:24 | R | UTF-8 | R | false | true | 4,118 | rd | run_simulation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run_simulation.R
\name{run_simulation}
\alias{run_simulation}
\title{Run Simulation}
\usage{
library(stats)
true_probs = matrix(data = c(0.95, 0.0, 0.05,
0.5, 0.4, 0.1,
0.2, 0.65, 0.15... |
804e644655b3552679c0b629e063081b9574ddf3 | 5cb2f48f447529cb8beea212395dd661182258c8 | /01-r-basics/demo-speed-vector-loop.R | 95ceba67479131ce23dd964a1c2b8db98f36af19 | [
"CC0-1.0"
] | permissive | etnetera-activate/r-minicourse | 44013056cbd8573e38bc27d8bf4724e3bf33f1b0 | 91998bc638a0ba902a8c6188fc03e43bba4f97d8 | refs/heads/master | 2021-06-27T01:52:30.832342 | 2020-10-30T12:30:03 | 2020-10-30T12:30:03 | 42,094,789 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,169 | r | demo-speed-vector-loop.R |
#srovnani vykonu vektorove operace a operace provadene cyklem
#pripravime si funkci pro mereni doby behu funkce (neni nutne - takova existuje, ale je to demo)
zmer <- function(x,fun) {
t1 <- as.numeric(Sys.time())
fun(x)
t2 <- as.numeric(Sys.time())
return(t2 - t1)
}
#funkce vektorove
vektorove <... |
452c89e90d34621ab39c62a350bede7fc93dc923 | a329d887c850b4dabe78ea54b8bf3587136f7571 | /tests/testthat/test_data.R | fb33326c361316f9a16ffdf6d1e5566200fcf71f | [
"MIT"
] | permissive | mllg/compboost | 2838ab72b1505305136fa8fbf752a62f886303ec | f493bb92050e27256f7937c82af6fa65e71abe67 | refs/heads/master | 2020-04-06T09:45:45.958662 | 2018-11-13T09:53:05 | 2018-11-13T09:53:05 | 157,355,755 | 0 | 0 | NOASSERTION | 2018-11-13T09:39:14 | 2018-11-13T09:39:13 | null | UTF-8 | R | false | false | 637 | r | test_data.R | context("Data works")
test_that("data objects works correctly", {
X = as.matrix(1:10)
expect_silent({ data.source = InMemoryData$new(X, "x") })
expect_silent({ data.target = InMemoryData$new() })
expect_equal(data.source$getData(), X)
expect_equal(data.source$getIdentifier(), "x")
expect_equal(... |
e4f9d2cb85fef2ab0b256675a67938e1027337b4 | 69c09257bdf31c54ec9897a15b28d931212591cf | /R/SamplePopulation.R | 1a4a6c99dcfc8433eb2b693e60ab9b3b140aeb0b | [] | no_license | ohdsi-studies/SmallSampleEstimationEvaluation | 9a503cf67bd5c502e27435074f0d78c41dab70ba | 881d9d81b456ed20dbe2e28a98361ca715e305d9 | refs/heads/master | 2023-07-23T11:35:47.458471 | 2023-07-14T13:12:00 | 2023-07-14T13:12:00 | 318,160,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,985 | r | SamplePopulation.R | # Copyright 2023 Observational Health Data Sciences and Informatics
#
# This file is part of SmallSampleEstimationEvaluation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www... |
0d16cf056c42571643e197844088df0d19775407 | 39f4df1f5c2faadbdf366d65ede30aa5edba3497 | /man/writeCSV.Rd | 325acee47d909a369a6d657b3381e5c269cf9e68 | [] | no_license | cran/kutils | a19c69b6730548aa849ca841291d95de92dd3863 | 53ada7e4308f456a0a109955ecfd9122f6263aba | refs/heads/master | 2023-07-10T17:11:29.010416 | 2023-06-26T21:40:02 | 2023-06-26T21:40:02 | 77,183,151 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,307 | rd | writeCSV.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{writeCSV}
\alias{writeCSV}
\title{Write CSV files with quotes same as MS Excel 2013 or newer}
\usage{
writeCSV(x, file, row.names = FALSE)
}
\arguments{
\item{x}{a data frame}
\item{file}{character string for file name}
\item{... |
dee391f156a7689e31c93d6da5726adc941f153e | 7a0cc1a29da34a761327a45f506c4b097cd33bd8 | /man/MassPool.Rd | 682bba039f274d0008a7747ae732c2270eb63e29 | [
"CC0-1.0"
] | permissive | USFWS/AKaerial | 3c4d2ce91e5fac465a38077406716dd94c587fc8 | 407ccc5bf415d8d5ed0d533a5148693926306d27 | refs/heads/master | 2023-07-19T22:04:12.470935 | 2023-07-14T19:50:31 | 2023-07-14T19:50:31 | 254,190,750 | 0 | 1 | CC0-1.0 | 2023-07-14T19:50:33 | 2020-04-08T20:14:41 | R | UTF-8 | R | false | true | 1,110 | rd | MassPool.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MassReport.R
\name{MassPool}
\alias{MassPool}
\title{Pool data from multiple observers across all MBM surveys where appropriate}
\usage{
MassPool()
}
\description{
MassPool will selectively apply the \code{\link{PoolData}} function to all kno... |
b27537301ebf37e7252b16ced9b2a1b47f41c31f | 46067bee5b325b74c70d7e4c946ddd90e32844f8 | /Africa_Soil/knn.R | 1967555f1de0e9fa76dc1a11126a3ee1f1b6191f | [] | no_license | mpricope/kaggle | 7a11120155865716c8f230e53a1fc6fd27fceecb | 269eebbe8d2a34caf7a0bd444321863655094a1e | refs/heads/master | 2016-09-05T23:38:14.649838 | 2015-10-31T09:41:14 | 2015-10-31T09:41:14 | 24,673,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,516 | r | knn.R | library(ridge)
library(RSofia)
#load(paste('data/input',p,'RData',sep='.'))
load('data/f.RData')
#usedCols <- c(myData$mNames)
usedCols <- c(myData$otherVars,myData$mNames)
#usedCols <- myData$otherVars
#thold <- list(SOC=0,pH=0,Ca=0,P=0,Sand=0)
#thold <- list(SOC=0.3,pH=0.1,Ca=0.15,P=0.05,Sand=0.3)
thold <- list(S... |
d55da65a086b63ea2a510e68284c21599c54009a | a8959c9bf467ae24e62eadfca114d79b9f2b6239 | /memo.R | 3aecf6d4ade774b64695f201fd149f70377291d2 | [] | no_license | ryushy/R-Training | 44f080832761f4c0ea267e0aeb66ddd4cce5d817 | 632dd9ad866c89f4ab3e10aa5028e01fdf3eccb2 | refs/heads/master | 2022-04-14T11:54:40.965821 | 2020-04-12T14:27:23 | 2020-04-12T14:27:23 | 227,976,555 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 154 | r | memo.R | items = c("stringr","lubridate","jsonlite","readxl","tidyverse")
for (item in items){
print(item)
}
for (item in items){
install.packages(item)
}
|
12caa06ba5828973b3428e25e145fccaa2cda53f | b091f838853235ec8871301346af84de77bf2067 | /R/RcppExports.R | 07516e6ca16c389f9e6f91eff9d6d652c619bc4c | [] | no_license | ypan1988/lapacker | e3cd322ab8976bdd65d8d0c17d6846f58e15b709 | 62e5c30da4a7f369ce16efc0454230fd81147c62 | refs/heads/master | 2020-04-29T02:49:54.446526 | 2019-11-21T22:52:40 | 2019-11-21T22:52:40 | 175,785,075 | 0 | 0 | null | 2019-03-15T09:03:30 | 2019-03-15T09:03:30 | null | UTF-8 | R | false | false | 410 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#'@title Example: using lapacke_dgels
#'@description Solve linear systems using lapacke_dgels
#'@examples
#'## Expected output:
#'example_lapacke_dgels()
#'@export
example_lapacke_dgels <- func... |
89d3f8475991c8edfcb2eabcd4ab8e38c055c8fb | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.business.applications/man/chime_delete_attendee.Rd | f9c9d5565697e6dab0e4898193bfd0157d86daa5 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,002 | rd | chime_delete_attendee.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chime_operations.R
\name{chime_delete_attendee}
\alias{chime_delete_attendee}
\title{Deletes an attendee from the specified Amazon Chime SDK meeting and
deletes their JoinToken}
\usage{
chime_delete_attendee(MeetingId, AttendeeId)
}
\argument... |
dec85196b5f408662805aa56f66eb9d7fb3f3950 | 55491b74836b08710bb23a4ce3a2c13be3d96c9a | /wordsintransition/R/imitation_matches.R | c9adc04d84e2abdb3688a491b9d170e5d699e127 | [] | no_license | lupyanlab/words-in-transition | 2fed5a549694f99921d8ffb52f94802e906e8017 | 7086b9fa57e3739420ef866d3ff23d162ee5ab49 | refs/heads/master | 2021-04-09T17:26:18.262940 | 2017-05-25T12:35:32 | 2017-05-25T12:35:32 | 52,300,498 | 0 | 0 | null | 2016-04-12T05:05:16 | 2016-02-22T19:44:38 | Python | UTF-8 | R | false | false | 698 | r | imitation_matches.R | #' Recode survey type for modeling.
#' @import dplyr
#' @export
recode_survey_type <- function(frame) {
survey_map <- data_frame(
survey_type = c("between", "same", "within"),
# Treatment contrasts
same_v_between = c(1, 0, 0),
same_v_within = c(0, 0, 1)
)
if (missing(frame)) return(survey_map)
l... |
7b9eb8a601528c6aa0b1360a6203e7f155b6c131 | e2960a88261010e9ef8aabdb04f4e2efb9a489d4 | /man/result_names.Rd | b3b09f5f9fe85a468db222a74f41b26252905116 | [] | no_license | const-ae/proDA | 0625f4a697afa2e4dc5ef465523318a66503f9ec | 56615c9c7366e382507a62427d0d80c1d9108a98 | refs/heads/master | 2023-04-15T01:23:21.907625 | 2022-11-01T15:20:16 | 2022-11-01T15:20:16 | 184,236,748 | 11 | 8 | null | 2022-10-02T10:48:50 | 2019-04-30T09:51:48 | R | UTF-8 | R | false | true | 536 | rd | result_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R
\name{result_names}
\alias{result_names}
\title{Get the result_names}
\usage{
result_names(fit, ...)
}
\arguments{
\item{fit}{the fit to get the result_names from}
\item{...}{additional arguments used by the concrete implementa... |
980723f49da4f7355d840ef4afbf959eb0cd4ede | 6f07dccb7e29b191dde05af2c0d7eca21a521c60 | /labwork/dilution_samples.R | 7b69600d8bcf0c379f58eb022c6b1fb209cb983e | [] | no_license | squisquater/bees | 8f0619235cc0c9b126e97d71fa88675ae6384ddb | 0a93371f52528e2f2c2a4c572a3e9e5a5262ee6e | refs/heads/master | 2022-11-29T07:02:59.160548 | 2020-08-11T05:48:35 | 2020-08-11T05:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,523 | r | dilution_samples.R | library(dplyr)
# dilution concentrations
# goal = concentrations of 0.25 to 0.5 ng/uL
# original qubit concentration reads:
x1 <- c(2.94, 4.84, 2.90, 4.25)
x2 <- c(3.01, 1.19, 1.98, 3.03, 1.94, 6.10, 3.48, 4.84, 8.25, 4.69, 5.65, 3.46)
x3 <- c(5.50, 7.20, 5.00, 15.20, 4.93, 7.90, 4.42, 3.84, 11.20, 5.00, 5.95, 6.25,
... |
f234d4c6ce7a45aeb3d41923ca029fbfc712d1b4 | f5920b419edbdc99dc6147e68a4965cbc587167d | /prepare_data.R | dacd420fe68ff928bccd133d4bd32fe6ab58abea | [
"MIT"
] | permissive | dradisavljevic/FootballStatistics | b1f6523c5e95873f2bfa9b697f5fd43cbf46b2c6 | c4093c8009a016f7e11785da2f20ad6f6950efa7 | refs/heads/master | 2020-06-06T07:31:28.125041 | 2019-07-21T09:29:08 | 2019-07-21T09:29:08 | 192,659,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,448 | r | prepare_data.R | GetDateFromString <- function(date) {
# Convert date from string to a YYYY-MM-DD format.
#
# Args:
# date: string value of the date to be processed
#
# Returns:
# Date object in correct format
date <- gsub("\\.", "/", date)
date <- dmy(date)
return(date)
}
CapitalizeWords <- function(words) {
#... |
5ac623dc1663c8de89444ca94c6efe91b7361b0e | 34b1ab46a70fe81143874a40d6493c0254f1e5c9 | /rjags/bugs book/sp2_linreg_with_out_dclone_mixture.R | 41f0745da17c874ffddcf703262d3ac81f2e82d1 | [] | no_license | yama1968/Spikes | 5f974a20812dbd88f789cabf7720826d358f8e76 | 498b0cacfc23627ecee743f012a6fda6451cda7f | refs/heads/master | 2021-06-06T00:33:33.637745 | 2020-11-14T18:49:25 | 2020-11-14T18:49:25 | 29,531,065 | 2 | 0 | null | 2020-11-12T21:13:21 | 2015-01-20T13:29:35 | Jupyter Notebook | UTF-8 | R | false | false | 2,843 | r | sp2_linreg_with_out_dclone_mixture.R |
library('dclone')
library('rjags')
# prepare data
N <- 2000
x <- (1:N)/N
set.seed(1234)
epsilon <- rnorm(N, 0, 0.1)
outliers <- rnorm(N, 0 , 1) * rbinom(N, 1, 0.05)
y <- 2 * x + 1 + epsilon
z <- y + outliers
# model
m <- NA
cluster <- NA
chains <- 4
nodes <- 4
cluster <- makeCluster(spec = nodes,
... |
06b1083a97ac87eab1efc570b1af6c9413b6dfba | 1785ec29e940032068233d4ab160220c1eb02e38 | /syn-diversity/tidyData.R | ee32a761d1000e4b4765a7e6c307ccc11ca25037 | [] | no_license | Upward-Spiral-Science/data | bc374c0a24dcaad2a69158b8bf6326c6317aced6 | 135d683207334d4f405de53fa505c9f3ad809e4a | refs/heads/master | 2021-01-10T15:21:54.114367 | 2016-11-21T17:31:18 | 2016-11-21T17:31:18 | 51,005,215 | 0 | 3 | null | 2016-11-21T17:31:18 | 2016-02-03T14:33:34 | null | UTF-8 | R | false | false | 2,544 | r | tidyData.R | ###
### This script takes the data set and creates tidy dataset
### in RData and csv formats.
###
### Jesse Leigh Patsolic <jpatsol1@jhu.edu>
### 2016
### S.D.G
require(data.table)
feat <- fread("synapsinR_7thA.tif.Pivots.txt.2011Features.txt",
showProgress=FALSE)
loc <- fread("synapsinR_7thA.tif... |
82d99539bbaada68e5b91af83faf5c5291e4626a | 38cddc874cf10f65b6bd93e410582b9c17c8b2da | /_drake.R | 6a63f8ce5688aed588693d555046fae3e4175caf | [
"MIT"
] | permissive | the-Hull/2019-feature-selection | 2dea0f0c37d83b1324b53715d2da1691185259ed | e64808007a6961a72cd2b73142acbb9ac11fc3ed | refs/heads/master | 2021-04-05T14:26:08.056114 | 2020-03-16T09:04:11 | 2020-03-16T09:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,185 | r | _drake.R | # load packages ----------------------------------------------------------------
source("code/99-packages.R")
library("drake")
library("magrittr")
suppressMessages(library("R.utils"))
# load mlr extra learner -------------------------------------------------------
source("https://raw.githubusercontent.com/mlr-org/m... |
ab1f4821a93318b4a0eae12d6acd673a3e3a90dc | bd0fb3536e67f94f44b1a534d0e67208f1afa90d | /metabolics/result_analysis/post_glmnet_result_subset_transctips.R | 2fb2fa447a7406cef669a91fdf30968f3896e4ff | [] | no_license | csbio123/stat_learning_code | d3a4d1f7f63ad148f74fdfc0c181c2a7caf9d2d2 | fc353ef9568b1c2ef7f1bee690c055399bbf15be | refs/heads/master | 2018-09-22T23:50:15.119031 | 2018-07-07T09:44:10 | 2018-07-07T09:44:10 | 111,194,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,873 | r | post_glmnet_result_subset_transctips.R | #P value analysis conrad
pval_anal<-function(path, top=0, type, all_genes_names){
filenames <- list.files(path, pattern = "pvalues*", full.names = TRUE)
files = sapply(filenames, read.csv, sep="\t", simplify = FALSE)
p_value_results = do.call(rbind, files)
positive_freq = table(p_value_results[c("Genes","pos... |
e05a2ea1788dffbf7e153c8863dcb4893a7a16ae | 18666d876d23e05ab7b365adb01755ded173c071 | /Cluster_Analysis.R | 51998bdbd96b3d45eb7ccad3a10e7f063112f991 | [] | no_license | Allan-pixe/Cluster_Analysis | 8f01f69c2d44ac115f6ea2e9a50d4e73ac3f7db9 | c5cd96ce7d20911673a6bc0228151bc3c2379357 | refs/heads/master | 2021-09-15T01:30:06.175882 | 2018-05-23T12:35:27 | 2018-05-23T12:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,763 | r | Cluster_Analysis.R | #install packages
install.packages("Rserve")
library(Rserve)
Rserve(args='--vanilla')
# set WD
setwd("~/Desktop/Pharma_Hackathon")
# import the dataset
cosmetics = read.csv("pharma2.csv")
# Observe the dataset
str(cosmetics)
# Subset the products sold/profit/profitmargin data
sold = cosmetics[,c(2,9)]
profit = cosm... |
d5151bc93f0cbf9730c64c7485d6a9f6979e77e0 | 09be257589c57f0b2c031cfaf2bcb52767dad40a | /R/make-newdata.R | 058820e458af27de70d29b3283710a7546218633 | [
"MIT"
] | permissive | adibender/mgcvtools | f0591ec98c0c3882dfa9bd5586c59f8642dacbbd | 77cc237b6a5a62521939a956c2db3dea614592e8 | refs/heads/master | 2021-03-30T17:01:52.090147 | 2019-01-04T12:31:10 | 2019-01-04T12:31:10 | 75,950,156 | 0 | 1 | MIT | 2019-01-04T12:31:11 | 2016-12-08T15:29:32 | R | UTF-8 | R | false | false | 5,044 | r | make-newdata.R | #' Extract information of the sample contained in a data set
#'
#' Given a data set and grouping variables, this function returns mean values
#' for numeric variables and modus for characters and factors. Usually
#' this function should not be called directly but will rather be called
#' as part of a call to \code{make... |
f7636ee33f6aa6c0abb18a78cec37b827d70fe4b | 7a3176649ff51c775607d290fa6b929e8c327521 | /LogisticRegressionCalculateMetrics.R | 8c1cbdd24955bf956a3e22230717bd28a0422412 | [] | no_license | Santosh-Sah/Logistic_Regression_R | bf5cf73af20196992ebe9ea8620ebf1f6821e93f | 0b88169ff7db1d65c811eaf306384d481d4afc07 | refs/heads/master | 2022-06-04T17:09:11.209157 | 2020-04-30T16:02:02 | 2020-04-30T16:02:02 | 260,256,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | LogisticRegressionCalculateMetrics.R | source("LogisticRegressionUtils.R")
#reading LogisticRegression model
logisticRegressionModel = readRDS("LogisticRegressionModel.RDS")
#reading testing set data
logisticRegressionTestingSet <- readRDS("LogisticRegressionTestingSet.RDS")
#reading predicted values of the testing set
logisticRegressionPredictedValuesFo... |
a117bdd82816b94f2a7af46c3cad239af882143a | ea3435d66f8cbebb4a46981386f5afe3b67e4d00 | /man/ordinal.Rd | b14a383d511a32ecf6cd1d64ea82d873c91733eb | [] | no_license | ramnathv/intellidate | 0ae1eb4c4514513a9af91b6dc7eec56bdbe00641 | 497df967e67d7f691721b162fe169503abc21519 | refs/heads/master | 2020-06-02T05:13:47.819698 | 2011-12-15T15:04:42 | 2011-12-15T15:04:42 | 2,976,112 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 214 | rd | ordinal.Rd | \name{ordinal}
\alias{ordinal}
\title{Converts a number to its ordinal equivalent (e.g. 12 => 12th)}
\usage{
ordinal(number)
}
\description{
This function is a port of the ruby code at
http://goo.gl/JTZCm
}
|
ffdf3610d012e60280e13868ab99df7cdf581eb1 | d1e5a7fef70b4b01b8fb5dca666d872edf792f8f | /tgExplore5.R | 2007ac9027e064b36faba3b6edcd12262f821466 | [] | no_license | gking2224/StatInfCourseProject | fba1de5408340a840cb0f317517313bba8bd62a6 | 79291bb3336f87b4ee51713c32ea8bb0f1b126bc | refs/heads/master | 2020-03-30T22:53:25.690052 | 2015-02-01T22:40:57 | 2015-02-01T22:40:57 | 28,970,644 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 120 | r | tgExplore5.R | ## @knitr tgExplore5
g5 <- ggplot(data = ToothGrowth, aes(x = len, fill=supp, shape = dose))+ geom_density()
print(g5) |
fdef0d56f8afc98527e04550697f3c37e5973237 | 45f6da0f2c07e2fb4e8e13a510653630216c00eb | /Code/Other/stationaryIntergrated.R | 13185157c594443ac910fa15815c0462b1897222 | [] | no_license | arijoh/DataDrivenForecastModels | b13cd87bbc781c76290d58bd0ea5dbcd179f0f12 | 5926ca3fb47b5cd280c994017f6fc28cc59011e9 | refs/heads/master | 2023-02-09T07:00:04.460417 | 2021-01-03T18:22:38 | 2021-01-03T18:22:38 | 283,324,215 | 1 | 0 | null | 2020-12-10T02:13:00 | 2020-07-28T20:47:16 | null | UTF-8 | R | false | false | 471 | r | stationaryIntergrated.R |
t <- 100
x <- e <- rnorm(n = t, mean = 0, sd = 1)
for (t in 2:t) {
x[t] <- x[t - 1] + e[t]
}
par(mfrow=c(1,2))
setEPS()
plot.ts(x, xlab="Time", ylab = "Y(t)", main = "Random walk, I = 0", cex.main=1)
plot.ts(diff(x), xlab="Time", ylab = "Y(t)", main = "Random walk, I = 1",cex.main=1)
postscript(file = "../Figur... |
a013261f728cdb03ea719176c2bc25522795eea3 | f7c205369b307ef300fabbeb59bfd9043c73bad8 | /pl3 h.R | 744c72fa928e33c51f0d75316690705a793ef32a | [] | no_license | b62ropaa/R | 26ba444f38cd00ef9ab7ee33692df00d662e92ca | 218fa8327a8bb234fc4b47e2b3951b7a39da8a6b | refs/heads/master | 2020-04-13T03:20:36.251013 | 2019-09-09T10:54:14 | 2019-09-09T10:54:14 | 162,928,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 147 | r | pl3 h.R | #ejercicio para poner la tabla de multiplicar de un numero introducido del 1 al 9
t<-scan()
for (i in 1:9){
l<-t*i
cat(t,"*",i,"=",l,"\n")
}
|
93a5da9d11da6bfa17e14d0217fd199a530fc2e6 | 57daf5402daf6b34a8ca4a23298eb837169e54e4 | /ch3/3-2-3.R | 0c73354696776905dd1293432a92815703931336 | [] | no_license | albertgoncalves/rethinker | 9c0e15553fa1f3e7723f129648492c091e57dcb2 | 2dd3c01dfc314097b7cb32102d11b66a056b56c0 | refs/heads/master | 2020-04-13T13:53:54.231916 | 2019-06-08T13:21:34 | 2019-06-08T13:21:34 | 163,245,793 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 749 | r | 3-2-3.R | #!/usr/bin/env Rscript
source("../src/rethinking.R")
source("3-1.R")
loss_f = function(posterior, p_grid) {
f = function(d) {
return(sum(posterior * abs(d - p_grid)))
}
return(f)
}
if (sys.nframe() == 0) {
n = 25000
nn = 10000
p_grid = seq(from=0, to=1, length.out=n)
prior = rep(1... |
49a4640b70bb435a3d7345b533333c76dff1d122 | 9c63e407b9aa6083d4c83202e82c90a9224b99a4 | /brouillon.R | f030c13245b45a77ed914cd6b7bb944a84100498 | [
"MIT"
] | permissive | AnisBouhadida/MedEnviR | 5f6f24128ce65ba25c2acaf1df761adf6aa575e8 | 20c82392c4afad2587b6c503ff71946f25d1d462 | refs/heads/master | 2020-04-12T17:01:11.856268 | 2019-01-08T15:48:59 | 2019-01-08T15:48:59 | 162,631,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,834 | r | brouillon.R | # rechercher doublons
test0 <- duplicated(data_dechet)
length(test0)
for (i in 1:length(test0)){
if(test0[[i]]){dup<-TRUE } else {dup<-FALSE}
}
######
skim(data_dechet)
data_dechet <- na.omit(data_dechet)
data_dechet_clean <- data_dechet[complete.cases(data_dechet),]
skim(data_INSEE_clean)
data_INSEE_clean <- dat... |
3bff4373f2f1bc965ad39a1341391f2cd3f8d431 | 7d32ff022cf3cb5a5fdc3bb33556956bc54f4555 | /propernoun_based_scoring.R | 2a69143e9734fcf9ec89095e10203b20a20d0a97 | [] | no_license | shashankgarg1/text-summarisation | 6388743ef3913f569181489d9ea000568d5a9582 | c4a863a2399f92847ed8aff53c07132e7d16981e | refs/heads/master | 2021-01-22T09:13:11.621721 | 2016-10-03T17:39:24 | 2016-10-03T17:39:24 | 69,893,545 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,998 | r | propernoun_based_scoring.R | propernoun_based_scoring<-function(corpus, qwerty){
print("propernoun_based_scoring")
OriginalDocument <- as.String(corpus[[qwerty]])
a1 <- annotate(OriginalDocument, Simple_Para_Token_Annotator(blankline_tokenizer))
a1 <- annotate(OriginalDocument, Maxent_Sent_Token_Annotator(), a1)
a1 <- annotate(OriginalDocument, M... |
fb8ed1fe397363343d34c429d231c14b32cc7257 | 35bfba0d62c8bd5497e9ad68d587ba4496331182 | /scripts/validation/Verify_Forecast_SPI12_case_studies.R | 2c3d3812eafc52dd256bf5f6f5e7d5fd357a78a6 | [] | no_license | marcoturco/DROP | 14469e39eae5827ddc28c3403122a26b32c2d5d2 | 445bb86879a967cc8cb4af1a828218d045ce14e7 | refs/heads/master | 2022-07-07T10:26:11.037488 | 2020-05-18T17:06:03 | 2020-05-18T17:06:03 | 235,117,037 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,434 | r | Verify_Forecast_SPI12_case_studies.R | rm(list = ls())
graphics.off()
gc()
library(sp)
library(maptools) # loads sp library too
library(RColorBrewer) # creates nice color schemes
library(classInt) # finds class intervals for continuous variables
library(fields)
library(maps)
library(s2dverification)
source("/Users/marco/Dropbox/estcena/scripts/BSC/R/commo... |
c73c555594ce1d1219883ea824eaf392df46c6b5 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /st_gpr/st_gpr_core_code/stgpr/r_functions/utilities/db_tools.r | 1e689c8797e904618a290b9689118a1cb0d6f0db | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,882 | r | db_tools.r | ###########################################################
### Author: Patrick Liu
### Date: 1/26/2015
### Project: ST-GPR
### Purpose: Database utility functions
###########################################################
###################
### Setting up ####
###################
library(data.table)
library(stringr... |
df1f0a38b0d84b3af7656e1e5e6f129723ddb877 | 73424cecc7c40787af4abd1c39704acea6f4d35a | /server.R | df3aeb8f473cd6a385de62035c3639f24073eba6 | [] | no_license | gu-stat/dadoscoronavirus | baa4536ca21533321ad9275a75e17ff2d6ffd010 | 1338bf6f1e85c2d2209bd14b9fde9e16f6957599 | refs/heads/master | 2021-10-21T11:23:50.148634 | 2021-10-20T21:55:29 | 2021-10-20T21:55:29 | 251,186,609 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,615 | r | server.R | # ************************************************************************* ----
# Server ----
# ************************************************************************* ----
function(input, output, session) {
# |_ Dados =========================... |
20f68b4a3397e8f8c35e83c8962c11cba1aca440 | 0841838ba8723e94b37a1514409a5a9767cbf181 | /SpatialR21_project/code/aim2_analyses/spat21_astmh_visualizations_2019.R | 0ea3968cde3f6a0463625250002ed946fc8e1518 | [] | no_license | kelseysumner/taylorlab | cfa2358b5c552e7853b111de12940983d081de6a | 8801f5d32b7f81f2a66b3efd763cc18c5d35f42b | refs/heads/master | 2021-08-07T03:55:06.004801 | 2021-06-20T21:29:08 | 2021-06-20T21:29:08 | 150,612,627 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 31,466 | r | spat21_astmh_visualizations_2019.R | # ----------------------------------------- #
# Create aim 2 visualizations for astmh #
# Mozzie Phase 1 #
# CSP data #
# October 31, 2019 #
# K. Sumner #
# ----------------------------------------- ... |
f98f7c248dcbf62904cbc04a90ef18439e25ae22 | 83959b9f644e2ed0573e1ccd12332d0ced6781bd | /data_cleaning/CCH2_scripts_data/split_by_herb_PI.R | 27dcf0aad3fd01071abbc47574d971aa8abb336d | [] | no_license | devgamble/nemo_herb | fbf118da36e98d9048a311be0afd609ea83f16f5 | a0c70835093bc4c30ea6179340c7c14f8ed7f731 | refs/heads/master | 2023-01-21T17:48:04.231498 | 2023-01-15T02:14:44 | 2023-01-15T02:14:44 | 227,468,239 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,245 | r | split_by_herb_PI.R | ###############
## Splitting up georeferenced records by herbarium for PI scoring (CCH2)
###############
#
#Using the georeferenced data sheets with lat/long=NA observations removed, split up the data by herbarium for Phenological Index scoring
#Load Packages
library(stringr)
library(magrittr)
library(tidyverse)
libr... |
0ddf9c66fe9e96a611f338ca2d8bcada93402782 | 82fbaf71a21ccf576369d2a61a7f1458a4f4c4e2 | /split_code.R | 872e0a1d698418535510792a14c5d73ef3b74ed9 | [] | no_license | denohora/myRtricks | f18dea0b264dbe627d47459baf4b80bea12fd993 | 5f01b5e91430443a5cb63223c6c5825c458fae35 | refs/heads/master | 2023-07-07T20:54:21.404592 | 2023-07-04T14:58:16 | 2023-07-04T14:58:16 | 121,754,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 156 | r | split_code.R | split.code <- function(text, split, output = "All") {
if(output == "All") unlist(strsplit(text, split) )
else unlist(strsplit(text, split)) [output]
} |
d64bbdf91d978f6aff5418b48a8a741da95c9c9f | 3ad3ce5f38d636b649abd6e2e8741d482d8f6d72 | /man/Genewise.Rd | 3ef97ec4e8cc9be3a5a236fd01e47c4e2c2719b4 | [] | no_license | cran/pubmed.mineR | 279ce024df5b7913885ec96ad906226aa78633ce | 7612a2d68f503794f8dee8479e8b388949e4b70d | refs/heads/master | 2021-12-09T18:39:44.578225 | 2021-11-26T14:50:03 | 2021-11-26T14:50:03 | 17,919,888 | 5 | 6 | null | null | null | null | UTF-8 | R | false | false | 985 | rd | Genewise.Rd | \name{Genewise}
\alias{Genewise}
\title{To Search the number of abstracts for Genes}
\description{\code{Genewise} reports the number of abstracts for given gene(s) name(s)}
\usage{
Genewise(object, gene)
}
\arguments{
\item{object}{An S4 object of class Abstracts}
\item{gene}{a character input of gene name... |
7a31da2829f59e8a0073a5e64f8bb3fb05e0b2e1 | 42c19dd6b25367211b2ebd27536ad19d0f8d79b3 | /R/generate_data.R | e9e30edfbdb809241c4970d67ea3bb50d522853b | [
"MIT"
] | permissive | StevenGolovkine/simulater | 610bbdce545cbbe0bbfcacb8148740c4d0da78e3 | 26b50620d520e4a27867cd0ec7859a587212c30e | refs/heads/main | 2023-04-10T22:40:48.219961 | 2022-03-19T17:10:02 | 2022-03-19T17:10:02 | 386,667,875 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,313 | r | generate_data.R | # -----
# Generate some data
# -----
#' @title Generate realistic datasets
#' @description This function generates realistic irregularly sampled functional
#' dataset given mean and covariance functions.
#'
#' @param n Number of curves to generate.
#' @param m Mean number of observation points per curve.
#' @param mo... |
865109760b022b0429b2ce9930e7b2d088d131a4 | aeaa6e8300c98130b981887c4f7c317563d64cfc | /eu.R | 5783c65d93d4f8bb2eea9dac14ab8f2071fcf16e | [
"Apache-2.0"
] | permissive | vz-risk/veris_scripts | e6ef83c40c8ab6b6dc99d6ce1bcf920c82f2847c | a73f2eb85baa3b519098608990781dd00dd66909 | refs/heads/master | 2020-12-29T02:34:35.530443 | 2016-02-13T01:20:33 | 2016-02-13T01:20:33 | 39,145,471 | 12 | 5 | null | null | null | null | UTF-8 | R | false | false | 3,704 | r | eu.R | DESCRIPTION <- "Data Amount, Actions, and Attributes for EU states from 2013 back."
# Set static variables
data <- "./data-full.rda"
countries <- c('victim.country.AT',
'victim.country.BE',
'victim.country.BG',
'victim.country.HR',
'victim.country.CY',
... |
893413ca0ffd82f38bb23211c6765ba8ac4cb540 | 28c70d7950a6e34b8670501873b990736f3cba5e | /dSMFseqAnalysis_1aln.R | 90be23c8260b75fc31a8432bde64581971dfd2ff | [] | no_license | jsemple19/20170323_dSMF_N2 | b388486b55a9776f558edabdfbe8eea96ac7bebf | cd30a994d75fa9085d674cf23a0e3d0729ee1163 | refs/heads/master | 2020-12-06T19:16:41.683528 | 2017-06-27T13:02:13 | 2017-06-27T13:02:13 | 95,531,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,281 | r | dSMFseqAnalysis_1aln.R | library(QuasR)
library("BSgenome.Celegans.UCSC.ce11")
# collect citations for packages used
packageBib<-toBibtex(c(citation("QuasR"),citation("BSgenome.Celegans.UCSC.ce11")))
setwd("~/Documents/MeisterLab/sequencingData/20170323_dSMF_N2/dSMFseq_scripts")
source('./callAllCs.r') #to call all Cs
source('./useful_funct... |
bb783120bde512d5e1ee885e7055bffbf7545474 | 29585dff702209dd446c0ab52ceea046c58e384e | /modeest/R/asselin.R | 2f913c768795e33f679bc03fb860f19248b6d7c3 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,864 | r | asselin.R | # Author : P. Poncet
#! regarder la fonction na.contiguous, je crois qu'elle fait exactement ce qu'il faut...
asselin <-
function(x,
bw = NULL, # bw = 1 donne une chaine modale longue, bw < 1 est plus sévère
...)
{
if (is.null(bw)) bw <- 1
nx <- length(x)
kmax <- floor(ifelse(nx ... |
4b92ff31357af26270dcc4cd5f96e2c06d8859ba | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/orientlib/examples/vector-classes.Rd.R | a1b03038f8b2488f4684888d798d946f97bb4768 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 326 | r | vector-classes.Rd.R | library(orientlib)
### Name: vector-classes
### Title: Orientation classes
### Aliases: eulerzyx-class eulerzxz-class rotvector-class quaternion-class
### skewvector-class vector-classes
### Keywords: classes
### ** Examples
x <- eulerzyx(0,pi/4,0)
x
eulerzxz(x)
rotmatrix(x)
rotvector(x)
quaternion(x)
skewvector(... |
908212b38b8d8230f35e7f690b5314f188afe8ca | e86279ca1dd11714fa8008119070fe1f8ffc09a1 | /nhmrcData/man/nhmrcRegion.Rd | 5c45a49d3885ed1ddfcdbcc4d4f6c06f7de76ff2 | [] | no_license | neilfws/politics | ce54fc128bcc9d24e56d253adb8dbc6592a03b8f | f5b97ef18424fd9ecb0738e254c06dc2e74c0dff | refs/heads/master | 2020-07-02T07:52:42.811420 | 2018-09-07T05:02:27 | 2018-09-07T05:02:27 | 74,316,422 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | nhmrcRegion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nhmrcRegion.R
\docType{data}
\name{nhmrcRegion}
\alias{nhmrcRegion}
\title{NHMRC Expenditure by Region.}
\format{Data frame with columns
\describe{
\item{calendar_year}{Calendar year}
\item{state}{State or territory}
\item{value}{Expenditure ... |
caf64ee1e5ac5215dc8ef746898828ac88fc3c9b | 8b79e777c876ef1a24dcbb8c037293d46fd4d653 | /iowa_tweets/Untitled.R | 1c2aba88adb8986cd6f6b425c699d04e66629b60 | [
"MIT"
] | permissive | anjalimbhatt/sicss-culturalvariation | 8bf2148fb373f79b171601d7151e0e8c483a196d | 37839c1fca17b37232c9bef82bc9b895e426b50b | refs/heads/master | 2021-01-17T16:44:08.054507 | 2017-06-30T20:03:39 | 2017-06-30T20:03:39 | 95,474,175 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | Untitled.R | get_our_places <- function(lat, lon, location, radius, apikey, pause_length){
lat = as.numeric(lat)
lon = as.numeric(lon)
MAX_PAGES <- 3
current.page = 1
token = "first"
all.places = data.frame(place.id = NA,
name = NA,
types = NA,
... |
5c124029ca5d41b058f46f40ca1c6971bef95d34 | 1eede178f9f3a065d31fc12eb3393690a09a9a50 | /man/dot-extract_ranger_rules.Rd | d0fdd68b79b7e1bc884b9cc45b32d1b8add87661 | [
"MIT"
] | permissive | Hobbeist/varppRule | 86db8a984ec5cfb319edf93203ea198c0735584c | b1ecc6f188e4d4cfe27b2caeacd449d8783b8d7d | refs/heads/main | 2023-06-24T16:54:30.051550 | 2021-07-28T07:53:57 | 2021-07-28T07:53:57 | 317,065,570 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 492 | rd | dot-extract_ranger_rules.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{.extract_ranger_rules}
\alias{.extract_ranger_rules}
\title{Extract rules from ranger trees}
\usage{
.extract_ranger_rules(rf_results)
}
\arguments{
\item{rf_results}{the results fro mthe ranger tree generation within the va... |
f9a555fdba81d5db0e6a39f8c7fb1cd155667489 | e8fc5fed9ea3cfd8b1cf1d513373ac85c2870e9a | /man/blast_parser.Rd | 60c9c45d0551d432139a8bf37e6f23c75c65c206 | [
"Apache-2.0"
] | permissive | phac-nml/plasmidprofiler | 53c06bcf7175bd3ed8821bb7e91aa08dd53c8145 | 3fb0e7692ffba4521b6bcdcd29f38b065cc2a571 | refs/heads/master | 2022-06-24T03:18:08.374418 | 2022-05-30T18:47:50 | 2022-05-30T18:47:50 | 81,258,002 | 6 | 3 | Apache-2.0 | 2022-05-30T18:47:50 | 2017-02-07T21:49:56 | R | UTF-8 | R | false | true | 691 | rd | blast_parser.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_related.R
\name{blast_parser}
\alias{blast_parser}
\title{Blast Results Parser Function}
\usage{
blast_parser(blast.results)
}
\arguments{
\item{blast.results}{Blast results loaded from read_blast or Global Env}
}
\value{
Blast table wi... |
d52225723466baa965ad6312236c10fe59679485 | c1e70cdcdd6cba2a99b92525523d95742a7cfbd8 | /man/plotPosts.Rd | 950fbcf82a79fc145aee0f817b951e973edbba30 | [] | no_license | luiarthur/rcommon | 5fb2b1d6b1b884111396d699121631c3ad89c288 | 372595270399640670a88a169cc3ed9461c032b7 | refs/heads/master | 2021-06-24T09:12:27.902109 | 2021-01-13T17:19:55 | 2021-01-13T17:19:55 | 69,061,449 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 307 | rd | plotPosts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotPost.R
\name{plotPosts}
\alias{plotPosts}
\title{plot posteriors}
\usage{
plotPosts(M, cnames = colnames(M), ...)
}
\description{
plot posteriors
}
\examples{
M <- matrix(rnorm(1000),ncol=4)
colnames(M) <- 1:4
plotPosts(M)
}
|
60fc7fbe6b9c9edd576c2e9980cb58ad44f7bb1b | 49b5e4e853a5f33934dd6ecfdc529da1d8cae88d | /man/compareTests.Rd | 49de883822ca9dea200b38f61eae372f453e85f1 | [] | no_license | davetgerrard/kanute | c452dfed9650888e1285232a13d2ed6cfa7cdd70 | 5a933db3b52ee448a7c9e081d2019e6827330073 | refs/heads/master | 2020-05-18T12:50:51.185802 | 2015-02-09T16:20:40 | 2015-02-09T16:20:40 | 29,590,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 900 | rd | compareTests.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/compareTests.R
\name{compareTests}
\alias{compareTests}
\title{compareTests}
\usage{
compareTests(x, softwares = names(x), versions = lapply(x, names),
ref.software = NULL, ref.versions = NULL, mapped.tests = NULL,
show.all.tests ... |
09fb6e14a3544bc10e2a3e957b2da3a65c6aac51 | b634345d659f11ee4b8ec617891410f07ffc4819 | /R/colSums.R | a0d778b982014a214324147214f0dbf3eda0c4df | [] | no_license | cran/arrayhelpers | e7f5e6df5d968210a2c31881d050bfa6f4400a96 | c45a11e6828c933306c64daf0e7898d33c22e688 | refs/heads/master | 2021-01-17T14:53:08.472934 | 2020-02-04T15:10:09 | 2020-02-04T15:10:09 | 17,694,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,860 | r | colSums.R | ##' @include arrayhelpers.R
## From base/R/colSums.R
.colSums <- function (x, na.rm = FALSE, dims = 1L, drop = TRUE) {
if (length (dim (x)) < 2)
x <- as.matrix (x)
z <- base::colSums (x = x, na.rm = na.rm, dims = dims)
if (! drop){
d <- dim (x)
d [1L : dims] <- 1L
dn <- dimnames (x)
dn [... |
ef0d09db440c3366121439ffe3af65d028a4ca7d | 0f17bbb804fd000348fb001806216622cf3aae4b | /LT2D/man/round.lik.Rd | b75e4c4ea8f5287da5c2da3655ef6ed72f602081 | [] | no_license | calliste-fagard-jenkin/LT2D-work | 858ec0bdcd3790e4a3d66acc10f40675b0f8dcdd | e1a4c72ab0888ab2f831f8f24b94b58a24f07947 | refs/heads/master | 2022-09-08T04:20:25.201070 | 2022-09-05T12:06:37 | 2022-09-05T12:06:37 | 147,014,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 976 | rd | round.lik.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/2DLTfunctions mixture.r
\name{round.lik}
\alias{round.lik}
\title{negative log likelihood for rounded data}
\usage{
\method{round}{lik}(rounded, pi.x, logphi, rmin, ymax, hr, b, w)
}
\arguments{
\item{pi.x}{character ; user-chosen density mod... |
7be39b0e9b0651b81260d1d3d213592948258b1e | c6fcb9d0c9bd3b243f62eb73a30152f7cd46587f | /man/plotHigherOrderSequence.Rd | 2a6b6f16a062270a8bed9fc1066601dbcc939c07 | [] | no_license | shazanfar/scHOT | e94d30b6bc54b6e05d16d8abf6b06305bc02f0be | b937f48890c3bf81a9ca5a1fcc96376b9b0c013e | refs/heads/master | 2023-06-13T04:36:15.623158 | 2023-05-30T05:35:04 | 2023-05-30T05:35:04 | 235,541,754 | 10 | 1 | null | 2023-05-30T05:35:06 | 2020-01-22T09:43:09 | R | UTF-8 | R | false | true | 2,209 | rd | plotHigherOrderSequence.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scHOT_plot.R
\name{plotHigherOrderSequence}
\alias{plotHigherOrderSequence}
\title{plotHigherOrderSequence}
\usage{
plotHigherOrderSequence(
scHOT,
gene,
positionType = NULL,
branches = NULL,
positionColData = NULL
)
}
\arguments{
\... |
0c9471b75f421954a3065b9b362f01113c3a44d2 | ecc70a299e288f8e918d35e1d224de70584cb3fc | /man/mscale_derivative.Rd | 79dac21e0b7fdb3a72bbb0f324ad5f0993749272 | [] | no_license | cran/pense | 3688619d950a64e9ba63d252397717a807326f51 | 5db123d0f391536b1ba8b659e3103f9601342eb9 | refs/heads/master | 2023-02-18T19:27:26.789833 | 2023-02-07T07:12:32 | 2023-02-07T07:12:32 | 108,246,999 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,337 | rd | mscale_derivative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{mscale_derivative}
\alias{mscale_derivative}
\alias{max_mscale_derivative}
\alias{max_mscale_grad_hess}
\title{Compute the Gradient and Hessian of the M-Scale Function}
\usage{
mscale_derivative(
x,
bdp = 0.25,
order =... |
617c44bd7a67198f5c8f6c96c06da49a92a7ead6 | f317887c7d83e62235ba2cf19065dcef9244f645 | /R/add_refmark.bare.R | a2fc11c1deebcdca6bf4101e393ddac44706a1c0 | [] | no_license | rrprf/tablesgg | 3fec64842266f8a7f28e29899d31c673b5dad09c | 1a60f894869326b34eff1804c9378a1c05e78a79 | refs/heads/master | 2023-05-07T14:12:05.102317 | 2021-06-03T14:45:34 | 2021-06-03T14:45:34 | 318,291,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,088 | r | add_refmark.bare.R | #===== Source file: ../add_refmark.r on 2021-06-02
#-----
add_refmark <- function(text, textspec, mark, side, raise)
{
stopifnot(length(textspec) == length(text))
is_math <- (textspec == "plotmath") # text already includes plotmath
is_mkdn <- (textspec == "markdown") # text already includes markdown/HTML
is_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.