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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d4ce26d97b48219accdd9f009ef6e961f997b79 | b984267f3a264d76e3392bbc576fec630bda7050 | /cachematrix.R | aa34bace229a2a9f3b625fecf09806b06253197b | [] | no_license | berlincarrie/ProgrammingAssignment2 | 28ad71e6cb7f7d45eb08b91d1ce937e3e02818ae | 50dc06d1cdf28735fb5480ae2fee9f29dfab5837 | refs/heads/master | 2022-12-07T07:10:54.564559 | 2020-09-06T20:22:58 | 2020-09-06T20:22:58 | 293,340,627 | 0 | 0 | null | 2020-09-06T18:42:49 | 2020-09-06T18:42:48 | null | WINDOWS-1252 | R | false | false | 1,646 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# makeCacheMatrix is a function that returns a list of functions
# Its puspose is to store a martix and a cached value of the inverse of the
# matrix. It contains a list of 4 functions.
# * setMatrix set the value of a matr... |
8cb57d86382575786ac8cc936ad050d1c1c21684 | 93d1fcc7758e5e99927be0529fb9d681db71e70c | /man/organize_database.Rd | 648a5d6104a64667eb810773901360ee6c25810a | [] | no_license | psychmeta/psychmeta | ef4319169102b43fd87caacd9881014762939e33 | b790fac3f2a4da43ee743d06de51b7005214e279 | refs/heads/master | 2023-08-17T20:42:48.778862 | 2023-08-14T01:22:19 | 2023-08-14T01:22:19 | 100,509,679 | 37 | 15 | null | 2023-08-14T01:06:53 | 2017-08-16T16:23:28 | R | UTF-8 | R | false | true | 2,473 | rd | organize_database.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrangle_data.R
\name{organize_database}
\alias{organize_database}
\title{Organize a database of multi-construct or moderated information}
\usage{
organize_database(
es_data,
sample_id = NULL,
citekey = NULL,
construct_x = NULL,
cons... |
498e1112d25aa7cb30c7ce37e071a1e8eaf229f7 | 5e0f953d7499fc1750bcd87a34524023046e1160 | /src/2-summarise/functions/plot-example-trial.R | ce7d21c38aba4f780ef16b549013d5f9b867078d | [] | no_license | seunggookim/pdec-analysis-2 | d16a45b70e13974136c6a30885330e2d33470b4f | 63264ad78d988645c408d9c25e872a573541b56d | refs/heads/master | 2023-03-18T11:19:12.094275 | 2020-07-09T11:31:53 | 2020-07-09T11:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,582 | r | plot-example-trial.R | plot_example_trial <- function(x) {
filter(x, label == "L4 + exp.decay") %>%
{.$res[[1]]} %>%
filter(alphabet_size == 10 & tone_len_ms == 50) %>%
{.$detail[[1]]$res[[1]]} %>%
plot(lag = FALSE)
}
plot.trial_analysis <- function(x, lag = TRUE, ...) {
palette <- viridis::viridis_pal(end = 0.7)(2)
... |
d4c8b1a02cfa5d502c3cc1418ef4241b555e363a | 046902684f911ccbc54ae7dd8c3f28e1379a4f50 | /man/apply.ECOVSF.cal.Rd | f0ae7c918842d50dfb08ac2a80001edc336088a0 | [] | no_license | belasi01/Riops | 1632e9fa5aa94d73cb59dae47cdd9b0a3acaa5db | 59b3fe0229b24d90c6720bb7705dfe97f4206f07 | refs/heads/master | 2023-03-15T12:53:17.142723 | 2021-06-21T16:07:25 | 2021-06-21T16:07:25 | 73,815,809 | 0 | 4 | null | 2023-03-09T21:34:21 | 2016-11-15T13:23:56 | R | UTF-8 | R | false | true | 283 | rd | apply.ECOVSF.cal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apply.ECOVSF.cal.R
\name{apply.ECOVSF.cal}
\alias{apply.ECOVSF.cal}
\title{Apply ECOVSF calibration}
\usage{
apply.ECOVSF.cal(eco, dev.file = NA, dark.file = NA)
}
\description{
Apply ECOVSF calibration
}
|
8d3d4cb30bea0196f072edd9e7ee59e6c2a99a21 | b945a76daddff0988dccaf4dcf4af8c296c296d7 | /plot3.R | 0fba3314644a51fe518b3fc4e81c06b32ffb2a7d | [] | no_license | pooimun/coursera-01_exploratory_data_analysis_course_project_1 | f5cc0e21a81eedbd16d61565b33bccbbd8b01912 | d18742628e777dc0990853adc27a2d21ddd202ce | refs/heads/master | 2020-05-20T10:08:15.058561 | 2019-05-08T03:22:09 | 2019-05-08T03:22:09 | 185,519,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 828 | r | plot3.R | #Read data
data <- read.csv('household_power_consumption.txt', header = TRUE, sep=';',stringsAsFactors = FALSE,dec = '.')
data2 <- subset(data,data$Date == '1/2/2007'|data$Date == '2/2/2007')
data3 <- subset(data2,data2$Voltage !='?')
#Plot 3
Sub_metering_1 <- as.numeric(data3$Sub_metering_1)
Sub_metering_2 <- as.nume... |
c1203ad2631c04786c553fabe0039a924bf953f1 | f07e2ce68624b33053d5c3ad997e7806d9df4bb2 | /secretrabbitau/secretrabbitau.r | a8ea2ef3aff8a7c5a788b9c7f331c40b165c7a92 | [
"BSD-2-Clause"
] | permissive | kevin--/stretchfix | b2d079e6c0219ba7e2c611dce00293cdfdb8326b | 16a097ca5668a5cb57f2f6b2e8516320ea6fb429 | refs/heads/master | 2021-01-10T08:21:15.652411 | 2020-10-03T06:51:46 | 2020-10-03T06:51:46 | 72,315,023 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,031 | r | secretrabbitau.r | /****
SecretRabbit Varispeed - SecretRabbitCode / libsamplerate AudioUnit wrapper, implementing a Varispeed
Copyright (C) 2008 Kevin C. Dixon
http://yano.wasteonline.net/software/srvs/
http://www.mega-nerd.com/SRC/
****/
/*
secretrabbitau.r
SecretRabbitCode sample rate conversion Audio Unit
*/
#include <AudioUnit/Au... |
afcc49538fd7ccdbdb075b21bf5896a470002b6b | d0f5623feadaad07540301d0fe2c64440ec02e39 | /tenxutils/man/g_legend.Rd | 0631c25daeb0883efcffc8295dfa187e712939d9 | [
"MIT"
] | permissive | sansomlab/tenx | 81d386f4f593af88565cb7103c4f9c8af57b074a | 1bfd53aaa3b86df1e35912e1a4749dcb76c4912d | refs/heads/master | 2023-07-25T22:31:32.999625 | 2023-07-12T11:11:17 | 2023-07-12T11:11:17 | 136,856,953 | 54 | 18 | MIT | 2022-03-13T15:05:54 | 2018-06-11T00:53:52 | R | UTF-8 | R | false | true | 279 | rd | g_legend.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Plot.R
\name{g_legend}
\alias{g_legend}
\title{Extract a legend from a ggplot}
\usage{
g_legend(a.ggplot)
}
\arguments{
\item{a.ggplot}{A ggplot obect}
}
\description{
Extract a legend from a ggplot
}
|
610672c82207eb2e58c108f73f4c9255ee047e56 | f18b8f49aeb0c881aa32329abb83d0813c30608f | /plot4.R | 31d809e977623ea2d7675ccedc393546466b31fd | [] | no_license | VimalaNandakumar/ExData_Plotting1 | 1c0b56a292c4f8d43d27a4225c74046f34288177 | e553c8581aa70beb3f2b51f62d0f1d7053c10444 | refs/heads/master | 2022-12-14T10:11:01.812571 | 2020-08-15T10:27:32 | 2020-08-15T10:27:32 | 287,064,377 | 0 | 0 | null | 2020-08-12T16:36:45 | 2020-08-12T16:36:44 | null | UTF-8 | R | false | false | 1,740 | r | plot4.R | library(data.table)
getwd()
# Set working directory to store the output
setwd('E:\\02 Vimala\\Graphs')
# read the text file based on the delimiter ;
ucidata <- read.table("household_power_consumption.txt", sep=";", header =TRUE, na.strings = "?",colClasses = c('character','character','numeric','numeric','num... |
0b90571da0f472d1bb3fb3700c1d2c6cf18aa7a3 | 985125c768ca67f655fddb99318379bc60861e9c | /man/recordRoutines.Rd | 3ce5b77d5b6a095dd9b05a547be64db0612f8127 | [] | no_license | TWilliamBell/routines | 0bf6ce5afcfe279a74c43372a57aee2d1dc3ddf2 | b7113eace54b8f1e36bd74b9a84d943cde0f8b75 | refs/heads/master | 2020-07-13T06:23:02.896238 | 2019-09-13T15:55:39 | 2019-09-13T15:55:39 | 205,016,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 431 | rd | recordRoutines.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/recordRoutines.R
\name{recordRoutines}
\alias{recordRoutines}
\title{Record Completed Routines}
\usage{
recordRoutines(routinesCompleted, completed = T, directory = getwd())
}
\description{
If you've completed an activity (or an activity was ... |
15fd27ab0943ea451ee38ce443b4206de07506d7 | 9a59934f0c7350f8dfdff104e05092a7ae5423dc | /R/calcmrnafracgeneral.R | 95c62c83fcf5f455a920a887472a6781b76fb0a5 | [] | no_license | usnistgov/mixturesolutions | f6866311804dfdefc536c10d72b285d333aef5f3 | 68af7bc28f3c4dd59d25c61db96b6932d115aa04 | refs/heads/master | 2021-01-17T21:53:59.819251 | 2016-07-29T17:00:43 | 2016-07-29T17:00:43 | 52,917,700 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,407 | r | calcmrnafracgeneral.R | calcmrnafracgeneral <-
function(dat,spikeID="ERCC-",spikemassfraction=.1){
#1) Identify which counts are Spike-In and which are not
#0) Identify which columns are counts and which are 'annotation':
countcolumns<-which(unname(unlist(lapply(dat,class))=="numeric"))
annotcolumn<-which(unname(unlist(lapply(dat,clas... |
55171fb1798208996665d6f11eb34a8b30335bdd | 576f09b3d1564ed04df333e009675fc6b193b58c | /Plot4.R | ce9498357a35207c918548711edb874dadc652ce | [] | no_license | sgausden/ExData_Plotting1 | 3a3e09f0e0725167e28262871a593699517100fe | 11d82c4f7712b832d3b0487ffec712d2935130af | refs/heads/master | 2021-01-13T06:26:57.341108 | 2015-10-11T17:56:13 | 2015-10-11T17:56:13 | 43,899,289 | 0 | 0 | null | 2015-10-11T17:56:13 | 2015-10-08T15:38:18 | null | UTF-8 | R | false | false | 1,642 | r | Plot4.R | # Load Packages
install.packages("lubridate")
library("lubridate")
# Get Working Directory
setwd("./R/Coursera Data Science/Exploratory Data Analysis")
destfile<-file.path(getwd(),"PowerData.zip")
# Load Data
sourcedata<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
d... |
ed1a79811a39a3c504e83ab5fd7e820977f1696c | c87a2a48db316a31d69794efba9b96a2ddee31aa | /tximport_deseq2_script_multi.R | e131e9aab889d007fda225a824d1587ca53822c7 | [] | no_license | rdoresz/MSc-thesis-project | be48d4a75a655d47f391227a2873b2e2ebcb7c84 | efe8081c4dd650eec8b6bcf27a6bac2eeba94ff6 | refs/heads/master | 2022-12-06T03:13:49.794617 | 2020-08-31T00:55:42 | 2020-08-31T00:55:42 | 282,692,782 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,505 | r | tximport_deseq2_script_multi.R | # This script was used to import quantification files into R envrinment via tximport and
# to do differential gene expression analysis (DEG) on them via deseq2.
# This script was used for analysing all 12 samples.
# Author(s): Dorottya Ralbovszki
# Created:2020.01.20.
rm(list = ls()) #Clear workspace
# import... |
6ce81d4b9d2732ec45588766b3413ed7ecb747a5 | 24b43cee70de15f2c30369da2afcfc9e5781f7a3 | /r/1_analysis-bisbing.R | 66a5cf0ef07cc2c75fc9194d73f83d2dbfe17879 | [] | no_license | esdarling/sci-twitter | 40c01082ff7f5222876c1b5e150380af953f2cd5 | d2498aeadd4ab4524b5d5eda11cb2cd5d2a59863 | refs/heads/master | 2020-06-18T02:04:09.666767 | 2018-03-19T15:18:49 | 2018-03-19T15:18:49 | 74,957,101 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,868 | r | 1_analysis-bisbing.R | ## =================
# code for Twitter followers
# created: 28 Nov 2016
# where? Paris!
## =================
library(dplyr)
library(reshape2)
library(stringr)
library(ggplot2)
library(ggrepel)
library(RColorBrewer)
library(vegan)
library(readxl)
#install.packages("readxl")
## =================
# load 110 scientist... |
d8bdae3d80e5c99505c471a21d9bc61d40c6343f | d5013aeb19664e104c3fcbc65ab2910194b3cccd | /plot3.R | 99651a5c55101b3e0ddf863aa899ebce9d3a1ba2 | [] | no_license | ricardorac/ExData_Plotting1 | e55e6342e2b56cc581547bed40dc5334577bc213 | 55d21d4b8734de995c3080bc7798108c2635cb91 | refs/heads/master | 2022-04-22T03:10:12.411303 | 2020-04-20T16:18:30 | 2020-04-20T16:18:30 | 256,484,633 | 0 | 0 | null | 2020-04-17T11:30:14 | 2020-04-17T11:30:13 | null | UTF-8 | R | false | false | 763 | r | plot3.R | library(dplyr)
data <- read.csv("household_power_consumption.txt",
na.strings="?", stringsAsFactors=FALSE, sep=";")
data$Date <- as.Date(data$Date,"%d/%m/%Y")
subset <- data %>% filter(between(Date, as.Date("2007-02-01"), as.Date("2007-02-02")))
subset$Time <- strptime(paste(subset$Date, subset$Time, s... |
5be3e11dfc6192e1a3c8bce243c30a4757f83466 | 65622a1c57ecd181a6927944135e298183d5f062 | /src/1_main.R | 9d2f2f4caa6ebba594cfd042e210a4b85fe4cc64 | [] | no_license | gabrielodom/IamComparison | 238334c676e0aef1b94d9ef29f8728c66b6eb118 | 27fb1bfa56670d1f23a77f22b0bfe8f7db36b371 | refs/heads/master | 2021-07-08T03:57:53.081174 | 2020-09-08T17:46:57 | 2020-09-08T17:46:57 | 184,143,571 | 0 | 0 | null | 2019-04-29T21:00:45 | 2019-04-29T21:00:44 | null | UTF-8 | R | false | false | 6,716 | r | 1_main.R | ###############################################################################
## Project: IntMethodCompPublication ##
## 1_main.R ##
## ##
... |
a7ccbc550ff56b733348e6f0007fbe89914f28ab | 63538ef67364d53ae169c7501ae9a95c874eef34 | /man/SEA-package.Rd | 0c2e0ff9502dc85f850b6ca47ef132d07a415391 | [] | no_license | cran/SEA | b9e658c8fd61ebcc7d84fb308d57bdbd32df0fcc | ef7fc9f003eb6c097ea659d3dbc632183b0b2673 | refs/heads/master | 2022-05-03T11:22:27.582739 | 2022-03-30T06:30:12 | 2022-03-30T06:30:12 | 134,713,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,582 | rd | SEA-package.Rd | \name{SEA-package}
\alias{SEA-package}
\alias{SEA}
\docType{package}
\title{
Segregation Analysis
}
\description{
A few major genes and a series of polygene are responsive for each quantitative trait. Major genes are individually identified while polygene is collectively detected. This is mixed major genes plus... |
c4881b939811d0e2fe84337e8386baaf42b789c8 | 259d9ec20951d12ada2e1200aece8ffafbc9f9d1 | /man/rates.Rd | 536668fd95de754071bf7cb3af3c8dd3fd08b58b | [] | no_license | rajsingh7/R-fixedincome | febf57b0f3ef0dca7955aa05e9518fe27da88c5b | 9eb216dbd0332050541725bdd3c7e0e2e1399b37 | refs/heads/master | 2021-06-20T18:59:28.945694 | 2014-08-31T19:45:09 | 2014-08-31T19:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | rd | rates.Rd | \name{rates.compounding}
\alias{rates}
\alias{rates.compounding}
\alias{rates.spotrate}
\title{Return the numeric rates}
\usage{
\method{rates}{compounding}(obj, value, term, ...)
\method{rates}{spotrate}(obj, ...)
rates(obj, ...)
}
\arguments{
\item{value}{a numeric value representing a compounding
factor}
\i... |
3426fc710a3c9244e07e462b7e477a82c0e3cfe1 | 21ccd44440e0b618072e771ca0b3c684a816c6c8 | /man/SquareBurst.Rd | 17c313bc6db9b53376a933bbad5fd27664c4ddd9 | [] | no_license | cran/OscillatorGenerator | 425e1732915f0abda30871a799c6364ccf0d5313 | 5f4b205c505f35d159f9b6d06a557a6c0fb9326f | refs/heads/master | 2020-03-16T02:36:44.881404 | 2018-05-07T12:47:53 | 2018-05-07T12:47:53 | 132,468,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,184 | rd | SquareBurst.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SquareBurst.R
\name{SquareBurst}
\alias{SquareBurst}
\title{Generation of a Square-wave Burst Signal}
\usage{
SquareBurst(baseline, peak, period, duty_cycle, sec_duty_cycle, sec_peak, trend,
duration, resolution)
}
\arguments{
\item{baselin... |
a25161733e7893bccf918046541ba8ada12d7818 | 79c0097a6317bfa517472a08008a68ce57152b3d | /plot2.R | 66df054bab6e2cc45ff36ff0e3932c8bd9026c83 | [] | no_license | pradeeppeddineni/ExData_Plotting1 | e911c74e8612c70eb3e2e4ec687b02d3a1f435c5 | aa54c850fb2a0f32048c882dd9823021c05d45bf | refs/heads/master | 2020-06-16T18:32:59.170900 | 2016-11-30T12:27:09 | 2016-11-30T12:27:09 | 75,076,729 | 0 | 0 | null | 2016-11-29T11:54:01 | 2016-11-29T11:54:00 | null | UTF-8 | R | false | false | 684 | r | plot2.R | ##read full data set.
d_f <- read.csv("household_power_consumption.txt", header = T, sep = ';',
na.strings = "?", nrows = 2075259, check.names = F,
stringsAsFactors = F, comment.char = "", quote = '\"')
##Convert the date format.
d_f$Date <- as.Date(d_f$Date, for... |
67af01617022a56fb59543e05d2b954e327fa245 | 3eefcbaa7faaff48f1335a3a3e4dc56e114c1ab0 | /familyCliques_runTADratioDown.R | 2c42f1cb30db38753a6203bfcf39c475fd47f709 | [] | no_license | marzuf/v2_Yuanlong_Cancer_HiC_data_TAD_DA | 9a435c08a9064d127a86d9909042bb4ff59ad82d | e33a0683ac7a9afe21cfec06320c82251d3ba0d5 | refs/heads/master | 2021-06-16T15:57:30.182879 | 2021-05-18T08:36:44 | 2021-05-18T08:36:44 | 202,159,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,895 | r | familyCliques_runTADratioDown.R | #!/usr/bin/Rscript
stop("-- use: _runTADmeanCorrRatioDown.R - corrected version\n")
startTime <- Sys.time()
# Rscript familyCliques_runTADratioDown.R
script_name <- "familyCliquees_runTADratioDown.R"
source("../Cancer_HiC_data_TAD_DA/utils_fct.R")
plotType <- "svg"
myHeight <- 5
myWidth <- 7
require(doMC)
requi... |
3ce911566cfba8d693c158c5db10e3849a951f34 | 94fc45cde7d78272fdc86b4645d5811cf3d70b5c | /04_01_analysis_main.R | 701b038ffe757fd8b2dff6173871ec2663e025c3 | [] | no_license | DavidKretschmer/covid-cohorting-code | 4227a876e1836f2d5bd004cd17f5bdd6ce2b6bbc | b7d6dd9bd2dc0edd6c2670c10ed40be8b8dc0eef | refs/heads/master | 2023-03-13T02:26:09.257023 | 2021-03-01T17:43:52 | 2021-03-01T17:43:52 | 343,501,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,533 | r | 04_01_analysis_main.R |
###############################################################
### Main Analysis for Main Text,Extended Data Figures ###
### and Supplementary Material A: County-specific results ###
###############################################################
##############################
### Load relevant packages ###... |
a71ed44d074236960ebf940c77c2421f6143317f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/seleniumPipes/examples/remoteDr.Rd.R | d7f8f72769d8980e61cef4673bb6c890ada47597 | [] | 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 | 416 | r | remoteDr.Rd.R | library(seleniumPipes)
### Name: remoteDr
### Title: Create a remote driver
### Aliases: remoteDr
### ** Examples
## Not run:
##D # assume a server is available at the default location.
##D remDr <- remoteDr()
##D remDR %>% go("http://www.google.com") %>%
##D findElement("name", "q") %>%
##D elementSendKeys("R p... |
67773d85a3c79db04e78885269a0dd3314a64673 | 72cc5f154465b5cac48a934f46f90e5d4eb85927 | /man/read_10x_data.Rd | 5c9e2995a10bac7edda17d03ba02dc4df878d038 | [
"MIT"
] | permissive | asmagen/robustSingleCell | 3f570ec16b9d04a1ea1ddfc0748f48517dbf48cf | f56f0de6307cdd5bab432df896b0e2661b086591 | refs/heads/master | 2023-07-19T21:11:40.210850 | 2023-07-16T20:49:55 | 2023-07-16T20:49:55 | 163,871,827 | 16 | 3 | MIT | 2020-06-05T16:33:43 | 2019-01-02T17:50:43 | R | UTF-8 | R | false | true | 379 | rd | read_10x_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_data.R
\name{read_10x_data}
\alias{read_10x_data}
\title{Read 10X Data}
\usage{
read_10x_data(path)
}
\arguments{
\item{path}{Path to directory containing matrix.mtx, genes.tsv, and barcodes.tsv}
}
\value{
a matrix of genes by cells
}
\d... |
55dccdeb03c0c686f7270a71269047112a39a58c | 497a6fa06fb167f53e531ff546f75cea2ff5ca72 | /man/loaloa.Rd | 476846a7860f10a1007b3e1a94f2debfdc4fb6af | [] | no_license | cran/geostatsp | 8ffd90b15240476ec6e12ecc2f3fe629040178d0 | 8a707e53004f5e587df3c7f5813fdd954306781d | refs/heads/master | 2021-10-14T07:08:10.607607 | 2021-10-05T07:10:08 | 2021-10-05T07:10:08 | 17,696,363 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | rd | loaloa.Rd | \name{loaloa}
\alias{loaloa}
\alias{elevationLoa}
\alias{eviLoa}
\alias{ltLoa}
\alias{tempLoa}
\docType{data}
\title{
Loaloa prevalence data from 197 village surveys
}
\description{
Location and prevalence data from villages, elevation an vegetation index for the study region.
}
\usage{data("loaloa")}
\format{
\code{lo... |
ac48c0cae4bebacbfd7e360f320e4f1b7c608d07 | a10f9853480343c8fde837f4043e2aca5cd6f50f | /SIF Plots Project/SIF Plots for Separate Files.R | 69c96fccd7ed877ef4bf3b690293a386d3dd22ec | [] | no_license | mikaylamurphy/imperial-geophysics | 9fd01a34f512dbb9d250b67e424772aa25db0db2 | 7556231b1b33d4c5a5a2a46dda1618c5c3bade67 | refs/heads/master | 2020-04-06T03:38:47.591478 | 2016-08-18T11:12:00 | 2016-08-18T11:12:00 | 63,054,830 | 2 | 0 | null | 2016-08-18T11:04:07 | 2016-07-11T09:28:20 | R | UTF-8 | R | false | false | 12,120 | r | SIF Plots for Separate Files.R | SIF_plot <- function(filepath){
require(scales)
# Converts raw surface area and fracture_sif_data_raw .txt files to dataframes.
all_SA_data <- read.table(paste(filepath,'surface_areas.txt', sep = ""), fill = TRUE, header = FALSE)
all_sif_data_raw <- read.table(paste(filepath, 'fracture_sif_data_raw.txt', sep... |
c49f6465c27616c85eb0c45f163bb09aa12de6f9 | f0c6cb1107da4697db0bbb8786c8adc0211a7a04 | /r-scripts/plotMethodFreqPolyByMetricsToPngFiles.R | 24b65e1f8805ab979b8145266e9b1545af069b46 | [] | no_license | alexil-ferreira/SmellRafactored | fb857f1c6aa1f2f2e162f8917baa5de816413fcd | 9efd2521a91bb4a3230a723729d7a829bf185721 | refs/heads/master | 2020-09-07T08:56:18.340667 | 2020-04-12T09:17:34 | 2020-04-12T09:17:34 | 220,729,915 | 0 | 0 | null | 2019-12-29T21:14:28 | 2019-11-10T02:14:20 | null | UTF-8 | R | false | false | 389 | r | plotMethodFreqPolyByMetricsToPngFiles.R | rm(list = ls())
library(rstudioapi)
source(paste(dirname(getActiveDocumentContext()$path), "/common.R", sep="", collapse=NULL))
source(paste(dirname(getActiveDocumentContext()$path), "/plotMethodFreqPolyByMetricsToPngFile-function.R", sep="", collapse=NULL))
setupWorkDir()
deepenForDesignRole <- FALSE
plotMethodFre... |
b63c4e0134a029298917d2fff1f578f6eeca67d6 | 0ac26fb6235ef0d7b25ef7b003822f08f1ffe9e7 | /man/classify.Rd | 6ffba51e18dbe4bc340993ccb3e8b67e4ae5ecab | [] | no_license | rscherrer/nmgc | 5e9fbc0d6eeb0c6fdad1a38b45dfe3b37e919371 | 55bb75eab4c62b74c598d17ead6f448bd53907f8 | refs/heads/master | 2023-02-09T10:04:14.770149 | 2020-12-29T18:18:18 | 2020-12-29T18:18:18 | 261,246,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,141 | rd | classify.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classify.R
\name{classify}
\alias{classify}
\title{Classification analysis}
\usage{
classify(
data,
variables,
grouping,
nesting = NULL,
method = "SVM",
k = 5,
nrep = 1,
nperm = 0,
minsize = 5,
seed = NULL,
importance = ... |
eee67feddc49a563b67d3a5a050a5ac2c02064dc | 81c4acf23d5db8910522cdc0caab8e6a7ba5cc31 | /Random Forest_Final.R | 6a7404555ec33b6a3857aaf3bcef9682996d8ae4 | [] | no_license | ruhulali/R_Codes | ff2d12dc6450ae1da748c4df6ab51600dd48e7aa | e2b3b3f090e7fd8a43746ed29e750b023035b3f1 | refs/heads/master | 2021-06-08T06:44:39.003256 | 2021-04-23T16:21:16 | 2021-04-23T16:21:16 | 158,611,318 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,947 | r | Random Forest_Final.R | setwd("Z:/CT-Mum/Cello Health/170223 Segmentation/Working/CHAID and Random Forest")
# --------------------------------Data Preprocessing ------------------------------
data3 <- read.csv("UC+CD for JAK.csv", header=T, sep = ",")
data3$Q2 = as.factor(data3$Q2)
data3$p0 = as.factor(data3$p0)
data3$p1 = as.facto... |
a041b44ca573c8b8195bda743975f5f210fc5fc2 | 864de5871194247f7ec4319afed1f6b413601db1 | /man/is_adjust.Rd | f993ad90ee6e08f415b3ba9ef13e982d24504fbb | [
"MIT"
] | permissive | han-tun/g2r | d3762b82277cdf5d397aa8016608b892f41914bd | a48baf1fcceacef5c9f960b52d6054f5fa8d5c70 | refs/heads/master | 2023-07-26T07:38:34.951377 | 2021-09-06T19:57:30 | 2021-09-06T19:57:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 427 | rd | is_adjust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adjust.R
\name{is_adjust}
\alias{is_adjust}
\title{Adjust Check}
\usage{
is_adjust(x)
}
\arguments{
\item{x}{Object to check.}
}
\value{
A boolean.
}
\description{
Checks whether the object is of class \code{adjust},
as returned by \code{\lin... |
97c79f9212de5ff8d6d7ce1ff9bbaf41c7035ab7 | 24f85e94fd44a3648663c2e21ae8f3dd7b4834e0 | /examples/relationships.R | db623e9d67573329245e2ffba7988e69a183ed9a | [
"Apache-2.0"
] | permissive | rosette-api/R-Binding | ec86e7ff8a2cb35417421b42022aadccf20ed482 | 83900247dd91c7c38ae4369126423cd4cf6a5cac | refs/heads/develop | 2023-07-09T16:07:18.564894 | 2023-06-23T17:48:51 | 2023-06-23T17:48:51 | 57,313,317 | 5 | 10 | Apache-2.0 | 2023-03-30T15:01:19 | 2016-04-28T15:39:42 | R | UTF-8 | R | false | false | 1,368 | r | relationships.R | source("../R/Api.R")
library(jsonlite)
library(optparse)
option_list <- list(
make_option(c("-k", "--key"),
action = "store", default = NA, type = "character",
help = "Rosette API key"),
make_option(c("-u", "--url"),
action = "store", default = NA, type = "character",
help = "Rosette API url"))
opt... |
d6805590368cfe41b671c352ad0e23c9532e6e74 | 83bfc2ffa4b4e28c1c6ea877c204931980a3e99d | /reports/proposed_GCTA_paper/est_var_analysis/est_combined_data/test_result_sparse_decorr.R | 127290b1a33b7b07053e0ad9d3cf812ed0298e6e | [] | no_license | wal615/prime_project | 0d555626292a713d94700e565363681e2e2e514e | 8a85b47ecbcaf4419ca33588fd607019226bf3ca | refs/heads/master | 2022-07-04T20:58:33.789355 | 2020-05-05T20:13:16 | 2020-05-05T20:13:16 | 111,431,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | test_result_sparse_decorr.R | # Testing the result of the second decorrelation method
## load the dateset
library(R.utils)
library(MASS)
library(tidyverse)
library(foreach)
library(doRNG)
library(doParallel)
library(gtools) # for rbind based on columns
options(warn = 1, error = bettertrace::stacktrace)
setwd("~/dev/projects/Chen_environmental_stud... |
af4d0073ee2c48030fefd9df28baa94007a80a26 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ggfortify/examples/fortify.spec.Rd.R | 52aed9ebc6a1a910378a81adde85e3646bdf81b7 | [] | 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 | 254 | r | fortify.spec.Rd.R | library(ggfortify)
### Name: fortify.spec
### Title: Convert 'stats::spec' to 'data.frame'
### Aliases: fortify.spec
### ** Examples
fortify(spectrum(AirPassengers))
fortify(stats::spec.ar(AirPassengers))
fortify(stats::spec.pgram(AirPassengers))
|
96dca08864c7f177dd340e0422f9ad6a3df70707 | 50342b2c958d45d1b011c06a35927f41f27a08ab | /R/colorio-package.R | 870b84dca7ae7e47758dae858ba6b8a60a3b4113 | [
"MIT"
] | permissive | ijlyttle/colorio | dcb04d06c753f9cf956116849ddd283edba30902 | 9a97109a9ede1ed2636d778739fd20eefef503d2 | refs/heads/master | 2023-06-15T19:37:57.949424 | 2021-05-31T17:49:09 | 2021-05-31T17:49:09 | 305,543,997 | 3 | 0 | NOASSERTION | 2021-07-12T22:51:23 | 2020-10-20T00:12:47 | R | UTF-8 | R | false | false | 462 | r | colorio-package.R | #' colorio: package to wrap colorio Python package
#'
#' This package offers low-level access to the
#' [colorio](https://github.com/nschloe/colorio) Python package, using the
#' [reticulate](https://rstudio.github.io/reticulate) package.
#'
#' The immediate motivation is to provide R users wuth access to the wide
#' a... |
f1efbb2473e9a85e48b31e96d7c7e5c244f4320a | 9aff6353f925fbe673f73dffbecd5b7519595211 | /R/dbFrame-methods.R | 206be9ecea7def729c371ab2be2e0633f6677fde | [] | no_license | lmweber/CATALYST | 476aecf91d0917cde99459b6a6c973e34d6acf4a | ff2ec01779a66068e79204b7d7e003d01dcd7af0 | refs/heads/master | 2020-03-12T23:47:29.003394 | 2018-04-24T08:26:32 | 2018-04-24T08:26:32 | 130,873,760 | 1 | 0 | null | 2018-04-24T15:14:04 | 2018-04-24T15:14:04 | null | UTF-8 | R | false | false | 7,300 | r | dbFrame-methods.R | # ==============================================================================
# Accessor and replacement methods for class dbFrame
# ------------------------------------------------------------------------------
#' @rdname dbFrame-methods
#' @title
#' Extraction and replacement methods for objects of class \code{db... |
5c6c7d38beaf387da682c78d05d72a4ad5d59f32 | bcaf8ba8ae9c6edef2716abef39c1103b2e94f73 | /get_poem.R | 4bb457bd6f308f317c9f1ecaa77a11776bdd44ef | [
"MIT"
] | permissive | Broccolito/Keyword_poet | 1dc9a35e2fd0fc90bc266c2ae0cd36863fe635c8 | 74e02d95b3057e3340cab8c46dc563712825c55b | refs/heads/master | 2020-04-13T05:59:08.864233 | 2019-01-07T15:46:12 | 2019-01-07T15:46:12 | 163,008,614 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | get_poem.R | get_poem = function(keyword, multiple = FALSE){
keyword = as.character(keyword)
if(!require("rvest")){
install.packages("rvest")
library("rvest")
}
get_pozhe = function(){
return(
unlist(strsplit(
(html_nodes(read_html("https://so.gushiwen.org/search.aspx?value=%E7... |
0db6e442eb8dd10afed5d6115a2b4b3f2dd9bfc0 | 717c5e4b503c3cbc0349d359885253b8f98fca61 | /adam2.r | 943e202b360377760cf0b68f31b4471dd9094f8c | [] | no_license | kwende/RScripts | b28f67e1b3c20dee974efdc57e482bc98080e9c4 | ea8773aaf6cea0eb27abbdeaad8606aa729f2d36 | refs/heads/master | 2016-09-06T11:47:49.956693 | 2014-12-13T22:07:59 | 2014-12-13T22:07:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,766 | r | adam2.r | library(bbmle)
sigmoid = function(x,a,d,b,x0){
if(a < 0) a = 0;
if(a > 1) a = 1;
if(d < 0) d = 0;
if(d > 1) d = 1;
if(b < 0) b = 0;
ret = ((a-d)*(1+exp(-b*x0)))/(1+exp(b*(x-x0))) + d
if(ret < 0){
print(c(a,d,b,x0));
ret = 0;
}
if(ret > 1){
print(c(a,d,b,x0));
ret = 1;
}
... |
942f15745b2cb78fd265c15e95ce80cddc643259 | d87f9ef68bd905f243faa970e394848edc724f9a | /src/e1071naiveBayes.R | e21fa3bd9fea259af2c3bb33b89f7bb780db219d | [] | no_license | lukaszpochrzest/rules | d3938f1d7f68789e1166d820cd860f3f3f2b1d74 | c2ee696ee86e91101fea56a7c7f625a946eddad0 | refs/heads/master | 2021-05-30T13:21:24.560763 | 2016-02-27T19:36:02 | 2016-02-27T19:36:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,097 | r | e1071naiveBayes.R | libDir <- "D:/TMP/RShit/"
#setwd( workingDir )
installe1071Bayes <- function()
{
install.packages( "e1071", lib = libDir )
library( e1071, lib.loc = libDir )
}
loadBayesLibs <-function()
{
library( e1071, lib.loc = libDir )
}
#buildNaiveBayes <- function( classes, attributes )
#{
# model <- naiveBayes(Class ~ .,... |
015f267e6158c275cfb200f8fc8bedcb0bc068a5 | 7bf45c63e90b8e781e1b1ac1cd5f0504ffd2cfd0 | /Rcode.R | 788c669e9232829bde81973a8272237c014ef2f5 | [
"MIT"
] | permissive | krduncan/mass_spec | 90f76fc6f15f7e3cb170c7588363f3029d39bc9e | 0ed039abf19b5abab25cace98d7172ef4e7fe6a4 | refs/heads/master | 2020-12-02T21:23:50.667579 | 2017-07-05T14:16:16 | 2017-07-05T14:16:16 | 96,309,450 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,224 | r | Rcode.R | #mass_spec
#install packages and load library
#> install.packages("readMzXmlData")
#> Library(readMzXmlData)
getwd()
list.files()
readMzXmlFile("SBT3014.mzXML")
sample1 <- readMzXmlFile("SBT3014.mzXML")
readMzXmlFile("SBT3015.mzXML")
sample2 <- readMzXmlFile("SBT3015.mzXML")
#s1 <- sample 2 <-[[1]]
str(s1)
s1$spectur... |
b70f63c931980de35c1396374d51de3d667f1aef | 43682363e7294f29b636667ae0f6c3134174bc4a | /man/interaction.Rd | 6edbea10b17db43b016c09547fec5bd415d26dca | [] | no_license | zsemnani/urinaryDBP | 115b7e64e044cc0f8b3560e64726dc3461c3b005 | 6281f635f954d4204e84280eb54a61bcc6d6b4c8 | refs/heads/master | 2022-03-16T06:51:19.663113 | 2018-08-01T05:32:29 | 2018-08-01T05:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 237 | rd | interaction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interaction.R
\name{interaction}
\alias{interaction}
\title{Interaction with time}
\usage{
interaction()
}
\description{
Interaction with time
}
\examples{
}
|
e0890889e45c4e6663da772cff28b6748e7feb71 | b0b61cfd9fec47fc94b5da595fd81372cd5ec369 | /Number Patterns/problem8.R | 03d54d26809f65828f84078ca9b0981342c92ec2 | [] | no_license | ArjunAranetaCodes/MoreCodes-Rlang | 4c6246e67cec99ab3961260308a02b333b39dbf3 | 555b37e8ee316a48c586327cfc61069e0ce1e198 | refs/heads/master | 2021-01-01T19:22:15.672176 | 2018-11-25T04:00:00 | 2018-11-11T23:01:07 | 98,572,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 301 | r | problem8.R | # Problem 8: Write a program to print the number pattern of ones and zeros using loop.
# 11111
# 11111
# 11011
# 11111
# 11111
row <- 4
col <- 4
for (y in 0:row){
for (x in 0:col) {
if(x == (row / 2) && y == (col / 2)){
cat(paste("0"))
}else{
cat(paste("1"))
}
}
cat(paste("\n"))
}
|
5dfb63f7af19d75a8e406ccecd9099105bc4b2af | 5b722119d1b1ca9df17a2914a4db2d35f73b5490 | /Projects/Taxes vs. Deficits/(2)_analyze_US_fiscal_data.r | 59b4d61b71651a12ad5f42d3607ed397bb25f8ac | [
"CC-BY-4.0"
] | permissive | vishalbelsare/Public_Policy | 1d459eba9009e7183fa266d3bb9d4dd0d6dacddc | 4f57140f85855859ff2e49992f4b7673f1b72857 | refs/heads/master | 2023-03-29T05:01:10.846030 | 2021-01-13T21:52:45 | 2021-01-13T21:52:45 | 311,356,474 | 0 | 0 | NOASSERTION | 2021-04-04T20:12:17 | 2020-11-09T14:00:21 | null | UTF-8 | R | false | false | 19,768 | r | (2)_analyze_US_fiscal_data.r | # fredr_set_key('d0b9e64aba30b479343a06037a5a10c1')
library(rvest)
library(httr)
library(data.table)
library(tidyverse)
library(WDI)
library(countrycode)
library(lmtest)
library(tseries)
library(plm)
library(rvest)
library(httr)
library(quantmod)
# library(fredr)
library(scales)
library(quantreg)
library(xtable)
libra... |
6666ecdbe9ba3a91eb0c13731c953442a24f0cd3 | c9ae35fbb115dd9553f5740d798bbecd803a9f27 | /man/sst.Rd | 639f3c541659bdd75f87ebb7740f70e479097b62 | [] | no_license | abhinavwidak/ggplottimeseries | 471fc90f176d00d5cda2bf0c244559ea70450c1f | 1f26965cddacabf747be2b1425b4347676359852 | refs/heads/master | 2023-03-20T11:42:57.261707 | 2019-02-15T15:34:56 | 2019-02-15T15:34:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 495 | rd | sst.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sst.R
\docType{data}
\name{sst}
\alias{sst}
\title{Sea surface temperature data}
\format{a sample dataframe with 2142 observations on the following variables.
\describe{
\item{\code{date}}{a date vector of the time of the observation}
\it... |
f72a13660a1b7cc8594a98a836b0646b98c527c2 | acca4ebb9fec1728a5a9004193b98b830c0c74ac | /r28_statics.R | e019ab9e667f44e70f88dfd55bed9b1ace51a19c | [] | no_license | Minki96/lab-r | 8e43bcff537319511e6a2694bd0afb885370333b | c274088237e99057f8c9fa6b2e6b6bb98b686948 | refs/heads/master | 2022-06-17T06:10:15.525771 | 2020-05-06T01:48:18 | 2020-05-06T01:48:18 | 261,624,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,739 | r | r28_statics.R | # 조건부 확률, Mosacit Plot, Decison Tree
str(Titanic) # 4-dimensional array
# 4-d array를 data.frame으로 변환
Titanic_data <-as.data.frame(Titanic)
Titanic_data
# 4-d array를 이용한 mosaic plot
mosaicplot( ~ Class,data = Titanic)
mosaicplot( ~ Class + Sex, data = Titanic )
mosaicplot( ~ Class + Sex + Age, data = Ti... |
3a7f780a6e18ada08be498bfd89018dd0811b8a3 | 17886959ef58846d110f1bfc300e60f750d3ed90 | /NLP.R | 0f5f648eb7ad28728a57a6a25ca0ec253c375e10 | [] | no_license | siavrluk/Coursera-Capstone | f94e3947fbec0c016be80f7033fbd0e830bb00d7 | 74213b5d603e5e324d9ad626a3a090bad45d97ef | refs/heads/main | 2023-07-29T03:28:48.172965 | 2021-09-15T16:34:26 | 2021-09-15T16:34:26 | 366,791,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,658 | r | NLP.R | library(dplyr)
library(ggplot2)
library(stringr)
library(ngram)
library(tm)
library(RWeka)
library(wordcloud)
blogs_file <- "final/en_US/en_US.blogs.txt"
news_file <- "final/en_US/en_US.news.txt"
twitter_file <- "final/en_US/en_US.twitter.txt"
# File size
blogs_file_size <- file.size(blogs_file)/(2^20)
news_file_size... |
6b140bac36efc2ca40b632136c96e9bfa366e8ec | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RRTCS/examples/ChaudhuriChristofidesDatapij.Rd.R | 043b66caa5e542555018c3d2c0d1ae7c5fb9d8a3 | [] | 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 | 336 | r | ChaudhuriChristofidesDatapij.Rd.R | library(RRTCS)
### Name: ChaudhuriChristofidesDatapij
### Title: Matrix of the second-order inclusion probabilities
### Aliases: ChaudhuriChristofidesDatapij
### Keywords: datasets
### ** Examples
data(ChaudhuriChristofidesDatapij)
#Now, let select only the first-order inclusion probabilities
diag(ChaudhuriChristof... |
c7684cae8b7d4d736d6ad35378e1771cbb310744 | afa7488f8e3e98817ac5e4ebbc789daa8e833288 | /Assignment 2.R | 7a2841c52d2fdac842236963d69fc00517e2cce5 | [] | no_license | daniellehatt/Ecologyworkshop | 6a08e277d48ffbd4ca9a2d98fb2c4e26e12d589c | 617fefe48719a8a25a094d404018151d76e607ba | refs/heads/master | 2020-12-08T22:53:33.333979 | 2020-04-01T06:17:02 | 2020-04-01T06:17:02 | 233,117,660 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,526 | r | Assignment 2.R | file.choose()
load("/Users/daniellehatt/Desktop/Ecologyworkshop/NLM_Workshop.RData")
install.packages("nlstools")
library(nlstools)
#visualizing data
par(mai=c(1,1,0.1,0.1))
plot(harv$TIMESTAMP,harv$NEE,
ylab=expression(paste("NEE(",mu,"mol m"^{-2} ~ s^{-1} ~ ")" )),
xlab="")
#fitting light response
plot( N... |
181eec708fc81a7097245798f95594c14bc1d480 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clue/examples/cl_boot.Rd.R | 0c4de658166de9eec7654ef4db00c5f2723ece66 | [] | 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 | 333 | r | cl_boot.Rd.R | library(clue)
### Name: cl_boot
### Title: Bootstrap Resampling of Clustering Algorithms
### Aliases: cl_boot
### Keywords: cluster
### ** Examples
## Study e.g. the effect of random kmeans() initializations.
data("Cassini")
pens <- cl_boot(Cassini$x, 15, 3)
diss <- cl_dissimilarity(pens)
summary(c(diss))
plot(hclu... |
65fd4c77b59f8af9990910a26977855cd20d3335 | ad4a0111b56b82ce3c145e7dfd3710019727ed6d | /R/7_Table.R | c17636e64e59e8ce5ae61cd64716bc5cc80adf0e | [] | no_license | georgegui/MarketingRegression | 6c159ce7467bab281748bfb0ddd32a52c5e204a2 | fd3757d3f3e935cd366b8dc579008d3717a0369e | refs/heads/master | 2021-04-09T11:52:08.058129 | 2018-03-16T22:35:28 | 2018-03-16T22:35:28 | 109,545,171 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,681 | r | 7_Table.R |
#' Format an exlx column
#'
#' @export
GenerateColumnFormat <- function(dt, wb){
cell_style_list <- list()
for(cur_col in names(dt)){
if(dt[, is.numeric(get(cur_col))]){
is_integer <- max(dt[, (get(cur_col) + 1e-8)%%1]) < 1e-6
if(cur_col == 'significant_percentage' & !is_integer){
print(dt[... |
7deb6be63ab21719ca62df4b3cc3089e40d0c8c1 | 677145112960e3ae894785aa338b9b37871f076e | /Project1.R | d7e2d2c96bd0a1c640d5c8fb1045e627687c8a33 | [] | no_license | Nicolas-Andreas/stat-452-regression-machine-learning | 512daa50303a25191ac49de85d974b9d2b22f17d | f953d41416f1bc62fbd68b2ac8691585bec8bbb3 | refs/heads/master | 2023-04-11T21:36:20.695778 | 2021-01-15T23:42:19 | 2021-01-15T23:42:19 | 367,553,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,726 | r | Project1.R | #Project 1
get.folds = function(n, k) {
n.fold = ceiling(n / k)
fold.ids.raw = rep(1:k, times = n.fold)
fold.ids = fold.ids.raw[1:n]
folds.rand = fold.ids[sample.int(n)]
return(folds.rand)
}
getMSPE = function(y, y.hat) {
resid = y - y.hat
resid.sq = resid^2
SSPE = sum(resid.sq)
MSPE = SSPE / length... |
9dae96a7ecc69c604161bd1a60c107ad45141ca2 | c5fac476b276f2d1c65547ec4f89292d3abf8ba8 | /man/print.summary.complmrob.Rd | 95d22b81c4c6881367dbd60abe17e5b814852b67 | [] | no_license | dakep/complmrob | 1f3090343de2cb6319b87fae289047ff60049b92 | c904ac453cb501417acc1bb7ec41a3c80ecc4015 | refs/heads/master | 2020-05-09T12:11:05.675243 | 2019-09-17T18:25:06 | 2019-09-17T18:25:06 | 181,104,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 634 | rd | print.summary.complmrob.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary-methods.R
\name{print.summary.complmrob}
\alias{print.summary.complmrob}
\title{Print the summary information}
\usage{
\method{print}{summary.complmrob}(x, digits = max(3, getOption("digits")
- 3), signif.stars = getOption("show.sig... |
2dfe90bfcb3ab421f38340413a5c31aebf20fafe | b2e2db0e13cad433a29dd4f0f46e29be62133190 | /R/search_coefs_server.R | 60dd067fa20abf46f4493fc7974ff849b8d1e0fc | [] | no_license | JARS3N/LLP | e6cf41438255c88ac6fc02363f8a52e3e95e88e9 | aca875abeede2a11642082c5a2eff60dd99f4c22 | refs/heads/master | 2023-02-09T20:19:58.910563 | 2023-01-21T20:35:31 | 2023-01-21T20:35:31 | 105,937,563 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,079 | r | search_coefs_server.R | search_coefs_server <- function() {
require(shiny)
require(dplyr)
lotstuff <- LLP::coef_lots()
shinyServer(function(input, output, session) {
updateSelectInput(session, 'Lot', choices = lotstuff$Lot)
observeEvent(input$Lot, {
if (input$Lot != 'SELECT'){
BMID <- lotstuff$BMID[lotstuff$LotNumber == i... |
4b8f94053c67d36e467bb9621e07d1082809cdc4 | 5f8da4d4d01c6947759af8db517cf295980bfc11 | /stppResid/R/print.stgrid.R | 47b1046bf3404c8c1fd75c360481af192025f092 | [] | no_license | r-clements/stppResid | 8f3042a12c0189ccd28764f9ad6fba29a00c79ea | 471286070dc4a4866860a4e82da656d39ce8ce01 | refs/heads/master | 2021-01-23T05:44:32.818058 | 2018-06-06T03:36:09 | 2018-06-06T03:36:09 | 5,900,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 79 | r | print.stgrid.R | print.stgrid <- function(x, ...)
{
cat("Spatial grid\n")
print(x$grid.full)
} |
ef7378fc58a466b14345ba34967cd8a4083f1483 | 10c97b033b7d93d500a4dd563234eef128dc43ab | /tests/testthat/www.fleaflicker.com/api/FetchLeagueTransactions-0618ef.R | e805c967c8255b55c9b9d6ae465292116f1f0c4d | [
"MIT"
] | permissive | tonyelhabr/ffscrapr | f38e7c87bb65ddbf6e1c9736c16e56944760af46 | 4e0944da56d8890c441c4abe9c25bc2477a1e388 | refs/heads/main | 2023-03-10T08:48:01.840281 | 2020-12-16T06:19:07 | 2020-12-16T06:19:07 | 328,791,006 | 0 | 0 | NOASSERTION | 2021-01-11T23:59:24 | 2021-01-11T21:03:44 | null | UTF-8 | R | false | false | 113,258 | r | FetchLeagueTransactions-0618ef.R | structure(list(
url = "https://www.fleaflicker.com/api/FetchLeagueTransactions?sport=NFL&league_id=206154&team_id=1373475&result_offset=120",
status_code = 200L, headers = structure(list(
date = "Tue, 24 Nov 2020 01:19:57 GMT",
`content-type` = "application/json;charset=utf-8", vary = "accept-encoding",
... |
5306cdf9b0291a6ad88f0fdb8c3e1cb000cf3ccf | fbb23e88df629fc696b48844772f7db137d18460 | /man/StageRefClass-class.Rd | eff40fa94bc894eb1b12101c036c63deeca39258 | [] | no_license | BigelowLab/genologicsr | 4dc9941bdc7ad531baabb1dc010081a20a5e35fe | df5ed969f7258bff2cc29fba82dc07cce980d8c1 | refs/heads/master | 2020-04-04T21:15:23.113184 | 2018-07-19T18:32:55 | 2018-07-19T18:32:55 | 38,256,262 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 318 | rd | StageRefClass-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Stage.R
\docType{class}
\name{StageRefClass-class}
\alias{StageRefClass-class}
\alias{StageRefClass}
\title{A Stage representation that sublcasses from NodeRefClass}
\description{
A Stage representation that sublcasses from NodeRefClass
}
|
90876b27dd70655024a857b5353ab2d11bbd9c98 | 273280b690b0af2b20941d0218c3191ff84bf3bd | /cmap4r/R/table_info.R | a3089dffd2b7e80a851d223facf3373871508067 | [] | no_license | simonscmap/cmap4r | ecbd9072f25ae22a793e0f81d39cb18af6921c1c | d594215666e0a6617281e1268fc1165b956e87b3 | refs/heads/master | 2022-09-03T00:30:29.503796 | 2022-08-17T22:07:20 | 2022-08-17T22:07:20 | 193,917,501 | 8 | 4 | null | 2022-08-17T22:07:21 | 2019-06-26T14:10:00 | HTML | UTF-8 | R | false | false | 16,219 | r | table_info.R | #########################################################################
### All functions here are provides table informations functions ###
#########################################################################
#' Returns a boolean outcome checking if a field (varName) exists in a table (data set).
#'
#' @p... |
623ecdc7ac8724a3b2e9a3cb7f2bc7342c866d2c | 7a1fc7bd0f79ea344c6aae208ad058e1346c4678 | /EDA/functions/DiscreteBar.R | d408dede72448329a1f9a5690b0274c7187808e3 | [] | no_license | ShuqiYao/myeda | d03e27d4516b76a6ed6b3268f95776d7583dfc11 | cfb5c9a02667976ec4ee15d3aea6d30a9968ab57 | refs/heads/master | 2021-05-09T14:04:37.077992 | 2018-02-25T07:41:11 | 2018-02-25T07:41:11 | 119,053,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 390 | r | DiscreteBar.R | ## 条形图
DiscreteBar <- function(x,...) {
is_data_table <- is.data.frame(x)
if (!is_data_table) {x <- data.frame(x)}
if (sum(table(na.omit(x)))>500){
ggplot(x, aes_string(x = names(x))) +
geom_bar(color = "black",na.rm = TRUE,alpha=0.4,...)+
labs(title= paste(names(x),'barplot'))} else {
print("There are too man... |
b54c001fd69e1431015c9ef5fcb937e46846cf75 | bfa3ab3a8584fb0bc48a4bafec31076d1fec5382 | /data/beta.R | acee3be2d90cb688d49fd86ea282c6aff76365d5 | [] | no_license | vittoriomaggio/RBusinessProject | 6ec1081fd9ad10534f973e00bc59bcd200ab20b6 | ce58f23ea56e5474b7163c10640d6e9b23221d5a | refs/heads/master | 2020-04-21T02:54:55.084261 | 2019-02-06T10:13:15 | 2019-02-06T10:13:15 | 169,268,753 | 0 | 1 | null | 2019-02-05T17:14:49 | 2019-02-05T16:02:48 | R | UTF-8 | R | false | false | 5,276 | r | beta.R | library(quantmod)
library(PerformanceAnalytics)
#Get returns
start_stream <- '2016-01-01'
end_stream = '2019-01-01'
PSX.xts <- getSymbols("PSX", from=start_stream, to=end_stream, src='yahoo', auto.assign = FALSE )
PSX.xts <- to.monthly(PSX.xts)
PSX <- na.omit(diff(log(PSX.xts$PSX.xts.Adjusted)))
colnames(PSX) <- c("PSX... |
02556cd098e86cc72393335e2f8f526bd9e64b69 | b92b0e9ba2338ab311312dcbbeefcbb7c912fc2e | /build/shogun_lib/examples/documented/r_static/kernel_linear.R | c3902755d9c010d6a3f4fc6c406c8ed8da39d872 | [] | no_license | behollis/muViewBranch | 384f8f97f67723b2a4019294854969d6fc1f53e8 | 1d80914f57e47b3ad565c4696861f7b3213675e0 | refs/heads/master | 2021-01-10T13:22:28.580069 | 2015-10-27T21:43:20 | 2015-10-27T21:43:20 | 45,059,082 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | r | kernel_linear.R | # This is an example for the initialization of a linear kernel on real valued
# data using scaling factor 1.2.
library("sg")
size_cache <- 10
fm_train_real <- t(as.matrix(read.table('../data/fm_train_real.dat')))
fm_test_real <- t(as.matrix(read.table('../data/fm_test_real.dat')))
# Linear
print('Linear')
dump <... |
685d021eeb7821d0ce1a2e0247c44e3fc3b74f7f | 01d3ca8e2d6f10fb9ec98f15673ef9ef4adfed46 | /man/subset.mcmc.Rd | f614c9ca2108e870e71cf075329051c5599c9393 | [
"MIT"
] | permissive | poissonconsulting/nlist | 3626376778579afdf1a3edf95fc40a9e0e733b00 | 33d0fbe3f5a4988260cd36d979260b958955dd9b | refs/heads/main | 2023-06-09T05:04:45.643117 | 2023-05-28T22:55:03 | 2023-05-28T22:55:03 | 194,123,871 | 4 | 1 | NOASSERTION | 2023-05-28T22:55:04 | 2019-06-27T15:51:53 | R | UTF-8 | R | false | true | 880 | rd | subset.mcmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subset.R
\name{subset.mcmc}
\alias{subset.mcmc}
\title{Subset mcmc Object}
\usage{
\method{subset}{mcmc}(x, iters = NULL, pars = NULL, iterations = NULL, parameters = NULL, ...)
}
\arguments{
\item{x}{An mcmc object.}
\item{iters}{An integer... |
b87f9631d43a5775779427f4773ddb670e17e306 | 66332bb30c8d14f824af71a9d418c5d6345f58d1 | /server.R | 6e8a40f9de1d58f1337f948a611dbf535bfe1979 | [] | no_license | moggces/ActivityProfilingGUI | f2c2f073733e6c3feba6679e8620e81cf4d78c1e | f2bb6533cceba979e31aa91a3a42cfe538c9052e | refs/heads/master | 2020-04-15T23:48:14.361354 | 2017-10-06T15:50:04 | 2017-10-06T15:50:04 | 17,751,883 | 1 | 0 | null | 2017-03-27T15:21:38 | 2014-03-14T16:08:17 | R | UTF-8 | R | false | false | 28,564 | r | server.R |
# shiny note: 1) it can't discriminate R vs. r in the r script file
# 2) the renderTable has trouble with encoding issue (cannot recognize ppp file iconv -t UTF-8 -f ISO-8859-1)
# looks like the new read.table can automatically select best encoding
# 3) in shiny server, once you delete a file but replace a file with ... |
973820fe6b92602fcf0a22362c80ae0e0d558279 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/apsrtable/examples/apsrtable.Rd.R | ad17551df1b032fb5984918cc341d0fe21cf20ab | [] | 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 | 1,254 | r | apsrtable.Rd.R | library(apsrtable)
### Name: apsrtable
### Title: APSR-style latex tables with multiple models
### Aliases: apsrtable
### ** Examples
## Use the example from lm() to show both models:
## Annette Dobson (1990) "An Introduction to Generalized Linear Models".
## Page 9: Plant Weight Data.
ctl <- c... |
b525a8c15290075a4fa0dac66de44fb252bf2d17 | 184940aa0323a4f2a84fbd49e919aedb7e1fcaea | /Complete R/MMM.R | 373a0c8054984e76dc5724b085f1fdb85b2972f0 | [] | no_license | Dipzmaster/Complete_R | 7e700b1ae8f21dd07538d8f8e0ace2c374298b82 | face68fdac71be6f2bf4f744884c401cebbadffd | refs/heads/main | 2023-08-23T02:08:24.794579 | 2021-11-03T18:36:13 | 2021-11-03T18:36:13 | 415,090,983 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | MMM.R | # Create a vector.
x <- c(12,7,3,4.2,18,2,54,-21,8,-5)
# Find Mean.
result.mean <- mean(x)
print(result.mean)
#[1] 8.22
# Create a vector.
x <- c(12,7,3,4.2,18,2,54,-21,8,-5)
# Find Mean.
result.mean <- mean(x,trim = 0.3)
print(result.mean)
# Create a vector.
x <- c(12,7,3,4.2,18,2,54,-21,8,-... |
6ac9e83db261574a037295c79a1b48e19cac5c9a | abc5e45525d18734b7dd5cf5280c643a054365b8 | /tests/testthat/test-ultimate.R | a50786e3389ba19e3d917889a2685108a935203f | [
"MIT"
] | permissive | egnha/valaddin | ea03c4dca322a555364c47b9d97c54d050619d71 | 5579d98e8ac13518d991052f3e0cee38a5993b83 | refs/heads/master | 2021-01-11T05:23:28.645002 | 2017-10-03T08:27:18 | 2017-10-03T08:27:18 | 79,849,353 | 38 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,685 | r | test-ultimate.R | context("Ultimate validation syntax")
f <- function(x, y) NULL
false_x <- only(errmsg_false("isTRUE(x)"), not = errmsg_false("isTRUE(y)"))
false_y <- only(errmsg_false("isTRUE(y)"), not = errmsg_false("isTRUE(x)"))
false_xy <- both(errmsg_false("isTRUE(x)"), errmsg_false("isTRUE(y)"))
test_that("global check is impl... |
3286c10485e9be05d2323986ba5f61babf9d98d7 | 212e49d0b5df150e4d0681451925689b9e152eba | /MESSAR_WEBSERVER/ui.r | a336d1c8670ac16fcd8dc2a3d06894312ab71e31 | [] | no_license | daniellyz/MESSAR | 7e3fa9a6fbfba378a37ded366bad6db89d6a226b | ebbe4d0b849d074d36d447d5488464ac4773b991 | refs/heads/master | 2023-04-14T02:19:20.990578 | 2023-03-28T17:06:07 | 2023-03-28T17:06:07 | 153,620,833 | 1 | 0 | null | 2019-07-03T14:57:32 | 2018-10-18T12:33:50 | R | UTF-8 | R | false | false | 6,217 | r | ui.r | <<<<<<< HEAD
options(repos = BiocManager::repositories())
=======
>>>>>>> 7b7522d0affa0d7a817f5252d04e620560b84c0e
library(shiny)
library("V8")
library(shinyjs)
#library(MSnbase)
library(formattable)
library(stringr)
require(DT, quietly = TRUE)
library(prozor)
<<<<<<< HEAD
#library(ChemmineOB)
load("rules_db.RData")... |
07244c881786abc2c47ef53e28c475afc3951c25 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/QuantTools/R/to_ticks.R | 3e9891e0f5131758c6806ad1f1dd8f12e61ee108 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,014 | r | to_ticks.R | # Copyright (C) 2016 Stanislav Kovalevsky
#
# This file is part of QuantTools.
#
# QuantTools is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later ve... |
59069c681994bcd15f4d7d534829dbcb289fc465 | e2592693961bcf364ca99fc360ae4184955139f8 | /src/Data_preparation.R | 2d9ff1b0b9f0c4271a67b537e760c97ba9caef6f | [] | no_license | Illustratien/Wang_2023_TAAG | b30b5fc3858baf84a4a8c98549f1e73f97856fe6 | c5efc3b4546d00c5aa2b4264fd527197269e148e | refs/heads/main | 2023-04-07T16:14:03.859018 | 2023-01-23T18:57:37 | 2023-01-23T18:57:37 | 570,268,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | r | Data_preparation.R | # in order to run this script,
# clean the environment
rm(list = ls())
library(purrr,dplyr)
src_dir <- dirname(rstudioapi::getSourceEditorContext()$path)
dat_dir <- sub('src','data',src_dir)
dir.create(dat_dir, showWarnings = FALSE)
# plase first download the Wang_et_al_TAAG_2023_output_trait.rds file from https://... |
a6038747ee2cad2eb1242060070472240bea1e8e | 7e52c79f19a82f8a32dd57901f353fa6c23c0f86 | /R/timesToKeep.R | 30cebd0b49ec7a6f48000fd139b5767781b29b05 | [] | no_license | cran/ipcwswitch | 86f92d584bd28b5b25aacf8919e7fe4ed9c9b936 | d52676594d91be8f3454a70568524be8e711d367 | refs/heads/master | 2021-06-18T23:42:28.023759 | 2021-02-17T07:30:02 | 2021-02-17T07:30:02 | 157,900,036 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,351 | r | timesToKeep.R | #' Function to keep all event times
# and times of changes in measurements of time-dpt covariates
#'
#' @param data dataframe containing the following variables
#' @param id patient's id
#' @param tstart date of the beginning of the follow-up (in Date format)
#' @param tstop date of the end of the fol... |
09e7f85b14e719bde7a253d67727d3aecb49f5dc | a8a9b1b586d63b1583c3cabdf84592cbbbc3af9c | /mat_to_omx_script.R | 18a59178b6805b7c4113f077b480175ed51ad4df | [] | no_license | BFroebRPG/TDM_Scripts | e87950eb3f8e04f9f4ba6dcd1fa7b35f45644fe3 | f792758b088e9f79dd1ffb8894392cb6168030e2 | refs/heads/main | 2023-06-27T10:28:44.828853 | 2021-07-23T19:52:17 | 2021-07-23T19:52:17 | 373,624,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,282 | r | mat_to_omx_script.R | # Functions ----------------------------------------------------------------
### Add functionality for multiple directories
## Required Package
library(stringr)
#' Create a Line for Cube Script for OMX Export
#'
#' @description
#' Creates a single line script for exporting matrix files in Cube to OMX files.
#' A h... |
4eed234104767aa802164a7024849bd1c8a79f7a | d699d825f09dab1b546d14d4a4f464c74a1c5499 | /1_functions/plot_func.R | b4f7491b3ed2db114c065069e2bcd43e10f1bb80 | [] | no_license | SpTB/observing_bandits | bb13f949f626bdc9ee27c6e8c910c58fb32942e0 | 99c068a0f20c50235c27fe1cf538927b1f0b212f | refs/heads/master | 2023-05-07T18:52:35.323253 | 2021-05-26T11:25:14 | 2021-05-26T11:25:14 | 343,011,697 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,203 | r | plot_func.R | plot_games <- function (df, type = 'kalman', multiple, pay1, pay2, games_in=list()) {
# df: output of a sim function (dataframe)
# type: either 'kalman' or 'delta'
# multiple: whether plot multiple games (bool)
# pay1, pay2: bandit mean payouts
# games_in: subset of games to plot (numeric list)
#selectin... |
5178fcf6bd0be0e81f538a2c64fd41a31e70e5b4 | b8018a912000b89d38ca2002636bb5154dc67c64 | /man/USREC.Rd | fb2857a81ec5ff6662a2efbd3914eee5f502edc2 | [] | no_license | JustinMShea/neverhpfilter | 8dbc239d8a8b20435f459d958545f9a84c97eb83 | 49c2274328ab4751e92ef0bf6ae9e49b05481956 | refs/heads/master | 2022-12-29T16:16:35.207712 | 2022-12-10T21:28:28 | 2022-12-10T21:28:28 | 101,463,296 | 16 | 7 | null | 2020-02-09T00:56:33 | 2017-08-26T04:52:10 | R | UTF-8 | R | false | true | 4,443 | rd | USREC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/USREC.R
\docType{data}
\name{USREC}
\alias{USREC}
\title{Recession Indicators Series}
\format{
An \code{\link{xts}} object containing monthly observations of NBER
based Recession Indicators
\itemize{
#\item\strong{Release:} {Recession Ind... |
fa9239566338660f5a0e69d1fc52306a95b8d0b7 | c34aeb4a6e0ea62408d1985a759c71f6aac98ec1 | /.Rproj.user/D07D4D2/sources/per/t/84DAA457-contents | 522e3c729c209c8816595a0c0a80378e12971023 | [] | no_license | KCY0409/data-retreatment2 | 94d870aab371924a226accd4b3fffd0287d030ff | d5b798c365face029cae5ebf50e6501b0f2dadd5 | refs/heads/master | 2020-12-15T10:11:05.687411 | 2020-01-29T14:38:03 | 2020-01-29T14:38:03 | 235,071,221 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,061 | 84DAA457-contents | # 정규표현식
# 특정한 규칙을 가진 문자열의 집합을 표현하는데 사용하는 형식 언어
# -> 문법을 외워야 해서 읽고 사용하기 어려움 / 익숙해지면 글자를 다루는 코드 작성 쉬움
# R의 정규표현식
# 표준문법인 POSIX와 perl방식의 PCRE 2가지가 대표적
# R은 POSIX의 basic과 Extended 중 Extended를 지원
# perl = T 옵션으로 PCRE방식을 사용가능
# 단순 매칭
# grep은 찾고자하는 문자열이 있는지 찾아주는 함수
# grep(찾고자하는 패턴, 대상벡터)
data <-c("apple", "banana", "banano"... | |
975e12a8740700d929618732598c1879c7ce8274 | fb46465a5f7f72836c7eef3ccc2383cc79f929e5 | /201214/fitted counting.R | ebdd681be31b5bfcfd5a100fb1bc275574daa6a5 | [] | no_license | BIBS-Summary-Based-Analysis/Which-national-factors-are-most-influential-in-the-spread-of-COVID-19- | 35c33465def45a0498b6e3bb0fac407634439031 | 1058825d101e0dc2d4659b901a4f08c97f9ca456 | refs/heads/main | 2023-06-27T22:12:44.245591 | 2021-07-26T14:51:53 | 2021-07-26T14:51:53 | 348,031,475 | 1 | 0 | null | 2021-03-24T15:16:02 | 2021-03-15T15:50:45 | R | UTF-8 | R | false | false | 2,671 | r | fitted counting.R | coefficient_result = read.csv("coef_result.csv",row.names = 1)
coef_sep_Logi = coefficient_result[,c(1:6,14)]
coef_sep_Gom = coefficient_result[,c(7:12,14)]
# Logistic model counting
country = rownames(coef_sep_Logi)
count1 = 0
count2 = 0
count3 = 0
segment2_len = length(which(!is.na(coef_sep_Logi$breakpoint)... |
83a570970011773e4ec591971e739fffbc3e82dd | f9376bb4d345ec552ac295d4098f523f18eaacba | /R/Lecture3/Lecture3/Old/LargeNumbers.R | 8a75662ac0cc46004240e37a3d0a768ea558fe41 | [] | no_license | StephenElston/DataScience410 | 1c201792c8c7084e699cf9397daaa658ea40ef73 | 21855687724240192592d0d4f72674f5f21f6895 | refs/heads/master | 2023-01-24T21:19:47.038382 | 2020-12-04T03:01:01 | 2020-12-04T03:01:01 | 115,932,652 | 10 | 15 | null | 2020-01-29T03:03:53 | 2018-01-01T16:56:19 | Jupyter Notebook | UTF-8 | R | false | false | 1,939 | r | LargeNumbers.R | ##--------------------------------------------
##
## Law of large numbers examples
##
## Class: PCE 350 Data Science Methods Class
##
##
##--------------------------------------------
##-----Use rolls of dice-------
## set a probability
p_six = 1/6
xs = c(10, 100, 1000, 10000, 100000)
sizes = c(60, 600, 6000, 60000, 6... |
68d5b69284baf83c3e2914723fb2a51c227912bf | c65c0bab4d633385efa249e38cf45818754afaff | /shinyapps/app14/app.R | ceb5c90a98ce7848f92c0b96de73b8ab9bd82a8d | [] | no_license | imcullan/Shiny-Tutorial-Rgitbook | 06762c2ea4cf9900401f68a0c3a9964615376b93 | 1db7814f45b5e10846876a493d4946c73d270aa3 | refs/heads/master | 2021-01-22T18:32:35.081445 | 2016-08-26T17:40:30 | 2016-08-26T17:40:30 | 66,667,107 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | r | app.R | server <- function(input, output, session) {
observe({
# even though the slider is not involved in a calculation, if
# you change the slider it will run all this code and update the text box
# changes to the mytext box also will trigger the code to run
input$myslider
txt <- paste(input$mytext, ... |
b4a5483b6ee1c35de3a0bd30e495f29b04ac09f9 | 8b61baaf434ac01887c7de451078d4d618db77e2 | /R/sort-methods.R | 562924d670b988e6acb1fc38d0b20687e0f184be | [] | no_license | drmjc/mjcbase | d5c6100b6f2586f179ad3fc0acb07e2f26f5f517 | 96f707d07c0a473f97fd70ff1ff8053f34fa6488 | refs/heads/master | 2020-05-29T19:36:53.961692 | 2017-01-17T10:54:00 | 2017-01-17T10:54:00 | 12,447,080 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,346 | r | sort-methods.R | #' sorting or ordering more complex objects
#'
#' @inheritParams base::sort
#' @param FUN a sort function. if \code{x} is 2D or more, then this is applied to the 1st
#' dimension (ie the rows)
#'
#' @return a sorted object of same type as \code{x}
#'
#' @author Mark Cowley
#' @export
#' @rdname sort-methods
#' @docTy... |
9680151509449700bd2b931128ea7e5d3a90b357 | 763189ea0c11e7f6b247ea3552400a5bddf72311 | /man/additive.Rd | e79117611d9df6fbcacfa68c628ba970605233b8 | [
"MIT"
] | permissive | hsbadr/additive | 75918e59509b21b27086eb96004da2b7cb278662 | d7999a531076b513a7f2085898e890f22d8fd47f | refs/heads/main | 2023-08-16T02:01:24.017736 | 2023-07-17T12:15:43 | 2023-07-17T12:15:43 | 369,646,227 | 7 | 1 | NOASSERTION | 2022-06-16T14:10:16 | 2021-05-21T20:23:42 | R | UTF-8 | R | false | true | 15,338 | rd | additive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/additive.R
\name{additive}
\alias{additive}
\alias{update.additive}
\alias{additive_fit}
\title{General Interface for Additive TidyModels}
\usage{
additive(
mode = "regression",
engine = "mgcv",
fitfunc = NULL,
formula.override = NULL... |
2ddb638e0366f776c3de520801bc9908924decee | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/r/generated/R/ComDayCqDamCoreImplServletCompanionServletProperties.r | 528c9b924d1c09210db20c92cb2fe8725d4a5f14 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | R | false | false | 4,295 | r | ComDayCqDamCoreImplServletCompanionServletProperties.r | # Adobe Experience Manager OSGI config (AEM) API
#
# Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
#
# OpenAPI spec version: 1.0.0-pre.0
# Contact: opensource@shinesolutions.com
# Generated by: https://openapi-generator.tech
#' ComDayCqDamCoreImplServletCompan... |
6d6e0d2bbdd3cebc7a84a6fac711007c90bd8a0a | 39bbe7901efe2b830eb1d4aa867ade4cd764364b | /testData/rename/renameLocalVariableClosureUsage.R | f83c2cbe570795f565bb7e3d7bc6321cf44ae483 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | JetBrains/Rplugin | 86de0c5e38c191cf26b29ba0dc7b32a2f92ff0f5 | ab5b0c146e11d441386dd0344f0761d5e69d1d5e | refs/heads/master | 2023-09-03T23:33:54.945503 | 2023-09-01T14:23:29 | 2023-09-01T16:49:57 | 214,212,060 | 68 | 18 | Apache-2.0 | 2023-04-07T08:36:18 | 2019-10-10T14:59:42 | Kotlin | UTF-8 | R | false | false | 105 | r | renameLocalVariableClosureUsage.R | function(x, y, z) {
ttt <- 331321123
print(ttt)
function(a, b, c) {
print(t<caret>tt + 1)
}
} |
dbc7ab961b589b23ff4760d63a2e57753c5041b1 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Miller-Marin/fpu/fpu-10Xh-correct02-uniform-depth-22/fpu-10Xh-correct02-uniform-depth-22.R | d9db4fad810329a1143d89191c9e855b332848cd | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | fpu-10Xh-correct02-uniform-depth-22.R | 0e7529f386961c8f22ee17db8aed8daf fpu-10Xh-correct02-uniform-depth-22.qdimacs 593079 1584102 |
14e8d08aeedeab9caae20fb4c7f3ad790504c8a8 | e53f8d45dac571308c04cbd2f06e04c6ce332696 | /code/processPosteriors.R | 4e447638b528dba2a08d1a9cbcf911449a64810d | [] | no_license | jeanlucj/BO_Budgets | beb6963a409be387c4d11fc469ee2d6daf992dce | 7396b22b55c4ccae5df4abffd8acd1eceda7978c | refs/heads/main | 2023-08-06T06:40:15.752144 | 2021-10-07T18:44:40 | 2021-10-07T18:44:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | processPosteriors.R | # Process the outputs from getPosteriors.py
posteriors <- list(bestBudget=bestBudget, maxPredGain=maxPredGain,
postVarAtMax=postVarAtMax)
if (exists("predGains")){
posteriors <- c(posteriors,
list(predBudgets=predBudgets, predGains=predGains,
predVars=pre... |
6d2ec69427314fc3d2dcbd4b75983a2b1be9d620 | 0149d1e78e37aa4d3cd54e5dffb5e0c0d04ac398 | /man/log_pbernoulli.Rd | fcdd9d5fc78729a4f79886187a14acfe87e1e996 | [] | no_license | CreRecombinase/FGEM | 084b603d2733f7473d41fe9a324450f85a8c11d5 | da57a629f9a7483feb2106807a3df3d944aa3c68 | refs/heads/master | 2021-05-01T04:50:43.914489 | 2020-07-14T18:53:16 | 2020-07-14T18:53:16 | 37,341,934 | 1 | 0 | null | 2017-05-25T22:15:20 | 2015-06-12T20:01:55 | HTML | UTF-8 | R | false | true | 417 | rd | log_pbernoulli.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{log_pbernoulli}
\alias{log_pbernoulli}
\title{calculate log loss for log-valued prediction}
\usage{
log_pbernoulli(lp, x)
}
\arguments{
\item{lp}{(natural) log-scale probablilty values}
\item{x}{integer (or logical) of length e... |
c27d7305806969783c9c20e5f9c4e53c898ed9c6 | 7dc24ce2d943197c2d8d20e9cb25d32f7e4399be | /man/control_fit.Rd | ec26ad5a6aa196a58a8b36b264333b213caae14a | [] | no_license | biobakery/SparseDOSSA2 | 26f9ceb91a2965b119d783b07b3cd02ee75d6027 | e013d9e3c0fd79e1c343340775f33f14f22b8c5e | refs/heads/master | 2023-01-24T09:26:23.553053 | 2023-01-19T16:45:46 | 2023-01-19T16:45:46 | 219,829,612 | 9 | 2 | null | 2022-10-21T17:36:22 | 2019-11-05T19:05:37 | R | UTF-8 | R | false | true | 1,140 | rd | control_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SparseDOSSA2_fit.R
\name{control_fit}
\alias{control_fit}
\title{Control options for fit_SparseDOSSA2 and fitCV_SparseDOSSA2}
\usage{
control_fit(
maxit = 100,
rel_tol = 0.01,
abs_tol = 0.01,
control_numint = list(),
verbose = FALSE... |
4c467ff325b0ba263128e94bf06d210bf9ca889e | dfd802d011848fa26ab0a5f6121de54e835c3a86 | /scripts/data_processing/parse_align_PDBs.R | f04bb7aa3605fdff73ba4928acf252308e43e818 | [
"MIT"
] | permissive | cjmathy/Gsp1_DMS_Manuscript | c8ef44d150c574083f0ae9c4a35bebe3b38493b6 | 00fb4815d7f8e778c8fe46a62617f5a9c6a048ce | refs/heads/main | 2023-04-12T05:55:28.139056 | 2022-11-07T21:09:56 | 2022-11-07T21:09:56 | 460,596,102 | 1 | 0 | null | 2022-11-04T23:07:51 | 2022-02-17T20:25:11 | Jupyter Notebook | UTF-8 | R | false | false | 3,404 | r | parse_align_PDBs.R | #!/usr/bin/env RScript
# run from command line using 'Rscript parse_align_PDBs.R' from
# the scripts directory of the project
## Author: Christopher Mathy
## Date: 2020-02-04
## Email: cjmathy@gmail.com
## Email: chris.mathy@ucsf.edu
## Description:
## This script preprocesses structures of Ran GTPase downloaded
## ... |
ca6e07b4d80e91e176d0010c61c6d97f6cb20440 | eed03e381541bd6c2ede49db5a673129baf61c79 | /plot1.R | fb346ef7d6d2533537a15b3af48c2df322ba6a31 | [] | no_license | efrainplaza/ExData_Plotting1 | d2b87544ca7d6c0d0ebd5925054afef7a8f22dac | 365228173e91dd0318211092418e32871ab3807e | refs/heads/master | 2020-03-21T14:25:11.487089 | 2018-06-30T23:41:27 | 2018-06-30T23:41:27 | 138,656,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 903 | r | plot1.R | ## First plot for Exploratory Data Analysis Week1 Project
# Read text file
library(dplyr)
library(lubridate)
# Load data for test sets
setwd("C:/Data/R/Exploratory Data Analysis Week1")
headplot <- read.csv("household_power_consumption.txt", sep = ";", dec = ".")
##headplot$Date <- dmy(as.character(headplot$Date))
head... |
da7865d5841eccf7961a1ea703d41d1adefe1f44 | 74b3ee9d3b2ef1edf10c766bc922fbb7c0c3b76d | /LT_ND_Grahl_003.R | 0dfc252e60f06ca10b574635e4b70f2b1c2aa7d1 | [] | no_license | vanderbi/fcelter | c635ea42c2c9886b54042f85ab5d37f54ceed316 | 0bebc6e48bfb04fd07c197e8da11fd0debabbe2f | refs/heads/master | 2022-04-27T00:03:27.059108 | 2020-05-01T00:10:53 | 2020-05-01T00:10:53 | 260,312,052 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,858 | r | LT_ND_Grahl_003.R | setwd("C://Users/kvand/OneDrive/Documents/github")
library(tidyverse)
getwd()
#install package tidyverse if not already installed
if(!require(tidyverse)){ install.packages("tidyverse") }
library("tidyverse")
infile1 <- trimws("https://pasta.lternet.edu/package/data/eml/knb-lter-fce/1069/11/6376dd06d6548631ec826f5... |
a3cd6e9a89b85933ea20cedf5db9e415a9939e3c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rbmn/examples/estimate8nbn.Rd.R | d5af7638cb666e2e9ed93a6256059daf20ddd0a4 | [] | 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 | 212 | r | estimate8nbn.Rd.R | library(rbmn)
### Name: estimate8nbn
### Title: estimating the /nbn/ parameters
### Aliases: estimate8nbn
### ** Examples
data(boco);
print8nbn(rbmn0nbn.05);
print8nbn(estimate8nbn(rbmn0nbn.05, boco));
|
99031140486f958f40fc69e3e5dd8a308be27d27 | 7f12f910638b9949a9d80bf8e307a6d1fafb4c22 | /TidyTuesdays/W26/W26.R | 881b796233a0d13bcc1edd8e7f8295ae221af6cf | [] | no_license | MJaffee/R-Projects | 80327f29f691b76b3c899e8abef45d29b341de64 | 8e8d5eba699d7f044805af551b76d4d5adb92fd3 | refs/heads/main | 2023-06-03T16:16:36.695966 | 2021-06-23T00:25:30 | 2021-06-23T00:25:30 | 369,615,777 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,910 | r | W26.R | library(tidytuesdayR)
library(tidyverse)
library(patchwork)
library(ggbump)
#load data ----
tt_data <- tt_load(2021, week=26)
data <- tt_data$parks
#organize data & parse to convert percentages + dollars(script from @kierisi) ----
parks <- data %>%
mutate(park_pct_city_data = parse_number(park_pct_city_data),
... |
e17f7a0f60abcee2e6be21eb4915cd9dec8fd7d3 | 17b1d0220c3315b421554429ff672e927cdd4706 | /plot3.R | dfeb77a4a215d2c8ae03dfe4e6e95765639ff91e | [] | no_license | JLeonard20/John-Hopkins-Exploratory-Data-Analysis | 5f5a69fb0b932a8d893defc6e955fd0f708cfd58 | d4da48a1f6b0973e2386dc8f85ccd029e177d991 | refs/heads/main | 2023-01-12T07:46:17.992495 | 2020-11-16T15:45:00 | 2020-11-16T15:45:00 | 313,349,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 984 | r | plot3.R | # John Hopkins Exporatory Data Analysis plot 3
# Of the four types of sources indicated by the type type
# (point, nonpoint, onroad, nonroad) variable, which of these four sources have
# seen decreases in emissions from 1999–2008 for Baltimore City?
# Which have seen increases in emissions from 1999–2008? Use the g... |
758637e6e1268f4991319add7e9749cf43a13780 | 2a4fd67af01c0370c1cefcd927dfc057791effa9 | /R/rotate.matrix.2d.R | 84c1a0a466e564ad54f734862e42e589a1cd9463 | [] | no_license | asgr/LAMBDAR | a630d6bde79f77f797f46a36c186d6c5a0035cbe | 33a407e3c16e932512f6892c1d7cbf60ab29a3a2 | refs/heads/master | 2020-04-05T22:44:11.400466 | 2016-11-10T08:00:28 | 2016-11-10T08:00:28 | 73,358,952 | 1 | 0 | null | 2016-11-10T07:52:10 | 2016-11-10T07:52:09 | null | UTF-8 | R | false | false | 341 | r | rotate.matrix.2d.R | rotate.data.2d<-function (x, y, theta) {
out = make.rotation.matrix.2d(theta) %*% rbind(x, y)
return = cbind(out[1, ], out[2, ])
}
make.rotation.matrix.2d <-function (theta) {
theta = theta * pi/180
sintheta = sin(theta)
costheta = cos(theta)
return = matrix(c(costheta, -sintheta, sintheta, costheta), ncol ... |
39a8049a166e443c4273a89154859efa86d3112e | b1225443b98e4359ec5772248a9bae371804230d | /plot2.R | 00fb81e58f453561493d725d4bf511954abb2ca2 | [] | no_license | pathto/ExploratoryDataProj2 | c27bb8b71070a204841977820546f7148c91bd98 | affad4f2cae276178f74a1afbab91c46a31dc0cd | refs/heads/master | 2021-01-10T05:22:32.833062 | 2016-01-02T05:37:51 | 2016-01-02T05:37:51 | 48,899,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 547 | r | plot2.R | ## total PM2.5 emission from all sources in Baltimore
##for each of the years 1999, 2002, 2005, and 2008
library(dplyr)
## read data from files
NEI <- readRDS("summarySCC_PM25.rds")
## SCC <- readRDS("Source_Classification_Code.rds")
## filter the data of Baltimore
data_bal <- filter(NEI, fips == '24510')
emi_bal <-... |
0ed04072d7d363415ac20fabc34736d1fa42b4a2 | fd570307c637f9101ab25a223356ec32dacbff0a | /src-local/specpr/src.radtran/SRC/abpeak.r | 79cae808e0de0814abd47f291ad4cf9f29a58487 | [] | no_license | ns-bak/tetracorder-tutorial | 3ab4dd14950eff0d63429291c648820fb14bb4cb | fd07c008100f6021c293ce3c1f69584cc35de98a | refs/heads/master | 2022-07-30T06:04:07.138507 | 2021-01-03T22:19:09 | 2021-01-03T22:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,730 | r | abpeak.r | subroutine abpeak (xx,iminr)
implicit integer*4 (i-n)
include "defs.h"
include "lmrefl.h"
include "../../src.specpr/common/lblg"
real*4 xx(MAXCHNS), slope1, slope2, half(MAXCHNS), maxval(MAXCHNS)
integer*4 max(256), min(256), maxtmp
real*4 temp(MAXCHNS), maxvtp
equivalence (temp(1),max(1))
#
# smooth input ... |
5ba51543b75472cbc1f177bc705594216ff2841e | 0bdfd1f7c6e62dad6266779e48b42ed40798807f | /Analysis/YearlyAccuracyAndAggMnACorrelation.R | 641471637ff1488051dbe6acf802e083258e31fe | [] | no_license | noamhabot/EliteLaw | bb5b2ee6ff1aa820995f2d59474e146604aaaf61 | 5e57dfb4bbf4638f25756a8283c6e76da5489461 | refs/heads/master | 2021-03-19T18:31:15.863992 | 2018-10-20T18:56:39 | 2018-10-20T18:56:39 | 118,191,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,720 | r | YearlyAccuracyAndAggMnACorrelation.R | # Load the necessary libraries
library(ggplot2)
library(dplyr)
library(grid)
# clear the current workspace
#rm(list = ls())
# Set the working directory
setwd("~/Google Drive/Stanford Law Project")
# This script accepts the following file generated from MnACutoff.Rmd,
# appends aggregated MnA data to it, and tests a... |
7e77f6e8c5b6bf5304b68757bcf3c005479031e2 | 50aeef80232f631e48e244a8b4ca8c0c2753595e | /history/ui.R | f5bd07908f7706918c9a54e7bdc711042a612f73 | [] | no_license | npp97-field/EucPVE | d6627705f7083b79f9827dec0098cc21e15d62b0 | 5bc47d305ddd32335fbf832139932cdf60c4f55d | refs/heads/master | 2021-01-19T21:36:15.351260 | 2015-02-25T02:01:31 | 2015-02-25T02:01:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | ui.R | #this scrupt defines the interface(sliders, etc)
library(shiny)
# Define UI for miles per gallon application
shinyUI(pageWithSidebar(
# Application title
headerPanel("Effects of belowground space limitation on performance of Eucalyptus seedlings:
barrier sensing or nutrient limitation?"),
... |
931ff7b2878f502cda87e446022a630b8dc934b1 | 1a8b54238141f92403b9306e49c7c24964705247 | /man/ghost.Rd | 558731a32c8ef8f3b4350b68e929c33a613d8d3b | [
"MIT"
] | permissive | EmanuelHark12/pkmnR | f790f0f3473859ea686b2d4d85ef4549bf5c6d68 | 7d3a8fc2fa55009b349741801314a1242e6932af | refs/heads/master | 2023-05-04T08:19:08.288495 | 2021-05-29T01:32:12 | 2021-05-29T01:32:12 | 351,294,000 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 973 | rd | ghost.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{ghost}
\alias{ghost}
\title{Dados sobre os pokemon do tipo Fantasma}
\format{
Uma tabela com 13 colunas:
\describe{
\item{Nome}{Nome do Pokemon}
\item{Regiao}{Região do Pokemon localizado pela primeira vez.}
\item{... |
9d06f4b5ee99daeef6eb9fed93e23c6dc8680fd6 | d8a5e3b9eef3c76bb7ca64d29ef2746cebd4c542 | /R/repetition0N.R | db0428dd23188da522eacd6e0c0c90547a8c43dc | [] | no_license | cran/qmrparser | 0539ad4bf5b97039e50b2bffa16c3012899c6134 | bb1bb2b50b358d79f6400d521f995e1d2a55a784 | refs/heads/master | 2022-05-09T03:49:13.511049 | 2022-04-23T23:00:05 | 2022-04-23T23:00:05 | 17,698,845 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 319 | r | repetition0N.R | #do not edit, edit noweb/qmrparser.nw
repetition0N <- function(rpa0,
action = function(s) list(type="repetition0N",value=s ),
error = function(p,h) list(type="repetition0N",pos=p,h=h))
option(repetition1N(rpa0),action=action,error=error)
|
afc8d4a5e1b28fc7276ae8b5ce460136bd5725a6 | 5f65d74beacc184ea35c7da50db407408914e21d | /02_R-Programming/rankall.R | 9e330d88ea7197ec36b1eca748fea1037bcf0920 | [] | no_license | olistroemer/datasciencecoursera | 71bb5300ff79eb4fd5ece5c822c68eb371f45712 | d921e1a215dfbed960acd2e23d50eb81fb329d68 | refs/heads/master | 2020-05-30T14:11:26.721840 | 2020-04-08T13:19:05 | 2020-04-08T13:19:05 | 189,783,108 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 919 | r | rankall.R | # In which column are the relevant data?
columns <- c("heart attack" = 11, "heart failure" = 17, "pneumonia" = 23)
data <- read.csv("outcome-of-care-measures.csv", colClasses = c("character"))
# Convert relevant columns to numeric
for (c in columns){
data[,c] <- as.numeric(data[,c])
}
# Split data by state
sdata ... |
e675bac67fc705e6849fbb2e398e43cd6c4c2e6a | be47f48854fb51b37ba6aeabf1401a38e2f6b9ff | /man/itCall.Rd | efc26619d7e1992399ff836ffe8b2086ec7e8fa5 | [] | no_license | wconstan/ifultools | a0d51d9243b85ab4096bfda45f118b5829617699 | 6d887f97f6eb258354122955723c289f268c95a0 | refs/heads/master | 2021-01-17T18:31:05.191308 | 2020-04-30T23:42:42 | 2020-04-30T23:42:42 | 58,664,643 | 0 | 1 | null | 2016-05-18T17:36:10 | 2016-05-12T18:00:13 | C | UTF-8 | R | false | false | 889 | rd | itCall.Rd | \name{itCall}
\alias{itCall}
\title{
Thin itCall Wrapper to IFULTOOLS Symbols
}
\description{
Thin itCall Wrapper to IFULTOOLS Symbols
}
\usage{
itCall(symbol, ...)
}
\arguments{
\item{symbol}{character scalar defining symbol to call in DLL}
\item{\dots}{arguments to underlying C code}
}
\details{
F... |
d2494939ce9c1c3d7cf7092c951d8ff0ba5f8732 | 4680f495ab20b619ddf824584939a1e0356a0ed3 | /scripts/solution/slots_out_of_mountains_to_track.R | 885b1c17ddc1ca1daa2d064d515ec761674cfa7b | [] | no_license | Laurigit/flAImme | 7ca1de5e4dd82177653872f50e90e58aed5968f7 | 9d4b0381d4eedc928d88d0774c0376ba9341774b | refs/heads/master | 2023-05-24T17:06:58.416499 | 2023-04-28T08:10:30 | 2023-04-28T08:10:30 | 251,082,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | slots_out_of_mountains_to_track.R | slots_out_of_mountains_to_track <- function(game_state) {
# game_state[, rleidi := rleid(CYCLER_ID)]
sscols <- game_state[, .(mountain_row = ifelse(PIECE_ATTRIBUTE == "M", 1, 0), GAME_SLOT_ID, CYCLER_ID)]
sscols_aggr <- sscols[, .N, by = .(mountain_row, GAME_SLOT_ID)][order(-GAME_SLOT_ID)]
# sscols_aggr[, start... |
025b804ce7fe1f1f94306d0293638cbc8cde9b57 | 16f9082704bd55e4ad7efba5d4a196da61fb70e7 | /plot2.R | e40078cd71a37aa54a90a259d14a83399420f5ff | [] | no_license | JorgePajaron/ExData_Plotting1 | 1c276d2e5a39ae0d3a6a889899386c4384bbb85c | 66eec50bd445980dd55baaa0941197dc453946a1 | refs/heads/master | 2021-01-18T06:32:53.420498 | 2015-03-04T14:42:48 | 2015-03-04T14:42:48 | 31,604,947 | 0 | 0 | null | 2015-03-03T15:18:17 | 2015-03-03T15:18:17 | null | UTF-8 | R | false | false | 364 | r | plot2.R | data<-subset(read.table("household_power_consumption.txt",header=TRUE,na.strings="?",sep=";"),Date=="1/2/2007"|Date=="2/2/2007")
data$Fecha<-strptime(paste(data$Date,data$Time),"%d/%m/%Y %H:%M:%S")
Sys.setlocale("LC_TIME","English")
png(file="plot2.png")
with(data,plot(Fecha,Global_active_power,type="l",xlab="",ylab="G... |
fb3a6019291dcaf386b6de2dfd4c5996350ce853 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/Isopropamide.R | f156a4408d1d94904f4bdad42a1a3144fa2bd19a | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 228 | r | Isopropamide.R | library("knitr")
library("rgl")
#knit("Isopropamide.Rmd")
#markdownToHTML('Isopropamide.md', 'Isopropamide.html', options=c("use_xhml"))
#system("pandoc -s Isopropamide.html -o Isopropamide.pdf")
knit2html('Isopropamide.Rmd')
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.