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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b782e56be49e9d3a96a591448575634fed19aaa6 | 6f720f61a5cb26de1d70ce3a191779216a3b89ff | /Replication Files for Why Does the ANES Overestimate Voter Turnout/useSampledExport.R | e55c071be0cee5324f7b44a41ad1d21469e5d1a2 | [] | no_license | bspahn/ANES-Research | 4deeaec218b186a3b99eaad00490d30f319101f0 | ecd39e0d8a6bcaeb2a08770521d213cab41d9641 | refs/heads/master | 2020-04-03T09:58:29.031274 | 2018-10-29T08:54:59 | 2018-10-29T08:54:59 | 155,180,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,404 | r | useSampledExport.R | ##############################################
## make data set for individual-level analysis
##
## simon jackman
## july 2014
###############################################
library(stringr)
###############################################
## this is a household level attribute
sdata <- read.delim(file="sampexp_nodup... |
f5afed3aa8b24443c51197a52004d845b0e484b7 | 421366a39299a1a82bd0f2a42e667da7fc602b62 | /man/DateAfterReachValue.Rd | 5e045f912050cbb03287355c52e24d73c7b4162e | [] | no_license | thomasferte/PredictCovidOpen | 363ef4cc9006696d5fa16c2ac4bdf9b58882a476 | 2468b0006a6f19310a9f8c7de6aa46979f19d627 | refs/heads/main | 2023-03-17T19:28:52.863817 | 2023-01-26T09:51:38 | 2023-01-26T09:51:38 | 496,952,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 493 | rd | DateAfterReachValue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DateAfterReachValue.R
\name{DateAfterReachValue}
\alias{DateAfterReachValue}
\title{DateAfterReachValue}
\usage{
DateAfterReachValue(value, df, feature, date = "START_DATE")
}
\arguments{
\item{value}{A numeric value}
\item{df}{a dataframe}
... |
47230892170778db750bbcb155d4f77855ece87f | a83c07192848b855e2324cb59ee7c289b6ac76fc | /programs/master.R | af2302bfafb08d8437162309788f3a50f9035c3d | [
"MIT"
] | permissive | michaelkotrous/daedalus | 1ca27b9998020848f6ec5510a5b7b16b4d563ac4 | 445160040e12dbf976f4e1638fed77a3ab9bd706 | refs/heads/master | 2020-12-30T12:11:45.247015 | 2019-02-26T19:02:07 | 2019-02-26T19:02:07 | 91,404,794 | 1 | 1 | MIT | 2019-02-26T19:02:09 | 2017-05-16T02:24:16 | R | UTF-8 | R | false | false | 892 | r | master.R | # Set working directory to match path to daedalus project
setwd("/path/to/daedalus")
# Create directory to write output if it does not exist
dir.create("exports", showWarnings = FALSE)
# Run R scripts to load and clean NTSB dataset
source("programs/config/settings.R")
source("programs/config/data-cleanup.R")
source("... |
3dc0c25f08045828618b4fa9176f6064ac68a8a2 | e1816403b93f741a38b58263bac160971ea28ef4 | /R/get_bid.R | 475d59c97085dd5438d0debc77d3c2fb88c1e1be | [] | no_license | elmstedt/autograder | 53cce0cb69669c0f112221e14fe71531b1e40595 | b1ca92c776090212085429dbdc781e5292a3f34a | refs/heads/master | 2021-05-23T15:02:27.756454 | 2020-05-03T10:49:34 | 2020-05-03T10:49:34 | 253,351,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | r | get_bid.R | #' Title
#'
#' @param r
#'
#' @return
#' @export
#'
#' @examples
#' @importFrom stringr str_extract_all str_trim
#' @importFrom dplyr "%>%"
get_bid <- function(r) {
suppressWarnings(r %>%
stringr::str_extract_all("\\d{9}(?=\\/)") %>%
unlist() %>%
stringr:... |
ffe2f8966db38cc4ed37258032453f3898226bf5 | 4b9955701ca424c19bec17f0bc4b36f72cfcbcc4 | /man/NULLCPO.Rd | ea113660effed57d470e7c65ad2b6dc117dce300 | [
"BSD-2-Clause"
] | permissive | mlr-org/mlrCPO | c238c4ddd72ece8549f8b48a79f02f543dac60e5 | e6fc62a4aeb2001a3760c9d1126f6f2ddd98cc54 | refs/heads/master | 2022-11-21T17:30:54.108189 | 2022-11-16T16:08:10 | 2022-11-16T16:08:10 | 100,395,368 | 39 | 4 | NOASSERTION | 2022-10-18T23:46:13 | 2017-08-15T16:08:30 | R | UTF-8 | R | false | true | 3,122 | rd | NULLCPO.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NULLCPO.R
\docType{data}
\name{NULLCPO}
\alias{NULLCPO}
\title{CPO Composition Neutral Element}
\format{
An object of class \code{NULLCPO} (inherits from \code{CPOPrimitive}, \code{CPORetrafo}, \code{CPOInverter}, \code{CPOTrained}, \code{CPO... |
602cec897e2c595c43b51476c12c0e1cdfb913b5 | 444936c27b6a76d40c100bdfdbcd6917ec136840 | /scripts/readConfig.r | 97d6cb9a4b6561f67b95ca2f9dcbde5406204984 | [] | no_license | pickledplum/mpg | bb1c09b2393006513d6120a01284ccde059e182e | 8b0f376ba7088164bb2273dbc6083dd9659e6979 | refs/heads/master | 2016-09-10T20:10:54.655702 | 2014-03-07T23:51:23 | 2014-03-07T23:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | r | readConfig.r | # Convert the namelist (key=val(s) pairs) to an environment.
#
# An example of a namelist file. The namelist can contain #-led comment lines.
#
# OUTPUT_DIR = "D:/home/honda/mpg/dummy/fs_output"
# PORTFOLIO_OFDB = "PERSONAL:HONDA_MSCI_ACWI_ETF"
# #PORTFOLIO_LIST = "list_of_constituents.txt" # this line will be... |
cb0ad7e8393a48ee0ad3592e11de9d74b1349231 | 06e14a5bea07a3fb3a434eb484875165410fe30e | /eval/plotting/output_protocol_stats.R | 6ae9241ee1b743a90258e251061830a86bac8ecf | [
"MIT"
] | permissive | tiago-peres/ipfs-crawler | 2c8335239ee310959d6f216bed798fcd3accc480 | 79bb82506f1a2e8c544f710bf4872fac46396c2a | refs/heads/master | 2023-07-17T19:52:40.084224 | 2021-08-25T15:49:09 | 2021-08-25T15:49:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,130 | r | output_protocol_stats.R | ### protocolStats.R: outputs basic statistics about the used protocols in the found multiaddresses.
### The data is assumed to reside in a .csv where it is simply read and output into a table.
source("includes.R")
######### CONSTANTS ###########
sourceFile = "plot_data/protocol_stats.csv"
########## FUNCTIONS ######... |
f2300d31e90ceb790737a0dd64137fdfbfb61257 | 2fb4cc8514d1a472a96eec3ce9160841de177603 | /bin/toot.R | 63b16728808ada8ab71827b81356d177b45c260a | [] | no_license | georoen/standbildNews | f36aacfd5acdb5ef9e237a02210274c0d877aa9b | ec351e7f09dd3ef7892b3bae27d23f4fcf9184f2 | refs/heads/master | 2022-10-30T23:56:26.530842 | 2022-10-11T20:01:46 | 2022-10-11T20:01:46 | 83,040,162 | 3 | 0 | null | 2018-07-16T20:51:06 | 2017-02-24T12:40:37 | R | UTF-8 | R | false | false | 523 | r | toot.R | #' Make PaspberryPi post status to mastodon (social.tchncs.de)
#' This bot allows to actually stay in touch with the instrument.
#' Dependency:
#' devtools::install.github('ThomasChln/mastodon')
#' library(mastodon)
#' Mastodon User:
#' https://social.tchncs.de/@standbildNews
## Input
#' msg
#' mediaPath
## Init ... |
c035547e468ebad3d94091e2db5fdc9611bc8d18 | 3f462dbc928053f63602724aa6e1c783c0a8cc6b | /tests/shortTest.R | e8b252a4af6552b3fba132fd3379ffdfd0689ca2 | [] | no_license | wadeschulz/sciclone-meta | 8e614e7bfe650096fe5823db3376e70429029d9c | 0ee660f0ca6aab3c5a406020e52e08a7d42b74e9 | refs/heads/master | 2020-04-29T14:18:26.981794 | 2014-05-14T20:40:06 | 2014-05-14T20:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,851 | r | shortTest.R | #this is a short test
library(sciClone)
#read in vaf data
v = read.table("data/vafs.dat",header=T);
v1 = v[1:100,c(1,2,8,9,10)]
v2 = v[1:100,c(1,2,11,12,13)]
v3 = v[1:100,c(1,2,14,15,16)]
#read in regions to exclude
regions = read.table("data/exclude.chr1")
#read in copy number data
cn1 = read.table("data/copy_numbe... |
fb7383e4c7579be25d0daaa1846b87e45076e1c2 | 1d6fc79a7fe1b7457a061d4af23a82e809dea509 | /cachematrix.R | e1ea5b5a53da1d1aff02655cdd5afdc34847c466 | [] | no_license | fsimmz23/datasciencecoursera | a3e4ef13dc545b2279deed0f5c0971abbaeb90ab | 4fe22ee70858489a8cd7078440f7cc068045e848 | refs/heads/master | 2021-01-10T11:06:33.785603 | 2016-01-23T07:57:08 | 2016-01-23T07:57:08 | 48,659,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,455 | r | cachematrix.R | ## The purpose to create the two function is to cache the inverse of a matrix
## This way we avoid recomputing the inverse matrix if its cached. If we don'that
## cache it usually will be costly computation.
## Write a short comment describing this function
## The makeCacheMatrix:
## To be able to cache. Create a spec... |
55080d65fe7d3d015b85adb28f58190deb158248 | 4147ae1063df8e6d3a1c42154dded3a0bb07fe03 | /man/default_fonts.Rd | e60d629fa0677e4d5a1679c8f6a7fb86832a6764 | [
"MIT"
] | permissive | steveputman/gt | 54f6b63104405cbe10376dd27b6315eb244d28db | ff050936ef0336ed44249e85c0e27a2f29eb5815 | refs/heads/master | 2022-11-14T11:45:48.098930 | 2022-10-21T05:13:58 | 2022-10-21T05:13:58 | 167,079,382 | 0 | 0 | null | 2019-01-22T22:49:02 | 2019-01-22T22:49:02 | null | UTF-8 | R | false | true | 2,792 | rd | default_fonts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{default_fonts}
\alias{default_fonts}
\title{A vector of default fonts for use with \strong{gt} tables}
\usage{
default_fonts()
}
\value{
A character vector of font names.
}
\description{
The vector of fonts given by \code{defa... |
f4cfe4ba743d43bbf3037ffd3cc9673a5d3647c0 | 8d3d3cb60740ab51a318d130cc8ec21014098a76 | /plot3.R | a478fbae668c5016b0218a605186ac51017dd052 | [] | no_license | ritesh256/ExData_Plotting1 | 18ad2876e613864d92674a3892f208b80c3127a6 | 1ffe406a06cecda6696a33072d0c92c9cf2efb2e | refs/heads/master | 2022-05-14T18:40:49.930538 | 2022-05-05T12:32:25 | 2022-05-05T12:32:25 | 22,800,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 986 | r | plot3.R | plot3 <- function() {
dataread <- read.table("household_power_consumption.txt", sep=";", header=T, na.strings=c("?"),colClasses="character")
dataread$Date <- as.Date(dataread$Date, "%d/%m/%Y")
finaldata <- dataread[which(dataread$Date >= "2007-02-01" & dataread$Date <= "2007-02-02"),]
finaldata$Date <- strptime... |
ec62c6757880b1b8aaf4a7287df2cf08109fea0f | 88dfe929a29807725a5f645838292c50cce6dfd2 | /tests/testthat/test_polygon.R | d53a2be945d431a845d52952061bd5c96f15d59a | [] | no_license | flooose/AlpacaforR | d1a5cd435fa0e93d5c7cfd06b8a3ac369e097646 | dd6a3317fd16edfeb094d9c06b9357c2b5704101 | refs/heads/master | 2023-08-09T21:00:50.748078 | 2021-09-10T19:16:17 | 2021-09-10T19:16:17 | 405,643,999 | 0 | 0 | null | 2021-09-12T13:35:55 | 2021-09-12T13:05:24 | null | UTF-8 | R | false | false | 11,225 | r | test_polygon.R | #' @include internal.R
#' @include Polygon.R
vcr::vcr_configure(dir = file.path(dirname(.log_path), "polygon"))
# CHANGED 2021-03-19T17:43:02 Commented out endpoints no long accessible to Alpaca users
vcr::use_cassette("Tickers_is_accessible_and_returns_the_appropriate_data", match_requests_on = c("path"), {
t... |
ab3f87a7e5aaaa7ce1fc68c0ad7203802e08a88e | d11dba6dafe5f5204743e03662d8d6d216672393 | /R/country_ranges.R | d2d125fcd64dbc67e33b5d9b91089032c19d9c96 | [] | no_license | ktargows/iptools | d7b6e260296750198444b0edde26a09df4ad3630 | d3d85680cd85d276672a42f4bbdeb8fac3d8758e | refs/heads/master | 2021-01-11T01:55:03.682784 | 2016-10-06T01:54:41 | 2016-10-06T01:54:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,809 | r | country_ranges.R | #' Return CIDR ranges for given ISO 3166-1 alpha-2 country codes
#'
#' Query \url{http://www.iwik.org/ipcountry/} for the CIDR ranges for a given
#' set of ISO 3166-1 alpha-2 country codes and return the results in a named
#' list of character vectors.
#'
#' An internal cache of the CIDR query results are maintained as... |
e754f413878d76a8ba88ef77bb895031576ff43a | 2654582b75045a9f95e7bd72c4cd200e2a1d3756 | /analysisFunctions/accPlots.R | 75f41d6bd3f7b188d5b400c7523a4e8cb63bcd98 | [] | no_license | nvarnett/analysisScripts | b84364e828e9cc0ca26713b650e3c116db7309e9 | 7a55fded5f61e3c9c842c41d969751d1a2186676 | refs/heads/master | 2021-01-20T10:38:47.536667 | 2013-12-11T01:55:47 | 2013-12-11T01:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 542 | r | accPlots.R | library(ggplot2)
library(plyr)
source("~/Dropbox/Work/Rscripts/HelperFunctions.R")
acc.summary <- ddply(work.Acc, .(VType, EmbSubj), summarize,
Mean = mean(Corr), SE = stdErr(Corr))
acc.base <- ggplot(work.Acc)
acc.base + geom_bar(aes(y = Corr, x = COND),
stat = "summary", fun... |
5f5d3eba9920b73288fde3a3a8e19505672ea6c9 | 49d5c04c5895cbe6c9a307939126e21a63044945 | /Dygraph/server.R | 755bdaa932681887ed1be420521503f53ab5e9e0 | [] | no_license | edithbird/Homework | d4dce490f43721f80ee94fefee43b7671e1f9903 | 4e511da8eb26e1d7edccd41a673f6011e5dd55ca | refs/heads/master | 2021-01-19T22:26:12.068025 | 2017-05-31T19:43:17 | 2017-05-31T19:43:17 | 88,813,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,684 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(dplyr)
library(dygraphs)
library(forecast)
air <- read.csv("data/CopyOfAirTravel... |
c1b2204093f887395531ee723fca95e111364b96 | 4fddebf5c76cfe938a356019fe08041e52699684 | /drafts/floraison2017.R | 124efbb107093ee17e0290f2adc72990820b854f | [] | no_license | bastienreyne/cecidomyie | 83b90cd43d6b233678255f6935b7b91f9e80082c | d32cf37e06926def4850c620601950a38114ce2a | refs/heads/master | 2020-05-04T22:13:22.932630 | 2019-11-27T09:29:12 | 2019-11-27T09:29:12 | 179,503,920 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,855 | r | floraison2017.R | ## Script pour prendre les inflorescences du fichier floraison et les corriger pour les faire
## coincider avec les inflos du fichier piege.
# Packages / data ---------------------------------------------------------
library(tidyverse)
library(magrittr)
library(lubridate)
inflos_piege_ER <- read_csv2("Data/2017_B1_e... |
de54b5e0c8d3484e0921d5b5ceba3519e3ec67f5 | 4140e4547307219057a6dd6319e302f44812b475 | /database_script.R | 86e2d0e213c15da49bbdf13ce3059d9c981d5341 | [] | no_license | waterpolymer/DatabaseProject | 7c16f7d54cc88c4fdc38f16cbd810edc67cfe645 | b929ca91715f9e5be6bd147b6adfc77870406b96 | refs/heads/master | 2020-07-15T04:27:15.759277 | 2019-09-17T20:50:20 | 2019-09-17T20:50:20 | 205,479,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,310 | r | database_script.R | library("jsonlite")
library("tidyr")
#manual input of information
sql_user <- "root"
sql_pass <- "cat"
sql_dbname <- "cyes435"
sql_host <- "localhost"
library(RMySQL)
library(dbConnect)
library(httr)
#establish shorthand connection to my input database
con = dbConnect(RMySQL::MySQL(), user = sql_user, ... |
4cd90c32861a0d7e15f6b694371394cf126221b6 | 29585dff702209dd446c0ab52ceea046c58e384e | /SyNet/R/mst.r | 9d61ac05b05d884900d6b4768a4b564e1271c791 | [] | 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 | UTF-8 | R | false | false | 1,268 | r | mst.r | mst <- function(x) {
numpoints <- nrow(x)
if(numpoints == 1) return (list(path = 0, wght = 1, xy0 = 1, xy1 = 1))
caso <- order(x[lower.tri(x)])
anc <- vector("integer", numpoints)
path <- 0
nanc <- 0
inmst <- vector("logical", numpoints)
cl <- ceiling(-0.5 + numpoints - sqrt(0.25 + numpoints*(nu... |
08464b1ec407c844285613524af5bc4b3ce24d6a | edf8e116805d1160e5e1a87640da66c16a7c9611 | /Etezova_Liuaza/1/task_05.R | 28e383cdb630869c31b4c67b88006a882d2b20c0 | [] | no_license | LabraMabra/M2019_4135 | 65645def3493078e485cfb7a71608ec62c18dc1e | 34b74668976cee2770fa4db1d8e3a4d09cd6744e | refs/heads/master | 2020-08-10T21:38:13.173583 | 2020-06-13T19:20:14 | 2020-06-13T19:20:14 | 214,425,223 | 2 | 4 | null | 2019-10-31T19:58:36 | 2019-10-11T12:01:51 | HTML | UTF-8 | R | false | false | 716 | r | task_05.R | calculation <- function(column, calculation_function) {
if (is.numeric(column)) {
do.call(calculation_function, list(column))
} else {
table(column)
}
}
data_processing <- function(data_frame, row_selection, column_selection, splitter, calculation_function) {
data_frame %>%
slice(row_selection) %>%... |
2de831b61ba15796cac9124f47343a7654c56b7c | f252c7af74b27070ec28fc6120a72273fce2c39b | /Log/2015August.R | a6518ea65184ee98d50325ee437c45bc0f29e808 | [] | no_license | sadapple/Research | bf142ff98a30c28713281aed6a870e19045cb11b | a07b5894c0c6be7e5d980ef79730fd8442046a15 | refs/heads/master | 2016-09-05T11:36:56.473431 | 2016-02-01T02:22:41 | 2016-02-01T02:22:41 | 28,351,519 | 0 | 0 | null | 2016-01-29T21:25:15 | 2014-12-22T18:05:05 | R | UTF-8 | R | false | false | 282 | r | 2015August.R | ## install packages for R 3.2.2 on Windows 10
chooseCRANmirror(FALSE) # this is crucial!!!!
install.packages("dplyr")
install.packages("quadprog")
install.packages("reshape2")
install.packages("ggplot2")
install.packages("lars")
install.packages("glmnet")
install.packages("tree")
|
8a041c2eec1646d9ec8864c631ce952a87d5575c | c3c9324afc6873b0de45a3cffcdfcdb884163288 | /language/nlp/grams_fiddle/nlp.r | 3f6dfc059386c2998cf5269c3f004710ac5eb1ec | [] | no_license | lefft/boosh | 273c44b04f65f64937fc319d5f4542a0b79daf4a | e4c0665ab1db9c7b47ce4085bf070fed9d8f37ea | refs/heads/master | 2020-03-28T00:13:11.754076 | 2018-01-04T21:16:31 | 2018-01-04T21:16:31 | 64,482,444 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,183 | r | nlp.r | ### setup ---------------------------------------------------------------------
# load dependencies
lefftpack::quiet_attach(c(
"dplyr","magrittr","knitr","tidyr","tidytext","gutenbergr",
"ggplot2","igraph","ggraph","grid"
))
# load functions
source("nlp-foncs.r")
# fig width
opts_chunk$set(fig.width=12)
# get sto... |
e076e1caa2de5b61614b60bfb7f0e26519132453 | cc9b594ac83d5a138bb56fea0d5c8e1af898260b | /binomial/man/bin_variable.Rd | 2a141081e45c8dbc4167136b79a66036cb98dd17 | [] | no_license | stat133-sp19/hw-stat133-D1792 | fcc078dff198279c59ebd8e6e24f849e421ba92a | 0c2b061ed7a5cf8470afe97c87ecfa2f18dd898c | refs/heads/master | 2020-05-05T05:25:13.176813 | 2019-05-02T05:49:35 | 2019-05-02T05:49:35 | 179,751,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 477 | rd | bin_variable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomial.R
\name{bin_variable}
\alias{bin_variable}
\title{bin_variable}
\usage{
bin_variable(trials, prob)
}
\arguments{
\item{trials}{number of trials}
\item{prob}{probability of success}
}
\value{
a list object of class binv... |
25c13e4f24e2581c62ac272407878f965e519319 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/geophys/examples/get.heat2.Rd.R | 9a10deab07090a89c82ee41b9cecfa17f9b3263f | [] | 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 | 546 | r | get.heat2.Rd.R | library(geophys)
### Name: get.heat2
### Title: Heat Equation Solution
### Aliases: get.heat2 ' get.heat'
### Keywords: misc
### ** Examples
k = 1*10^(-6)
dt = 3600
dz = 20*10^(-2)
T0=25
T1 = 1200
x = seq(from=0, to=80, by=0.5)/100
i = 1
Tx = get.heat2(x, T1-T0, k, i*dt)
plot(Tx, max(x)-x, type='n', xlim... |
dcd9e661e8a676ee1d623c4beaece08b69c94a53 | 08bfe20e94ba9e8f8bddc9cb0ddf9129afaac918 | /Demonstrations/UserExperimentDefinition.R | 344ca20518e5d53273885d243bfb5efb376c6932 | [] | no_license | BayesExeter/ExeterUQ | e0c1095bc4f818a784a93c5605158a1bbb2c90a1 | 70a0222266324d442a87d3feb84a5dd5000a7e4a | refs/heads/master | 2021-07-03T16:48:14.995097 | 2019-11-06T12:20:28 | 2019-11-06T12:20:28 | 196,030,557 | 4 | 0 | null | 2019-11-06T12:20:29 | 2019-07-09T14:57:42 | R | UTF-8 | R | false | false | 535 | r | UserExperimentDefinition.R | # Input file to construct a GP emulator and perform HM --------------------
experiment_name = "lmdzAWave"
observation_name = "lmdzLES"
# Define the Wave number of iterative refocussing
WAVEN = 1
# Define the value of a threshold
cutoff = 3
# Define a parameter that determines your implausibility measure
tau = 0
# Defi... |
3501a4eee892229dbf1fc96c44805f9adb30884d | af11fe3ff3fec9f631df5d1bd10cd6b8dae32c89 | /simple network.R | beb7dd8ff30024de63fca95ddd0dc8a1b211f164 | [] | no_license | y1220/R-practice | fc483bef6831fe37c7b22d5c10babaf53ae31772 | b2fc05202b04e39c5b33b2d0bfa08b947fa0d605 | refs/heads/main | 2023-08-17T13:20:45.450404 | 2021-10-10T22:26:57 | 2021-10-10T22:26:57 | 397,967,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 434 | r | simple network.R |
# graph
# Libraries
library(igraph)
library(networkD3)
# create a dataset:
data <- data_frame(
from=c("A", "A", "B", "D", "C", "D", "E", "B", "C", "D", "K", "A", "M"),
to=c("B", "E", "F", "A", "C", "A", "B", "Z", "A", "C", "A", "B", "K")
)
# Plot
p <- simpleNetwork(data, height="100px", width="100px")
p
# sav... |
7a81f7fb058434cd3b52e2663bcc7c1c89920924 | 546df55367a9812ec69c3ae2ef00eab564fda5c4 | /Translate.R | 2cdc39a97467f1d4691d812c68ed93c0f3f53825 | [] | no_license | QZeegers/KPN | fa03986dd339da52ab3f81eab697218013f9afa4 | 899181dd41a03fba1b670c27a602b6a1b815e5e9 | refs/heads/main | 2023-02-17T07:46:59.814809 | 2021-01-20T21:32:49 | 2021-01-20T21:32:49 | 331,274,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,968 | r | Translate.R | library(readr)
dataset1_kpn_contacts <- read_csv("Downloads/Case seminar 3/dataset1_kpn_contacts.csv")
View(dataset1_kpn_contacts)
library(tidyverse)
dataset1_kpn_contacts<- as.data.frame(dataset1_kpn_contacts)
#Columns
dataset1_kpn_contacts<- dataset1_kpn_contacts %>%
rename(y_Purchase = y_aankooporder,
... |
50de763ec1cee547be81b9c9941e501181f735a5 | 137222a21c6213ed0105be73269fa3fea832c60b | /Classification/PerfForClassification.R | 793ae96b17e5cc2117a2a9ac5198ccd12c54d87d | [] | no_license | mdmeschi72/MachineLearningWithR | f60f9361e69385adbbbe45403735821befaa7eed | 41cfe8cce1edde4092b7424559e32084e77a7bb0 | refs/heads/master | 2020-03-19T16:52:04.492609 | 2018-07-04T11:19:24 | 2018-07-04T11:19:24 | 136,733,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,320 | r | PerfForClassification.R | ## classification applications
## classification with kNN
## class package if for KNN
## ROCR is for area under the curve.
library(class)
library(ROCR)
knn_predict <- knn(train = train, test = test, cl = train$dd.test_diabet, k=5)
### classification with logistic regression
model <- glm(dd.test_diabet~., family... |
826029510c1535b86c5cae21b6d145cd21e7bd32 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Luminescence/tests/test_calc_WodaFuchs2008.R | 190d4c0f9b72fff6cc4c63a97659ea77d33a59c9 | [] | 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 | 541 | r | test_calc_WodaFuchs2008.R | context("test_calc_WodaFuchs2008")
test_that("Test general functionality", {
testthat::skip_on_cran()
##load example data
## read example data set
data(ExampleData.DeValues, envir = environment())
##test arguments
expect_is(calc_WodaFuchs2008(data = ExampleData.DeValues$CA1), "RLum.Results")
##test ar... |
134209086e01e9be5a288a25c86674847cb84283 | 2a7dcccef588ad76dd66df3b74f5e495bdda174d | /R/fit_mpm.R | 9d42ad9b6ade140c238778e1df800c2372e973a1 | [] | no_license | cran/foieGras | 6181dc2dbfd10c58cde8e57c598a54538470f117 | d2779676b4c929b47c0f2c684bfe3cbff711fe4f | refs/heads/master | 2021-07-07T22:06:09.514290 | 2021-04-26T21:10:07 | 2021-04-26T21:10:07 | 236,599,322 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,967 | r | fit_mpm.R | ##' @title fit a a Move Persistence Model (mpm)
##' @description fit a random walk with time-varying move persistence to
##' temporally regular or irregular location data
##' @param x a `fG_ssm` fit object or a data frame of observations (see details)
##' @param what if a `fG_ssm` fit object is supplied then \code{wha... |
06f5f7174cfa75b4bd1d6f6e6b19e17a20190a80 | 65b2d8f88199970ca6b83e658760dfb66c5d951d | /myTest1.R | 490be22fe49d64ee492ef863969f743a34e52649 | [] | no_license | ClayCampaigne/stat243_Project | 8776a1572701f9fb261b3ab1b81186fbd11fddcb | b3483b486a39b66c00f3dac96495265335f7dea9 | refs/heads/master | 2021-12-04T01:24:46.989193 | 2014-12-11T10:15:11 | 2014-12-11T10:15:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,714 | r | myTest1.R | ####################### Project: Test Code ########################
##### Description:
##### 1. Test function for each auxiliary function
##### 2. Three test functions for the select() function
##### ( testStepwise(), testSim1() & testSim2() )
###################################################################
t... |
098fe5d5dfb8583d82b545e2cd9366edfc983e27 | 2f94e0f8911055053c30f9ab88e2f66691ca719d | /R/diagnostic_maf.R | be47f0044ac1f78d48b9bc0a9854ece12ae1fe6d | [] | no_license | anne-laureferchaud/stackr-1 | 4e4dd971dd83a8b238a858d6e1026ab2c6e271ed | 55837d3005d4e4f13ce5706284e8137c98e8501a | refs/heads/master | 2020-06-17T10:01:15.282997 | 2016-11-28T16:49:44 | 2016-11-28T16:49:44 | 75,013,926 | 0 | 0 | null | 2016-11-28T21:02:47 | 2016-11-28T21:02:46 | null | UTF-8 | R | false | false | 2,259 | r | diagnostic_maf.R | # Minor Allele Frequency Diagnostic
#' @title MAF diagnostic
#' @description Minor Allele Frequency diagnostic, help choose a filter threshold.
#' @param data A data frame object or file (using ".tsv")
#' of class sumstats or tidy VCF.
#' @param group.rank The number of group to class the MAF (Number)
#' @param filena... |
8f0454b07347f2bf19f3c7c33e053518b8ef10ba | f2b82a6acbd9939aa9174c51f76f4e82952a3665 | /server.R | cf63f0b78c69092b99b4b589bb81a6881bb31a8d | [] | no_license | kowdan99/UN-FAO-ANALYSIS | 4077b1877892ac0c87732c1a2ecc226ed87b36c8 | efb5851f4ac19ac2d9d36be835c2f1a362aa48b3 | refs/heads/master | 2020-05-18T21:04:51.026486 | 2019-03-14T21:41:20 | 2019-03-14T21:41:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,728 | r | server.R | library("shiny")
library("dplyr")
library("leaflet")
library("stringr")
library("rbokeh")
library("tidyr")
library("ggplot2")
library("ggmap")
library("plotly")
library("shinyWidgets")
# LOAD ALL DATA SETS HERE AT THE BEGINNING
countries <- read.csv("data/countries_long_lat.csv", stringsAsFactors = FALSE)
full_pop_data... |
a7adfd6da42c7530f10aee40c4aaa7d0c29817a5 | 2fa2f15ebbf7adfa114f2a189020ae9c8af2ff17 | /fun_joint_recnplan.R | e1c6529340364a8c9c1e96f7cd879d9801c63d22 | [] | no_license | xliu12/Sample-size-planning-for-mediation | 5b19ebe347759b7707b8cc925a8afd5dc9cc0311 | bac3e552fcdbf3e8a1fe5ea2052ff82fb37a6ee8 | refs/heads/main | 2023-07-24T17:54:09.045388 | 2021-09-09T15:13:45 | 2021-09-09T15:13:45 | 361,416,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,352 | r | fun_joint_recnplan.R |
joint.recnplan.assurance=function(Npilot,Nplan.start,nstep,
power.desired=0.8,
assurance.desired,
#meanpower.desired=NULL,
#medianpower.desired=NULL,
a_true,b_true,cp_true,alpha,
... |
d46b87db751bd84767f625c36a9b24c4e9c4c96f | 7695d9fa40a26df410954287b48400dc5377abc7 | /R/figureS8.R | 7894bcfacc573b16feb798ebc72a35c389a4bf1d | [] | no_license | andrewholding/ZMIZ1 | e95049b8590bebfec1851f9f144ffaa4a4d83b43 | 898ed2ffbd18339663ebdd0d3555a10d6263ae06 | refs/heads/master | 2023-08-18T01:04:23.432511 | 2023-08-03T17:14:48 | 2023-08-03T17:14:48 | 177,729,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,924 | r | figureS8.R | #' Figure S8mcf7
#'
#' This function allows you generate figure S8. GSEA results Part 2. P-value will vary as seed is
#' not set.
#' @keywords RNAseq ZMIZ1
#'
#' @export
#' @import DESeq2
#' @import vulcan
#' @importFrom graphics barplot
#' @importFrom stats relevel
#' @examples figureS8mcf7()
figureS8mcf7 <- functio... |
43909c85d2a543e1f1232ddb7b885bf075c95276 | 941b25f4eb01051ed507f8715cf8514444a31116 | /man/gmte_plot.Rd | 3f185fffccd6caab0a155492f90be5e9a4398de0 | [] | no_license | lukepilling/twistR | e46bc934c573b928818db6745ad7eedb6e63ae3b | 023f1329cbc6c5d67a299ba21b67e47b62599989 | refs/heads/main | 2023-04-25T21:22:40.158066 | 2023-04-25T15:38:18 | 2023-04-25T15:38:18 | 402,818,137 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,065 | rd | gmte_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gmte_plot.R
\name{gmte_plot}
\alias{gmte_plot}
\title{Forest plot individual and combined TWIST/GMTE estimates}
\usage{
gmte_plot(
x,
plot_title = "",
plot_cat = TRUE,
cols = c("#f46036", "#2e294e", "#1b998b"),
pchs = c(15, 16, 23)
... |
56666b0bedcf94ea07e4c38f873b8f90e726487a | 322d9c291a98bb460bfeedadd6cdebca78bbca04 | /inst/doc/EVT.R | dafdcb86f5c928aa87ccd9b98b9bcf7a25cc0cb9 | [] | no_license | alexbhatt/RecordLinkage | 79b10e22f24940662a38800dc4645bce6748c9dc | 616a49b14b7b48118cdaf06908e06151054cbcea | refs/heads/master | 2020-12-30T06:53:25.709832 | 2019-08-23T14:41:04 | 2019-08-23T14:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,561 | r | EVT.R | ### R code from vignette source 'EVT.rnw'
###################################################
### code chunk number 1: EVT.rnw:3-4
###################################################
options(width=50)
###################################################
### code chunk number 2: EVT.rnw:28-29
#########################... |
5640c521eec35a9f0d044609a6642ec3862ed44c | c4522a72b9543374d9f6b74bd387a071490348d8 | /man/gbsdat.Rd | 8f7a406fe50eb303445e5abebbbe77c0300706ba | [] | no_license | cran/SCCS | 8aab25b4cf8b2e547369a71d3b3508e25147667c | aa0e7c0a549f67ba7017712f13cdbe5e529c852b | refs/heads/master | 2022-07-07T05:02:30.814331 | 2022-07-05T13:20:09 | 2022-07-05T13:20:09 | 133,012,639 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,030 | rd | gbsdat.Rd | \name{gbsdat}
\docType{data}
\alias{gbsdat}
\title{Data on influenza vaccine and GBS}
\description{
The data comprise days (day 1 is 1st October 2010) at seasonal influenza vaccination and at onset of Guillain-Barre Syndrome (GBS) in Italy, gathered in the 2010-2011 influenza season. There are 174 cases from Galeo... |
a85287c6acbda40f20d84bfc2b1f7f62bfd62a92 | 88147e2bddc2add4f51b507dbf1eed86de849495 | /man/rvinenllkderiv.Rd | 823c4ce7b056bf2603cd2327e5ff86901c9f975d | [] | no_license | hoanguc3m/CopulaModel | 39906379ed88d56f579851d45f157733c42bf926 | 1522b9a6476c5550736f652f902c61b3ac5e8fd3 | refs/heads/master | 2020-03-27T14:29:49.345584 | 2019-11-03T22:18:14 | 2019-11-03T22:18:14 | 146,665,628 | 2 | 0 | null | 2018-08-29T22:25:56 | 2018-08-29T22:25:56 | null | UTF-8 | R | false | false | 3,195 | rd | rvinenllkderiv.Rd | \name{rvinenllkderiv}
\Rdversion{1.1}
\alias{rvinenllkderiv}
\alias{rvinenllkder1.trunc}
\alias{dvinenllkder1.trunc}
\alias{rvinenllkder2.trunc}
\title{
Negative log-likelihood and gradient for regular vine models
}
\description{
Negative log-likelihood and gradient for regular vine models
}
\usage{
rvinenllkder1.trunc... |
c619382750d91945b2c3d3ed2f617dd7ae5df144 | 853eee25f84fa341794305514193f9051e05ef10 | /R/SummaryMethods.R | 272c0ca37ea138d8e2512d8f75c62601a9b3acdf | [] | no_license | luciu5/antitrust | f9a5d5703cc59dea063c700547303398f15c4cba | f504c3c41f730ce93338ead93d2ffc2562422e8e | refs/heads/master | 2023-03-20T20:34:20.676729 | 2023-03-08T03:48:19 | 2023-03-08T03:48:19 | 202,005,177 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 21,711 | r | SummaryMethods.R | #' @title Summary Methods
#' @description Summary methods for the \code{Bertrand}, \code{Auction2ndCap}, \code{Cournot}, and \code{Auction2ndLogit} classes.
#' Summarizes the effect of the merger, including price and revenue changes.
#' @name summary-methods
#' @docType methods
#'
#' @aliases summary,ANY-method
#' sum... |
e8b27c8cff267e781a21383414e3a6c0ed02441f | 847fefdc9709126653a3de3387c8eb6fe7dfcc17 | /Time Series in R/ARIMA Models in R/2.Fitting ARMA Model.R | b13f40cac75906e13dc6ef2262fcceda807e7a43 | [] | no_license | dylannguyen1/Exercises | 4c9bb3383b6cbd2bfae591bbc4f118324b0aec14 | 5ae64fef6a5041f0c66725b6f45689896895ade9 | refs/heads/master | 2021-03-31T08:21:46.743234 | 2020-05-22T23:59:12 | 2020-05-22T23:59:12 | 248,091,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,108 | r | 2.Fitting ARMA Model.R | #
## AR(Autoregressive) and MA(Moving Average) model
#
x<- arima.sim(list(order = c(1,0,0),ar = -0.7),n = 200) # AR
y<- arima.sim(list(order = c(0,0,1),ar = -0.7),n = 200) # MA
par(mfrow=c(1,2))
plot(x, main ="AR(1)")
plot(y, main = "MA(1)")
library(astsa)
## Simulate AR(2) with mean 50
x<- arima.sim(list(order = c(2,... |
d1f3754d51eafbc8fb070f5008d5a5239427b7f6 | f6512598805a4b1e9885495fe76f5525f959392b | /Random_Forest/Randomforest.R | b0fed561df37a86b264c22bf5ba8ff2e1998aa4a | [] | no_license | roshankr/DataScience | 0ef1098438b157c78cd58ccf9cdd47703946f311 | 958366202db9c241bdaf4be81f47f2ed5d8362ae | refs/heads/master | 2021-01-10T04:26:20.469942 | 2015-09-25T21:03:40 | 2015-09-25T21:03:40 | 43,172,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,358 | r | Randomforest.R | library(randomForest)
library(randomForestSRC)
library(caret)
library(datasets)
#Implementation of Random Forest algorithm using bagging and
#random subspace methods. Another key concept is Out-of-bag error (OOB)
# look at the dataset
data(iris)
#assignment <-write.csv(iris,"iris.csv")
# visually look at the dataset
... |
f85f3a345068596a9b34475fd0f8063a24c936b1 | fa782fbc6cef7e575fcd137a41eecbd6886812d1 | /R/rowWeightedMeans.R | abdde52f56222d35ae7defbf793140dc470cfeea | [] | no_license | kaushikg06/matrixStats | 6f5ae3032cfeb30ade1d88d6b53e5effae9770bd | 87d3a6eeefcd37571214af7f1700ca98be7b9703 | refs/heads/master | 2021-01-21T06:47:28.960648 | 2016-10-09T15:35:30 | 2016-10-09T15:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,122 | r | rowWeightedMeans.R | ###########################################################################/**
# @RdocFunction rowWeightedMeans
# @alias colWeightedMeans
#
# @title "Calculates the weighted means for each row (column) in a matrix"
#
# \description{
# @get "title".
# }
#
# \usage{
# @usage rowWeightedMeans
# @usage colW... |
203af99b84232ca34c898c5dd63f99e934c53bae | cf9109f6e0a2c494bdc2f1f027ee2cd60cefc30f | /Spreading HAI data.R | 03cf44d542ada8bfe6e8ac5707095f2ae8923a5b | [] | no_license | ACC1029/MATH-571-HAI-Medicare | da717f9f2cae53038f87df44c620adcabd3c6172 | eeb00d846af5c0501490f49615a1bb59787687c5 | refs/heads/master | 2021-04-28T01:38:14.108330 | 2018-04-29T04:49:06 | 2018-04-29T04:49:18 | 122,284,276 | 1 | 1 | null | 2018-04-28T20:26:47 | 2018-02-21T02:38:31 | R | UTF-8 | R | false | false | 2,921 | r | Spreading HAI data.R | #----------Testing example----------#
df <- data.frame(month=rep(1:3,2),
student=rep(c("Amy", "Bob"), each=3),
A=c(9, 7, 6, 8, 6, 9),
B=c(6, 7, 8, 5, 6, 7))
df %>%
gather(variable, value, -(month:student))
df %>%
gather(variable, value, -(month:student)) %>%
... |
022413a4c90a500f9a4060a8814633fd2d24762d | e5d5a20e0986b6a23e9e2ab4ca1752a4e66a9f9c | /plot1.R | a331896139616b62c037fa322e93f08f13afbfd2 | [] | no_license | ppats15/ExData_Plotting1 | 33f70e7525b5717fd3eb6c6a61b71f42fc8aee8b | ac43c26bdeafa9fda0ca654179ec1bbe393b4576 | refs/heads/master | 2021-01-14T14:16:18.450351 | 2015-10-10T03:45:03 | 2015-10-10T03:45:03 | 43,987,441 | 0 | 0 | null | 2015-10-10T01:10:14 | 2015-10-10T01:10:13 | null | UTF-8 | R | false | false | 1,042 | r | plot1.R | ##################################################################################################
# Project 1: Exploratory Data Analysis - Plotting (Plot1)
#
#
##################################################################################################
#### Load all necessary libraries
#######################... |
fe72bb0dc3581ac4288a5ca9423fc06658f26fc4 | 944afac4093d8718922cfd87502484872e54d0c2 | /predictVolume.R | 2e2327e0450a56b7582fba5a6d092f808860fef8 | [] | no_license | cejecj/Predict-Sales-Volume | 36f8e444990841440f321362107356e8aa7f6c23 | c926fcae6eb39496f35dc0fee502395823caeb7f | refs/heads/master | 2021-01-09T19:26:20.125222 | 2020-10-17T18:16:01 | 2020-10-17T18:16:01 | 242,430,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,424 | r | predictVolume.R | # import libraries
library(caret)
library(ggplot2)
library(corrplot)
library(dplyr)
# load dataset
existingProducts <- read.csv('existingproductattributes2017.csv')
newProducts <- read.csv('newproductattributes2017.csv')
# explore data and convert data types
str(existingProducts)
str(newProducts)
existin... |
a1796ef034de8dd9baf92660a9640b7e043de82b | 8c6689aab5e3312b92067b816108ad8e5fec986e | /R/EXP3/Function.R | 2a22cf2341c7d746f194c5d263ec206a54183890 | [] | no_license | ProfessionalJK/ITPracticals | 0eed690d0a0f4a8c2bcff8e7b9397af2500c48b6 | 127a585e69264267fb2d34b323189d6ca16a16dd | refs/heads/master | 2022-12-11T04:41:27.771098 | 2020-08-26T13:58:52 | 2020-08-26T13:58:52 | 290,464,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | Function.R | area = function(l,w){
a=l*w
return(a)
}
print(area(3,5)) |
8cf2414191f43f33a93878a0a6e56fa3bb015b20 | e8f0e923548e587ac05f267b1cf4e08f151438e9 | /R/angular.r | 3d22bf0626d16da1f800f86ca6c8b89cfcaafd34 | [] | no_license | minghao2016/aomisc | 7059a9e00c6d4ed615255be6b7aac9e63dc64f5f | 9b6b75ed23dec4042b1bb115aaae8d695593f477 | refs/heads/master | 2023-01-01T13:19:13.646065 | 2020-10-20T12:58:38 | 2020-10-20T12:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 109 | r | angular.r | angularTransform <- function(percentage)
{
result <- asin(sqrt(percentage/100))*(180/pi)
return(result)
}
|
dce7e399bd545a37332534300b908ba840034242 | f55a52069c7cda3a263f26a2fd5f47a6ab7830da | /tests/testthat/upload.twitter.com/1.1/media/metadata/create.json-e72d3c-POST.R | 3676eb536ab41d4970b27bedc646205e8e5335a1 | [
"Apache-2.0"
] | permissive | jonkeane/phototweetr | ddb64daff03118b92a2f5fd825a0ec9529676ae8 | 9828470bc2c8ce633aa66ce47a6483eb5ed2913b | refs/heads/main | 2023-01-13T18:10:50.560772 | 2023-01-07T17:30:22 | 2023-01-07T17:30:22 | 244,178,804 | 0 | 0 | NOASSERTION | 2021-06-13T16:45:03 | 2020-03-01T15:59:25 | R | UTF-8 | R | false | false | 4,462 | r | create.json-e72d3c-POST.R | structure(list(url = "https://upload.twitter.com/1.1/media/metadata/create.json",
status_code = 200L, headers = structure(list(`cache-control` = "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
`content-length` = "0", `content-security-policy` = "default-src 'self'; connect-src 'self'; fo... |
7e4574c2150936625576c6bfde3f0be0580e699e | 4adbd5b00d14eba6b814f0d52bddbec57d623fed | /scripts/figures/BW_coloc_spider.R | b6b4bb1695966c30e2abdc4ad7014ce08667ea30 | [
"MIT"
] | permissive | PerinatalLab/metaGWAS | 809f6ebaec7a6321f3fc6b4ed11a8f732c71a34d | 494ef021b0d17566389f6f3716d1e09f15e50383 | refs/heads/master | 2023-04-08T08:50:31.042826 | 2022-11-10T21:14:33 | 2022-11-10T21:14:33 | 267,803,075 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,548 | r | BW_coloc_spider.R | library(scales)
library("dplyr")
library("knitr")
library("tidyr")
library(cowplot)
library(ggrepel)
library("data.table")
library('showtext')
library(tidyverse)
library(fmsb)
colorBlindBlack8= c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7")
font_add("arial", "arial.ttf", bol... |
0b3eaa6fcd92f2a41b3ccd879cd28b99f56b7049 | 4eb66a194563cb6a6c9147f4de120e5cb13611be | /R/TrialLevelMA.R | 8a38ebfdd31dbc51756be3679296b74ba238572f | [] | no_license | cran/Surrogate | 8971061189573d24cb402e553f99b24fb7ba8834 | 463b16b365810c637073a7b6e9f3948913007354 | refs/heads/master | 2023-07-13T20:56:33.106817 | 2023-06-22T05:20:02 | 2023-06-22T05:20:02 | 17,919,925 | 1 | 1 | null | 2023-08-22T08:14:40 | 2014-03-19T20:50:31 | R | UTF-8 | R | false | false | 1,875 | r | TrialLevelMA.R | TrialLevelMA <- function(Alpha.Vector, Beta.Vector, N.Vector, Weighted=TRUE,
Alpha=.05){
# stage 2
if (Weighted==FALSE){
Results.Stage.2 <- lm(Beta.Vector ~ Alpha.Vector)
}
if (Weighted==TRUE){
Results.Stage.2 <- lm(Beta.Vector ~ Alpha.Vector, weights=N.Vector)
... |
34ce67310c163d75759b49451ad573aeb919589d | 3eb676d9d01c996c0c65cbcb6276cfcedc08e203 | /FourierMotzkin/FourierMotzkin.R | 9db37f19f3a52f57bd5902256dee437a4860fbe8 | [] | no_license | tonytony99/Machine-Learning | 639be7d8d37f4dbe12346ca1ee7eaa0f181e02c1 | bf1cea0c5224232ef664c3b0bc35164fdf6a3fec | refs/heads/master | 2021-01-01T18:24:45.764425 | 2017-12-22T21:27:11 | 2017-12-22T21:27:11 | 98,330,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,450 | r | FourierMotzkin.R |
# Tolerance for floating point comparison
epsilon = 1e-6
# Given a matrix, inequalities, of the form
# a1,1 a1,2 ... a1,n b1
# ...
# am,1 am,2 ... am,n bm
# And a list, solutions, of the form
# x1, x2, ... , xn
# Return TRUE if all of the inequalities below hold, FALSE otherwise
# a1,1 * solution[1] + a1,2 * solutio... |
96c8f80212f9ee0b0144582c2e59778db2ccf286 | d81a933a93e226722463ca4de4ac03ffe584eb79 | /LAB 5/LAB 5 1.R | 189131c3de634c0c55522cc6461ed550dde5fe96 | [] | no_license | rilika/rilika_DSR | 93e223494f46b623ef46d076a71e9919692bd1fe | b635e59c1de5619e01bd1ca5b8d514e113ea86f7 | refs/heads/master | 2023-02-01T02:26:51.790862 | 2020-12-10T12:23:33 | 2020-12-10T12:23:33 | 297,918,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 257 | r | LAB 5 1.R | EMPID<-c(10,20,30,40,50,60,70,80,90,100)
SALARY<-c(22000,43000,26500,21000,34600,32000,65000,32200,30000,15000)
MARITAL_STATUS<-c('M','M','U','M','U','U','U','M','U','U')
df<-data.frame(EMPID,SALARY,MARITAL_STATUS)
df
boxplot(SALARY~MARITAL_STATUS,data=df)
|
d3c18101aa6e06b092e4e556cb797c4880b437db | ab79177ad95b0e89d70210a3478b91f98cdb6b30 | /man/fmri_mem_dataset.Rd | 6891822ff9e62455601038d03434f90be7826a81 | [] | no_license | bbuchsbaum/fmrireg | 93e69866fe8afb655596aa23c6f9e3ca4004a81c | 2dd004018b3b7997e70759fc1652c8d51e0398d7 | refs/heads/master | 2023-05-10T17:01:56.484913 | 2023-05-09T14:38:24 | 2023-05-09T14:38:24 | 18,412,463 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,811 | rd | fmri_mem_dataset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fmri_dataset.R
\name{fmri_mem_dataset}
\alias{fmri_mem_dataset}
\title{Create an fMRI Memory Dataset Object}
\usage{
fmri_mem_dataset(
scans,
mask,
TR,
run_length = sapply(scans, function(x) dim(x)[4]),
event_table = data.frame(),
... |
60c854e9147dd383fb4ef2276de818301b3ac65f | 2dda9ad40309327d13c53996a59a51802f14abe5 | /ilg1/varscan/control_gene_region/kaks_analysis.R | dd9010c3e286dde1c2f36900f331a7b9b0b1ff4d | [] | no_license | Kazuki526/gdc_il | 42e2d043b86c2f9fd58ab6983dfb789f215afa03 | 61665b25da95d66b6e8ef4ddbd7072221bf91f61 | refs/heads/master | 2021-01-11T23:36:36.893751 | 2019-01-07T04:45:28 | 2019-01-07T04:45:28 | 78,609,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,255 | r | kaks_analysis.R | loadNamespace('cowplot')
control_genes = read_tsv("/Volumes/areca42TB/GRCh38_singlefasta/control_genes.tsv") %>>%
filter(gene_symbol != "OR8U1") %>>% #GRCh37とGRCh38でゲノム上での向きが逆転しているから
mutate(focal="yes")
all_maf_for_cumulative_cont = read_tsv("all_patient/all_maf_for_cumulative_control.tsv.gz")
#####################... |
cf6b57b0c2d7ca5bf27b5d15e3d9f45abae5ccdc | be80867918c3a03ef99220c91f6cabcb71ff9c5a | /man/run.whr.Rd | 6de44a1b59b1153aa507baf1581a321778c82b2d | [] | no_license | CLPS0900/CLPS0900R | fa0bfbb32876642828e719e9e63d771368ed92d6 | 395ea6453ff98e4b8121510a0703318fef557580 | refs/heads/master | 2020-04-17T14:59:09.432772 | 2020-03-09T23:04:51 | 2020-03-09T23:04:51 | 166,680,501 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 333 | rd | run.whr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run.whr.r
\name{run.whr}
\alias{run.whr}
\title{manipulate one-way anova and related methods using WHR_DATA}
\usage{
run.whr()
}
\value{
none
}
\description{
manipulate one-way anova and related methods using WHR_DATA
}
\examples{
\dontrun{
r... |
fe58a9b8cec503125e0b811de9621776ca39f2c6 | 8fd809b6ca419341e1e40a99acb319148469c7d7 | /plot2.R | f0257ba2e9000ee5d2a258dd9608435c2f8384be | [] | no_license | ivanlis/course04week04assignment | 40c7d7eacf93e79382cd9e0d38ce94ff572a5764 | 189ffc3d149231e757f2f27583ef70b11a00ebe1 | refs/heads/master | 2020-03-16T12:09:33.531578 | 2018-05-09T22:05:24 | 2018-05-09T22:05:24 | 132,660,875 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 996 | r | plot2.R | # Unpack files and read data
if (!file.exists("./data"))
dir.create("./data")
if (!file.exists("./data/summarySCC_PM25.rds") ||
!file.exists("./data/Source_Classification_Code.rds"))
unzip("exdata_data_NEI_data.zip", exdir = "./data")
nei <- readRDS("./data/summarySCC_PM25.rds")
#scc <- readRDS("./data/S... |
bdc1fd98523fbee9ace3cc13e32d301a6372a24e | 05915847084946cb6540392262fe5560692413aa | /man/sampledat.Rd | 2a7013b1748b1cad13fd6d72ccd959225f60dc67 | [] | no_license | akeyel/flm_NE_WNV | eac0b003cefd89b1e16d2970869b9ac3efc13cd2 | 22954a0d298ac510f8be0bd7e46c4b6b3a6b86a5 | refs/heads/master | 2021-01-03T00:14:53.886054 | 2020-06-09T21:45:17 | 2020-06-09T21:45:17 | 239,830,178 | 0 | 0 | null | 2020-03-25T15:59:01 | 2020-02-11T18:06:11 | R | UTF-8 | R | false | true | 726 | rd | sampledat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flm.R
\docType{data}
\name{sampledat}
\alias{sampledat}
\title{sampledat}
\format{
An object of class \code{spec_tbl_df} (inherits from \code{tbl_df}, \code{tbl}, \code{data.frame}) with 1674 rows and 5 columns.
}
\usage{
sampledat
}
\descrip... |
091d4471ac0fd93d95b09ba43975c01f84075e7b | 37a70a2a8c84f353d45cd678f059cbe5446d5346 | /day4/hw0831.R | b12fda71b666abf076a9f957d42ff735b0019acb | [] | no_license | jee0nnii/DataITGirlsR | a27f7ce1c3f90765366f120ff85cd7f2cee60e8c | cc6e7b3f2d30c690a41e4ca5a165d32de47d3c3f | refs/heads/master | 2021-03-19T16:49:01.412022 | 2017-11-06T15:21:56 | 2017-11-06T15:21:56 | 109,706,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,376 | r | hw0831.R | # 과제1 - 색깔이 있는 물고기 종류별 boxplot 그리기 (p19 참고)
# 과제2 - 이쁘게 산점도 그리기(correlation plot) (p22~23 참고)
# * Hint : Google Search (패키지를 이용하면 됩니다!)
setwd("C:/Users/joo/Documents/dataitgirls4")
library(readxl)
library(RColorBrewer)
list.files()
fishcatch <- read_xls("fishcatch_revise.xls",sheet = 2) #2번째 시트에 있는 데이터 불러옴
head(fishc... |
c3a7bf2e1ccb6b3423317236bdfbe6f21195ff64 | cb4cd286ae1e5e78bce36934140254f5802d43ba | /Statistical_Analysis/func.R | 6eb60c343682d06db15f87e8e0e0994bb1b8ea1f | [] | no_license | HuangHam/DT-RLWM | 066fe7644da932a5f332cf82c1ba5a5aea8b73df | 44a4125bdd37fee83cf11ff70e452b72c437002f | refs/heads/master | 2022-07-09T20:01:39.265523 | 2020-05-15T22:22:37 | 2020-05-15T22:22:37 | 264,278,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,313 | r | func.R | #functions for DT-RLWM analysis
library(plotrix)
se <- function(v,...){
std.error(v,...)
}
nonNA <- function(v){length(na.omit(v))/length(v)}
sigTrans <- function(beta){(2/(1+exp(-beta)))-1}
shapeMean <- function(df, ...){
#group_vars = enquos(...)
df %>%
group_by_(...) %>%
summarise_all(mean,na.rm = T)
}... |
774738e40c17b2b35982824a19ca6d0e971156c3 | 81498a41a2c4c01b6005aa45847770a72cd2f84c | /R/ontTermAgg.R | 79e08e1f62474cafaeac01b1c0a2048e8582a76e | [] | no_license | KrishnaTO/OntologyTermAggregator | 8ccee7e553dcef94e7782524a2190a3868761819 | 4c71ac664e720d3dae159a0d9958ab1370e3c95d | refs/heads/main | 2023-01-10T19:00:24.360047 | 2020-11-14T03:29:47 | 2020-11-14T03:29:47 | 312,690,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,216 | r | ontTermAgg.R | #' Get all results of term
#'
#' Higher order function to essentially run the same code from the vignette as a function
#'
#' @param searchTerm Enter the term you want the combined data for
#' @param yourAPIKey manually include you API key for BioOntology here
#' @param format Choose which format to get the results in;... |
1904bd2c7285e1924670b1a2a1ccae6ab2f12f37 | f18e1210ca120c9116e356a8549e89e04219dc75 | /tests/testthat/test_filters.R | 41539b13f70d10051b306cba59c502eea9a33971 | [
"BSD-2-Clause"
] | permissive | EMSL-Computing/ftmsRanalysis | 46c73a727d7c5d5a5320bf97a07e9dac72abd281 | dd3bc3afbf6d1250d1f86e22b936dcc154f4101d | refs/heads/master | 2023-07-21T18:13:26.355313 | 2023-02-09T17:03:09 | 2023-02-09T17:03:09 | 122,233,846 | 14 | 10 | NOASSERTION | 2023-07-11T16:34:15 | 2018-02-20T17:52:18 | R | UTF-8 | R | false | false | 9,461 | r | test_filters.R | ## Basic functionality tests for peakData objects
library(ftmsRanalysis)
context("filtering on peakData objects")
test_that("mass filters work correctly on peakData", {
data("examplePeakData")
# test with a random mass column name and make sure it is unique
tmp_masscol = sample(LETTERS, 10)
tmp_masscol = m... |
d3bc0cefa1c1467f49f12e077766acb56b1841c2 | e75a40843a8738b84bd529a549c45776d09e70d9 | /samples/client/petstore/R-httr2/test_petstore.R | 7aa5a16c639ae2c0564ea16aad5aaa49dd353ba4 | [
"Apache-2.0"
] | permissive | OpenAPITools/openapi-generator | 3478dbf8e8319977269e2e84e0bf9960233146e3 | 8c2de11ac2f268836ac9bf0906b8bb6b4013c92d | refs/heads/master | 2023-09-02T11:26:28.189499 | 2023-09-02T02:21:04 | 2023-09-02T02:21:04 | 133,134,007 | 17,729 | 6,577 | Apache-2.0 | 2023-09-14T19:45:32 | 2018-05-12T09:57:56 | Java | UTF-8 | R | false | false | 5,007 | r | test_petstore.R |
install.packages("petstore_1.0.0.tar.gz",repos=NULL, type="source")
library(petstore)
library(jsonlite)
t <- Tag$new()
t$id <- 123
#t$additional_properties <- c("abc" = 849)
print(t$toJSON())
print(t$toJSONString())
print("done tag")
t <- OneOfPrimitiveTypeTest$new()
#t$fromJSONString("[1,2,3]")
var_pet <- Pet$n... |
fafb2497abcbe8b46c5f3bab92a8fe4e16286222 | 9bd311ddca0e60ee4007a806c19e5e764c2c8558 | /man/circ.dens.Rd | eeac827b144d7e1e85ec0ec7b78bd05911095074 | [] | no_license | raim/segmenTools | 8b34fc62c4e10d2ffa4423cc972367b9def2c689 | 7d356916b09a0cc019baf152de5dbf778130c0a1 | refs/heads/master | 2023-08-18T15:50:03.200348 | 2023-08-09T14:27:16 | 2023-08-09T14:27:16 | 77,826,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,961 | rd | circ.dens.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/osciTools.R
\name{circ.dens}
\alias{circ.dens}
\title{circular density}
\usage{
circ.dens(
x,
bw = 18,
n = 512,
freq = FALSE,
units = "degrees",
high.mem = FALSE,
na.rm = TRUE,
...
)
}
\arguments{
\item{x}{phases in degrees an... |
ebae08ba82a30098f10a7fb931aabb5b28872651 | afd66cd57fcd3e064d2c0a9c64c5d3f1bb5fbf3e | /MergeDEMs.R | dc4ab15310928cb731465ca9e04b96f3cb1a404f | [
"MIT"
] | permissive | bo2we/R-geos | dca3cf612aa4066ee52ccf579408eae131b71888 | 747d462ada4567457cdfbaaa0febb8fbf81f4327 | refs/heads/master | 2022-08-31T14:17:50.169579 | 2020-05-29T08:08:33 | 2020-05-29T08:08:33 | 267,775,163 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,146 | r | MergeDEMs.R | # This script is used to mosaic tif files in a folder
# Bowei Chen @ 2018, contact: rs.cbw@foxmail.com
if (!require("gdalUtils")) { install.packages("gdalUtils"); require("gdalUtils") }
if (!require("raster")) { install.packages("raster"); require("raster") }
# uses all tiffs in the current folder
f <- list.files(pa... |
df082fe512f7cbb05f0755d6c442b48d1724b52e | 0129942d834860967aaa7cc2eb02a7d1d2190dad | /slides/forests/rsrc/fig-cart_forest_fimp_1.R | ea154ccf12616647aeb2a916f802b78231704487 | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | 11813147ak/lecture_i2ml | eac7bdd87e2d8987c3fdc2dc4b08624cb8db2fdc | 01ed75190311484800f1cdf6a9551716fbfdc71c | refs/heads/master | 2022-12-24T23:49:41.865456 | 2020-10-01T06:54:10 | 2020-10-01T06:54:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 989 | r | fig-cart_forest_fimp_1.R |
library(knitr)
library(mlbench)
library(mlr)
library(OpenML)
library(ggplot2)
library(viridis)
library(gridExtra)
library(ggrepel)
library(repr)
library(data.table)
library(BBmisc)
library(party)
library(rpart)
library(rpart.plot)
library(randomForest)
library(rattle)
library(smoof)
library(ka... |
4b63e60dad8dda693b6c8ffef9abab957c5433d2 | 58691c7e1dd0c241de7ec2898ea66b5d2e5f5f4a | /R/mfd.R | 5dbf1acbf1f83906b2399d30f4646cdd5f22f6f1 | [] | no_license | PSegaert/mrfDepth | b7fefd1bc3e897c9b095fac0e0f4c2cf9b3ad45a | a1118ddeef1997c72aedbc65dc83b48deda807e3 | refs/heads/master | 2021-01-18T22:23:13.435472 | 2018-10-12T08:55:47 | 2018-10-12T08:55:47 | 87,052,317 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,512 | r | mfd.R | mfd <- function(x,
z = NULL,
type = "hdepth",
alpha = 0,
time = NULL,
diagnostic = FALSE,
depthOptions = NULL) {
######
# Check input.
if (missing(x)) {
stop("Input argument x is required.")
}
#Check x
if (!is.array(x)... |
18d59fb177af501a5b767864989f31b70acf6d17 | ba29c87ff287c34a1946e2023a0107b6327c7e0b | /plot_man.r | 2c2574c80aa37bc45853c682057cc11d41446449 | [] | no_license | apsteinmetz/rays | c167eb378dfec041c86db787424f394bc8162461 | ee99803824eab2a1148379067110345c220e891a | refs/heads/master | 2023-06-23T07:17:04.748249 | 2023-06-12T17:22:37 | 2023-06-12T17:22:37 | 168,065,794 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 880 | r | plot_man.r | # plot manhattan
library(tidyverse)
library(rayshader)
skyline <- as.array(man_raster)
elev_matrix <- matrix(
raster::extract(
man_raster,
raster::extent(man_raster),
buffer = 1000,
fun = mean,
na.rm = TRUE
),
nrow = ncol(man_raster),
ncol = nrow(man_raster)
)
zscale = 30
#ambmat <- am... |
2c0965f961441cded264d2176df5d3291d56a81b | 880a3d1e88a31a36cc76669ed4b7e70db5c02e54 | /Required Packages.R | f4548459340ba2309f777686e615817e019c39ca | [] | no_license | Suggestions-Only/Logistic-Regression--Grad-School-Admit | a22cae23769277d7ff8c475ff2bc759d3fde9279 | 89f5e50874d92a449aca6af801f1bb317377d596 | refs/heads/master | 2022-07-25T12:11:57.628440 | 2020-05-14T05:08:54 | 2020-05-14T05:08:54 | 263,820,279 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 88 | r | Required Packages.R | install.packages("mlbench")
install.packages("caret")
install.packages("ModelMetrics") |
ad29fc1f955d6de5ee93edfc4a972e10f3c9ad9e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/morgenstemning/examples/morgenstemning.Rd.R | 3cb9c312ca1c7b378917c9de0daf9622254e5fd0 | [] | 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 | 242 | r | morgenstemning.Rd.R | library(morgenstemning)
### Name: morgenstemning
### Title: Create a colorblind-safe vector of 'n' contiguous colors.
### Aliases: morgenstemning
### ** Examples
require(graphics)
# A color wheel
pie(rep(1,12), col=morgenstemning(12))
|
2028ee18778ee46b5f95182a44721c83f8713dd6 | ff05af7e6997878635a935fd4b7bbc89f2b4c971 | /plot3.R | 4def2b52f3919fbb1abf29b84e95ff9ff271b64c | [] | no_license | LStepanek/ExData_Plotting1 | 6954c81454bbfa333bbb66b1ca9db17733b1abfb | a8489d65dccd05f0e83b30247741dda33a44bb7a | refs/heads/master | 2020-05-25T14:18:18.447739 | 2014-05-12T01:10:39 | 2014-05-12T01:10:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | plot3.R | # a working directory is set and data are loaded into "data" dataframe
setwd("C:/Users/Lubomír Štěpánek/Documents/Data Science Specialization/Exploratory Data Analysis/Week 1")
data<-read.table("household_power_consumption.txt",header=TRUE,sep=";")
str(data)
# new data called "data2" are extracted from the original ... |
4fee5fff845d06ea282e7d1bf587bdd5b5ab5a0e | c3f02c0f6a03e32bc752cbd2922b023ad01d6d9b | /iscience_functions.R | b1eefebb69c41b4df69b14b1e366bcc5746fed50 | [] | no_license | twkim-0510/SARS-CoV-2_viral_competition | 231c58f02ec33fd5aea567a4bec91296d1ae8bcd | d027d54d1537b7ad3e0a47654992a426390091ef | refs/heads/main | 2023-04-19T03:25:47.509470 | 2022-10-20T12:15:08 | 2022-10-20T12:15:08 | 552,268,403 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,421 | r | iscience_functions.R | ################################################################################
# Functions used for analysis in the research paper of Kim et al., (2022)
# Relative infectivity of the SARS-CoV-2 Omicron variant in human alveolar cells Biorxiv
###########################################################################... |
8b7243b6098f20c5e7ddd2512628ff320739b4e7 | 3212f464f29865080db1d74d37acc4d0e4968bc7 | /Yuqiao Xu/PP_4A Yuqiao Xu.R | b39e8f859cac5c1defb169352296dc0f7c03128e | [] | no_license | davinia1991/Yuqiao-Xu-Quant-Assignment | 4f4e2ad9382586471ba38700c16864aca25caf00 | 3e4adb50ba0e1af262e9d55940b8d623ab8723ac | refs/heads/master | 2020-03-29T17:06:00.727847 | 2018-11-12T22:04:47 | 2018-11-12T22:04:47 | 150,143,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 121 | r | PP_4A Yuqiao Xu.R | library("lpSolveAPI")
x <- read.lp("PP_4A Yuqiao Xu.lp")
x
solve(x)
get.objective (x)
get.constraints(x)
get.variables(x) |
ee7ba224f9cd725c5c75d89a9541145778a7fb76 | ceed12ffef504f28fcee30ec31a9f00f922f39a6 | /r/roundingAndChartLimitFunctions.R | e7904a26590b5557ba29fe74ac417f8d485404fd | [] | no_license | andrw-jns/qipp | 91beb9a53b8d9c62afc038bac5748f884cd4fcc3 | a2e327046a9475368de1563ff266548f1ac72c19 | refs/heads/master | 2021-01-15T19:17:44.089413 | 2018-01-11T11:06:49 | 2018-01-11T11:06:49 | 99,814,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,534 | r | roundingAndChartLimitFunctions.R | cat("roundingAndChartLimitFunctions.R")
cat("Rounding functions")
cat("roundTo(x, roundTo, roundingDirection = \"nearest\")
rounds a number up/down/to the nearest multiple of roundTo")
roundTo <- function(x, roundTo, roundingDirection = "nearest"){
## Takes a number, rounds it to the nearest specified number, in... |
1112022e58bda023c216543988450e96d83520cf | a13d6aa828fbb33b8d8d32ad250e99ae81d5a76c | /R/NWalgorithm.R | cd2fafd261a872f7cc70d2599bc196c798365120 | [] | no_license | ygu427/seqAlign | e5bacaa1d3c2ced556bbea05d0f4dc9b930671f5 | 3cdc671a4af39922b967118335da03932fbc9127 | refs/heads/master | 2021-01-10T01:16:26.506621 | 2015-12-16T23:50:48 | 2015-12-16T23:50:48 | 48,104,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,211 | r | NWalgorithm.R | ### NWalgorithm.R
###
### Implement the dynamic programming algorithm
### Needleman-Wunsch algorithm for global alignment
### Pairwise protein sequence global alignment
### User input: two GeneBank identifier for proteins
### or input sequences directly (check box)
### or read FASTA file (if no input ... |
a0653aef00a3610de55fcb63e52a81c967367d18 | b3fcb957bb3e00a1a8f01564ce518769d60c73dc | /man/buildcorrsigned.Rd | 783d997678dd45507a6cf100e8b85fe1f9a930f4 | [] | no_license | hyenaproject/vullioud2018 | a5587ccf67fc39b0d166efd2131d4ba247025d36 | f5e9cb4b42fa6b03568d9c7999c8168c7064e2b8 | refs/heads/master | 2021-08-14T15:44:19.467145 | 2021-08-02T11:15:36 | 2021-08-02T11:15:36 | 133,958,243 | 2 | 2 | null | 2021-08-02T11:15:37 | 2018-05-18T13:30:26 | R | UTF-8 | R | false | true | 462 | rd | buildcorrsigned.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/models.R
\name{buildcorrsigned}
\alias{buildcorrsigned}
\title{Create the correlation matrix (used internally)}
\usage{
buildcorrsigned(id1, id2, type)
}
\arguments{
\item{id1}{focal id}
\item{id2}{other id}
\item{type}{type of interaction}... |
14eef433f785d8c6b8002c20693f6d1acc1d1c06 | 83c96349935fd5de4da4c447c036a5920937ba82 | /packagecasnit/R/euclidean.R | f83b0849a71d696710f3a427538cfd28fec93fbc | [] | no_license | nitinsverige/lthree | 38cab2784d2039c32e7c7e5e3d5af38c2eb05874 | 517a241f20f28832f98ad6672d6b5c2308a7ab75 | refs/heads/master | 2020-03-28T20:43:46.473893 | 2018-09-17T09:09:07 | 2018-09-17T09:09:07 | 149,071,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 555 | r | euclidean.R | #' Calculated GCD for 2 numbers
#'
#' @param x1 The first input
#' @param x2 The second input
#'
#' return
#' export
#'
#' @examples
#' euclidiean(45,135)
#' \dontrun{
#' euclidiean(45,45)
#' }
euclidiean <- function(x1,x2){
is.scalar <- function(femto) is.numeric(femto) && length(femto) == 1L
if(is.scalar(x1)... |
98bf73db6b6e103782ca75cd16785e9dd94426d5 | 3be300600d37093644591b80814ced43af84d76f | /man/getUniprotProteinNames.Rd | 5488e348fb728b4aacf3c3bd83424015acf51bea | [] | no_license | pcm32/proteinSetReport | 66550176706e98425109ed56cb6eb06039ec3505 | 2089f9110c6bea986607ed2f7b011cb380827c13 | refs/heads/master | 2020-12-14T07:32:14.248761 | 2015-09-23T12:54:48 | 2015-09-23T12:54:48 | 26,854,428 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 818 | rd | getUniprotProteinNames.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/proteinSetReport.R
\name{getUniprotProteinNames}
\alias{getUniprotProteinNames}
\title{Get UniProt Protein Names}
\usage{
getUniprotProteinNames(ensemblIDs, species = "mmusculus_gene_ensembl")
}
\arguments{
\item{ensemblIDs}{The ident... |
7ee597d4babcf580411098a404a3831a3d5bc363 | cf41e386480cf7bdf780fc6f4cba3ff99a7a7194 | /Course-Project1/Plot4.R | 3c4cdc75ea85e651cab7e16a256dc66998d63f1b | [] | no_license | jonneyliu/Exploratory-Data-Analysis | 1e32c9b26e6adabe87caa7895eae8223cc80f60f | 2ee9b5717e140d93cd5b0c2e4d1360e9949510e7 | refs/heads/master | 2020-12-24T15:23:04.800023 | 2015-04-23T09:17:49 | 2015-04-23T09:17:49 | 33,600,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,291 | r | Plot4.R | ##Exploratory Dat Analysis Course Project 1
####Plot 4
#Read full data
dt_full <- read.csv("./exploratory analysis/household_power_consumption.txt",sep = ';',header = TRUE,na.strings="?")
#take subset with below conditions
dt <- dt_full[dt_full$Date=="1/2/2007"|dt_full$Date=="2/2/2007",]
#convert date format using ... |
96a5d88712121d34b9be0a67c23665f54371f58d | d2f7fd6a08ae2bb6fe21f2b4681f85ea6378361d | /Use Likert Scale/app.R | 32b9d0dc844d0d5bc56867cac456e5e32657c8dc | [] | no_license | dorayin12/R-Shiny_Annual-Survey | 46d3def1c4906cf529dac0170cc35fe209832cd8 | 44292798c53842a3882eeba21492d58d39df3461 | refs/heads/master | 2020-03-21T20:43:55.053932 | 2018-06-28T14:20:13 | 2018-06-28T14:20:13 | 139,024,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,661 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#author: Wenjuan Sang
#############################################################################################... |
46725e364af739bb95afc562040fbe4f624aa82b | c9fd1e0b9810374d5a6747bdad47412b309102c6 | /man/ToxicoSet.Rd | 714d338104f99cb8806d99c9b3225c7eefecb933 | [] | no_license | bbyun28/ToxicoGx | ad6de798e180fb54a4aef508826c01dc84c3d448 | 22f857f0036eb0b6fc9bd6838bad324cc33065c4 | refs/heads/master | 2022-07-11T19:50:14.958048 | 2020-05-04T20:08:14 | 2020-05-04T20:08:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,455 | rd | ToxicoSet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ToxicoSet.R
\name{ToxicoSet}
\alias{ToxicoSet}
\title{ToxicoSet constructor}
\usage{
ToxicoSet(
name,
molecularProfiles = list(),
cell = data.frame(),
drug = data.frame(),
sensitivityInfo = data.frame(),
sensitivityRaw = array(dim... |
8a99990bdea6d336c27a6e82f4082ca4a97cf12c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rcompanion/examples/wilcoxonPairedR.Rd.R | ab3341e8fd976d9ddd33d8a9759e531c6950072b | [] | 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 | 295 | r | wilcoxonPairedR.Rd.R | library(rcompanion)
### Name: wilcoxonPairedR
### Title: r effect size for Wilcoxon two-sample paired signed-rank test
### Aliases: wilcoxonPairedR
### ** Examples
data(Pooh)
wilcox.test(Likert ~ Time, data=Pooh, paired=TRUE, exact=FALSE)
wilcoxonPairedR(x = Pooh$Likert, g = Pooh$Time)
|
9db0386897ec998a55c5f6c275e0fbe3f49d7676 | edf83ee07b5466ebfa5876be024d104e66e56973 | /ui.R | 63f7e93fe9aaa112ad28a4ce6ac148638742565f | [] | no_license | jeeachoi/EBSeq_MultiPattern | dcd68e3c9efd845d1ec6dc7a7e569d5eafff44b9 | 92b97c3531ce10aff55a0d8b9b6fd24da08fc834 | refs/heads/master | 2020-07-29T14:22:20.633273 | 2016-12-16T18:57:01 | 2016-12-16T18:57:01 | 73,663,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | ui.R | library(shiny)
library(shinyFiles)
#library(gdata)
options(shiny.maxRequestSize=500*1024^2)
# Define UI for slider demo application
shinyUI(pageWithSidebar(
# Application title
headerPanel("All patterns for EBSeq multiple condition analysis"),
# Sidebar with sliders that demonstrate various available options... |
bb976a402df20b885e02c0eb583bccc73ca123df | 53fea4d7928676ee05ca2d3242b0bef6c5ec5c09 | /SimplePerceptron/R/Perceptron.R | 73f8b4901d5ee8fcb7f02f25fac7ab228d778576 | [] | no_license | sm2k2010/SimplePerceptron | 9dacad8196f0f552ef962919cad7a09653834c4a | 77b27263ddefbdb247be4defaf6f5ec57f1a9bd9 | refs/heads/master | 2021-08-28T16:33:13.595820 | 2017-12-12T19:18:40 | 2017-12-12T19:18:40 | 114,029,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,289 | r | Perceptron.R | library("devtools")
library(roxygen2)
setwd("parent_directory")
create("SimplePerceptron")
# The function accepts a dataframe from the user
# It also accepts the learning rate - learn, and number of iterations needed - iterations
simple_perceptron <- function(x, y, learn, iterations)
{
# initialize weight... |
f3630866dcedf968187b134741a3a93a355b381f | e82c2b367e34c7e3e9877b24213ed716910dedb4 | /string_functions.R | ce754bffc918dfc353978f189f174c99363510a6 | [] | no_license | pcsinu/Acadgild-Assignment-4.3 | d2b63801df314e8a05d0b224695347912c93cd95 | 277f672a5719396d96c2cdad6248cf25e61e1a74 | refs/heads/master | 2020-05-28T04:12:49.247026 | 2019-05-27T16:44:51 | 2019-05-27T16:44:51 | 188,875,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | r | string_functions.R | library(stringr)
states=rownames(USArrests)
print(states)
small_w <- 'w'
big_w <- 'W'
nameswith_w <- states[str_detect(states , small_w )]
nameswith_W <- states[str_detect(states , big_w )]
#Name with w
print(nameswith_w)
#Name with W
print(nameswith_W)
#Number of charactors
charactor_numbers <- nchar(state... |
6a29c46d13662496d28a915589089d3d2ca5fc3b | 078778377c7d923f21ce0836165e7e6b03a91aa0 | /man/check_mc_arguments.Rd | 56da4b908e0ae26c1c94dace7545005385e3b024 | [
"MIT"
] | permissive | frietchr/SQualtrics | 1e4a1430dfd837e167aa58dcba62839ecf51382c | ddfb75058abaaa3b020d85bf962c25331a6eb970 | refs/heads/main | 2023-02-07T19:09:57.915427 | 2020-12-21T00:52:51 | 2020-12-21T00:52:51 | 308,368,088 | 0 | 0 | null | 2020-12-10T02:17:10 | 2020-10-29T15:19:18 | R | UTF-8 | R | false | true | 1,186 | rd | check_mc_arguments.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qualtrics_function.R
\name{check_mc_arguments}
\alias{check_mc_arguments}
\title{Title Check Qualtrics Multiple Choice Arguments.}
\usage{
check_mc_arguments(questions, answer_scale)
}
\arguments{
\item{questions}{Required. The questions para... |
1400a64b57aa25c9b620b14740b76fe2baade26d | 79c7597505de4b8ead82ae0c8cd7447790f9de32 | /R/oh.campaign.create.R | b7c1e3e6a1b8379518cd4c2680d261971b61e229 | [] | no_license | jeroen/Ohmage | e313734e9502a6cdf8ba223c09d41c496b8955ac | 5d46cd4ec39ff5fa39ab7ebb171720ce2e2fd4f4 | refs/heads/master | 2021-05-28T16:30:21.448739 | 2014-11-18T18:27:36 | 2014-11-18T18:27:36 | 2,479,978 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 637 | r | oh.campaign.create.R | #' Create a new campaign
#' @param xml campaign.xml
#' @param running_state if campaign is running or not
#' @param privacy_state private or shared
#' @param class_urn_list classes to add
#' @param description a description
#' @param ... other stuff passed to the server
#' @export
oh.campaign.create <- function(xml, ru... |
142c239874a856f6d5d17b6240d4e70ab51cbac9 | 9e5de09ab170bfd301f96129736ce7101de6fac2 | /data/continuous tensor/NIPSdata.R | 2c3871c481970d35dc68b7694e6b55a91aa44caa | [] | no_license | Miaoyanwang/signTensor | 1a48b1262456a1cff8caf5d89fa4bc6fe3b15dd9 | 24db67e8af4611688dab9548dd5772f14b6d1eb5 | refs/heads/main | 2023-04-16T11:39:05.244577 | 2021-01-18T07:44:02 | 2021-01-18T07:44:02 | 330,591,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,498 | r | NIPSdata.R |
####################################################
# data preprocessing ###############################
papers = read.table("~/mode-1-papers.map")
papers = papers$V1
authors = read.table("~/mode-2-authors.map")
authors = authors$V1
words = read.table("~/mode-3-words-2.map")
words = words$V1
years = read.table("~/mod... |
ffc9db3081a24769ae0a67afdddf921b1064a8b4 | d5342032c561e7085b40116c53c0bc56a95c7394 | /violentcrimes.R | 51139366e81702cab254e8c39d398a9a2076d1b9 | [] | no_license | gerwindekruijf/BayesianNetworks | 872f0ac7e18970c174d0175c225fd36a057e066c | cd22299d931e978b12db1b6ada995ede6311594a | refs/heads/master | 2023-01-23T03:20:23.257780 | 2020-12-09T13:18:59 | 2020-12-09T13:18:59 | 296,850,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,326 | r | violentcrimes.R | # Olivier Brahma s1061745
# Gerwin de Kruijf s1063465
# Dirren van Vlijmen s1009852
# Read the data
communities <- read.csv("http://archive.ics.uci.edu/ml/machine-learning-databases/communities/communities.data",
na.strings = "?", header=FALSE)
# All the vars which have to be kept, the... |
eeae1c227a41cf8a46b7add64916090989350a76 | 00d006eb2a619cad00be4ac330fb7d3f144e5c4b | /R/mcmh_mc.R | 7abea1c4ca78786b52aaadcc86d3e1eee124e93e | [] | no_license | mlthom/CogIRT | da38be78583681e9584f5f9275a5f04d882cb014 | ed60801a9753029d27fe32338827b66dd54ffba9 | refs/heads/master | 2022-06-23T21:26:38.894571 | 2022-05-30T22:56:48 | 2022-05-30T22:56:48 | 203,634,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,095 | r | mcmh_mc.R | #-------------------------------------------------------------------------------
#' MCMH Parameter Estimates for Multiple Chains
#'
#' This function calculates MCMH parameter estimates for multiple chains. See
#' documentation for mcmh_sc.R for more information.
#'
#' @param chains Number of chains in the MCMH sampler ... |
a6f2e7585fec5274954b0b4a15021092f40be274 | 9a92a4aa3d4afc87bfa13ec4145abedc1ab80b7c | /Code/CTSim/R/run_sim_N.r | 3fe8941de4647fbe09403a3d2d3ead1018bad7e3 | [] | no_license | hurlbertlab/core-transient-simulation | 68c5d2b8176283a801d77b9aacb7cef7a00e4dd3 | 52ab2aa2d163b5d5dd1e4a8a6aacb1c66d1e4f76 | refs/heads/master | 2021-01-16T23:51:11.430063 | 2019-08-20T19:31:45 | 2019-08-20T19:31:45 | 59,146,872 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,354 | r | run_sim_N.r | #' Run multiple simulations
#'
#' Runs multiple independent simulations on the same set of parameters.
#'
#' This function runs multiple independent simulations on a set of parameters
#' given in \code{parms}. Each run generates a new landscape, species pool,
#' global species abundance distribution and initial metac... |
833e4c1bc4176bf1febbb7f9cd76f1d6d95d0dbc | 403582dddb1f3bbe0d3abe51aa0feca62e471985 | /tests/testthat/test-examples.R | ef29b67a08fd320a8c2afed2e5efaeb02e11f725 | [] | no_license | rkillick/changepoint | 836ac7e64e1bba962ca8ccece1072e1ec54b41e0 | 5253a05c63b67230d9c78cf5e3914c81c67a52ec | refs/heads/main | 2023-07-19T19:02:19.293558 | 2022-11-08T22:50:07 | 2022-11-08T22:50:07 | 49,007,800 | 121 | 50 | null | 2022-11-08T22:50:08 | 2016-01-04T16:08:49 | R | UTF-8 | R | false | false | 13,724 | r | test-examples.R | context("man file example tests")
# From changepoint-package.Rd
# change in variance
set.seed(1)
x=c(rnorm(100,0,1),rnorm(100,0,10))
ansvar=cpt.var(x)
test_that('var1',expect_identical(cpts(ansvar),100))
# change in mean
set.seed(1)
y=c(rnorm(100,0,1),rnorm(100,5,1))
ansmean=cpt.mean(y)
test_that('mean1',expect_ident... |
a9e5ecdfa09ff2a08e071956d756e494af8c8054 | 510bc25ad2b6e67e4a3c13043cacd4424b75552e | /R/class_cnsVariable.r | 2b6419d4ccce71402424442166855080365aeba3 | [] | no_license | orangeluc/energyRt | ff7423a2010d8edc3915034c396f079662ea4315 | c72d1a528a95ef8fada215e0abef45d523383758 | refs/heads/master | 2020-04-24T06:04:06.819280 | 2019-02-20T13:26:26 | 2019-02-20T13:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,639 | r | class_cnsVariable.r | #---------------------------------------------------------------------------------------------------------
# cnsVariable
#---------------------------------------------------------------------------------------------------------
setClass('cnsVariable',
representation(
parameter = "character",
... |
3f6f988142e00dfb6d80cb82a0699804a0ab1147 | a06da6adbad285ae75e75666323e33bdd0f02de4 | /old/8_delele_tmp_files.r | 92c365d30b4cb3b5cf30915a83d8d356cb78a835 | [] | no_license | lkaiser7/IS_V2 | 5c3ab012576a935444b854300703ba382e80f942 | ef6d498f644db615dee11af580ea62a96b54bf0b | refs/heads/master | 2023-06-16T23:10:38.880561 | 2023-05-30T16:41:35 | 2023-05-30T16:41:35 | 37,231,310 | 0 | 1 | null | 2022-10-27T18:02:47 | 2015-06-11T01:04:33 | R | UTF-8 | R | false | false | 562 | r | 8_delele_tmp_files.r | sp_nm = all_sp_nm[1]
for (sp_nm in all_sp_nm){
sp_nm = as.character(sp_nm)
sp_dir = paste0(str_replace_all(sp_nm,"_", "."), "/")
temp_sp_files_to_delete<-paste0(project_path, sp_dir, "delete_temp_sp_files/", "*")
unlink(temp_sp_files_to_delete, recursive = T, force = T) #delete previous frames
# Loc <- "mydi... |
28465d7a167b1654f90857a4ebdc6ebeebb88e5e | b58aa88001f89d3e1576994ac209f0edf65db444 | /CoD/main-madelon.R | 01373d6bec29c385dd5cbfb2538aa3c5d4878acd | [] | no_license | lesasi/CoD-gradient-descent | 0f3e56c84bdd4a4de107546ce30b04a9d5d8da44 | d149be700273c4448f76ce756b895b8cb9df4efc | refs/heads/master | 2022-04-18T00:28:52.713322 | 2020-04-19T11:58:30 | 2020-04-19T11:58:30 | 256,986,266 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,458 | r | main-madelon.R | #Set current working directory
setwd(dirname(rstudioapi::getSourceEditorContext()$path))
#Include files
source("FLD.r")
source("SVD.r")
source("PCA.r")
source("PLS.r")
source("classifySVM.r")
#Include libraries
library(e1071)
library(pls)
library(MASS)
library(caTools)
library(kernlab)
x<-read.table("made... |
67546b8df9905c108d546c88d7ed5a31017cc2fa | 5f89a48ae87264a697476717b543215e1ef496aa | /scripts/kmeans.R | 9b3199ac349e3b653b6277fa12a8a6acf8846e64 | [] | no_license | miloknowles/17.835-finalproject | 3c9c2d97efa306f9d72401a55339ac4e24aff29e | 885f80345d2ff9d6903b751f5acf7b53b86bbd93 | refs/heads/master | 2020-03-08T23:31:17.939211 | 2018-05-19T00:16:57 | 2018-05-19T00:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,102 | r | kmeans.R | # AJ's work on kmeans
# Get XLSX package.
# install.packages('openxlsx') # Uncomment this to install the package.
library('openxlsx')
library('rworldmap')
setwd('C:/Users/aroot/Desktop/Classes/17.835/Project/gitstuff/17.835-finalproject/images/kmeans/')
# MAKE SURE CURRENT WORKING DIRECTORY IS SET TO THIS FILE!
PROC... |
1bda197849c3d715ca0850c8c60355e7d74474db | 320ddefc84d992475db8b83befde46e2b780314f | /man/stan.error.Rd | d5ec6e25ee38075f50b59f53a9845490a93cac8e | [] | no_license | cran/asbio | bca146e402058cd67ff5fc42423cb0c0544f942b | 3cb01b7cb1a8dec60a5f809f91bc460a6566954d | refs/heads/master | 2023-08-31T23:43:08.304864 | 2023-08-20T02:22:36 | 2023-08-20T04:30:48 | 17,694,492 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 516 | rd | stan.error.Rd | \name{stan.error}
\alias{stan.error}
\alias{stan.error.sq}
\title{Variance and standard error estimators for the sampling distribution of the sample mean}
\description{Estimator for the variance for the sampling distribution of the sample mean, i.e. \eqn{S^2/n}, and the standard deviation of the sampling distributi... |
925376c5f677ccf06c9c5d4ad6ef902d418664c7 | 154b7c69214c2005d6746f832ca317a8dde85ce4 | /Rlabkey/R/labkey.selectRows.R | c3c124a61f02365460dbd93413bbcfdba49ac75a | [
"Apache-2.0"
] | permissive | SRenan/Rlabkey | 22e6f9dd765c47b66d27146afe92dfaf05d2a2fa | 470820f4d5414844e2da480abb3dae62821f354f | refs/heads/master | 2020-06-02T20:37:01.828711 | 2013-09-24T17:27:22 | 2013-09-24T17:27:22 | 13,071,617 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,226 | r | labkey.selectRows.R | ##
# Copyright (c) 2008-2013 Fred Hutchinson Cancer Research Center
#
# 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.apache.org/licenses/LICENSE-2.0
#
# Un... |
ea5c177a79153434e27bbedd1b75c889476257cc | be5dacb84d9a27c35e9faae863e1603b4946709b | /AltruisticLanguage/regressionFinal.R | fd57aa46cd012bf52c87e25e99168bc9214841af | [] | no_license | ghllee/CS6742 | 7e878e510264c91b00ef0c0adb6109b820bcf13c | f0815e907dfa5ea6126f94e94a8081cbf30ae511 | refs/heads/master | 2021-01-14T11:00:27.540115 | 2015-01-15T06:37:09 | 2015-01-15T06:37:09 | 28,832,687 | 0 | 0 | null | 2015-01-05T21:30:40 | 2015-01-05T21:30:40 | null | UTF-8 | R | false | false | 4,360 | r | regressionFinal.R | setwd("/home/jack/Desktop/NLP/CS6742/AltruisticLanguage")
library('Matrix')
library('glmnet')
library('foreach')
library('doParallel')
registerDoParallel()
rsort <- function(x) {
sort(x, decreasing = TRUE)
}
setwd("regressionData")
data <- readMM("all.mtx")
headers <- read.csv("all.csv")
setwd("..")
colnames(data) <... |
ac8a297c2c16ff69eaef810715b4ff9afb5b4983 | 79f5edebf760abb8ccc4e58f246586ad71f5eb6c | /man/remove_question_type.Rd | 712acca608f56575d086683c1e56a8ce7c46b71c | [
"MIT"
] | permissive | rwash/surveys | 3b09bd12633ed5322b35224cc79d90cc5b2443d7 | 4cded70f3aabd097f2f1e9ccb75a1c9d1639f40f | refs/heads/master | 2023-04-29T05:50:11.471493 | 2023-04-20T13:41:56 | 2023-04-20T13:41:56 | 31,321,921 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 379 | rd | remove_question_type.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/detector.R
\name{remove_question_type}
\alias{remove_question_type}
\title{Remove a question type from the auto-detector}
\usage{
remove_question_type(name)
}
\arguments{
\item{name}{Character string name of the question type to remove}
}
\de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.