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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37d38106417c3ee6f3e591f941835d32d887150c | a80f634ea89c9b9dfb720a0b36ea5ad58e357921 | /SINKING FUND SCHEDULE.R | aa84f1f541912e7b5ad7a8d1f685a4f451d0b94d | [] | no_license | SKaizenRGB/TOI- | a4b2210a764f48f5e6b8ffa8eb08b8b0ce28f637 | 6744962752f0b7c260a1b73f96a168eb92921075 | refs/heads/main | 2023-03-22T14:35:50.683550 | 2021-03-12T06:43:32 | 2021-03-12T06:43:32 | 346,965,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,279 | r | SINKING FUND SCHEDULE.R |
# SINKING FUND SCHEDULE
# Consider a loan for Php 300,000.00 to be paid in 5 annual payments at
# 6% rate per period. The lender charges an interest at 8% rate per period.
# Generate and complete a Sinking Fund Schedule.
#Given:
L <- 300000 #loan
j <- 0.06 #sinking fund i... |
3697246c2fbbae192d30c40a830bc87837c7215f | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /ark_87287/d7cg6m/d7cg6m-001/rotated.r | b0a557755ccae1ceae08baa0e5b6acfbd29f364e | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 195 | r | rotated.r | r=0.36
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7cg6m/media/images/d7cg6m-001/svc:tesseract/full/full/0.36/default.jpg Accept:application/hocr+xml
|
3fcf476f8601e85607e57d28d429f50560155e1c | 7690401ce83371a7bbdcb637f9bb027389e00d85 | /ADOE-Project.R | 0253cdad314f703c6086181da5fed9aa5efde8c9 | [] | no_license | cshartrand/GT-Project-Advanced-Design-Of-Experiments | 3be7c791ded3fd6f51f6aa4705e2fcbb2ec5abad | d335631bdd0a177e40fb3fda83e9e5058160999b | refs/heads/master | 2021-06-11T04:58:53.293847 | 2017-04-20T23:38:58 | 2017-04-20T23:38:58 | 75,781,433 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,847 | r | ADOE-Project.R | ##ISYE 7400 Project Code
setwd("/Users/dshartra/Documents/GT-Fall-2016/ADOE")
## Load in data
data = read.table("runprojdata.txt",header=T,sep=" ")
head(data)
##Function to calculate vdot (approximation of you V02Max)
vdotf = function(x){
permax = 0.8 +0.1894393*exp(-0.012778*x[2])+0.2989558*exp(-0.1932605*x[2]) #c... |
c06787ae92d313f76522cebdb4f81cded99dcd61 | 23c5b3db820ebe3ebb66a489b88219689404907e | /plot3.R | d8917f55e1aa426125f7aca23e339f985f512be6 | [] | no_license | paulourbano/ExData_Plotting1 | 865017d7fa12347d9fbe28ef1aa2c0718058dc74 | a51ca93d3c00bc82858fde2940393801ec99e501 | refs/heads/master | 2021-01-18T07:32:26.951765 | 2014-07-13T18:18:46 | 2014-07-13T18:18:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,993 | r | plot3.R | ## Exploratory Data Analysis, Coursera
# Project 1, July 2014
# Read data from file
# RAM usage
# > object.size(data)
# 91853280 bytes
data = read.csv("household_power_consumption.txt", sep=";")
# Converting the Time to "Date" class, allowing plot active
# power over the moments of measument
data$Time = strptime(pas... |
d03a4f3108b67fb7d7d527f02ec6adabc6e89551 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.analytics/man/glue_delete_column_statistics_for_partition.Rd | 2ecb5b809fdb643b590b20fc57c3190f276a7f7d | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,326 | rd | glue_delete_column_statistics_for_partition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glue_operations.R
\name{glue_delete_column_statistics_for_partition}
\alias{glue_delete_column_statistics_for_partition}
\title{Delete the partition column statistics of a column}
\usage{
glue_delete_column_statistics_for_partition(CatalogId,... |
159f29ce0878a51d5b9f36861ca975726f3ed821 | 3b690f89f11745253b68c84d91b53102d6d39eee | /HMMfigures.R | 63e2f72bec79bfa06829a4ad0f3f1f2738d2a933 | [] | no_license | elifdogandar/HiddenMarkovModel-R | 9d0371cdd8cbe75a1e20effa97f73209014fdffa | f790207aba9ea9bebc96b6d424fae46f187ae4f1 | refs/heads/master | 2020-05-15T13:17:51.114495 | 2019-04-19T16:36:33 | 2019-04-19T16:36:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,336 | r | HMMfigures.R | install.packages("ggplot2")
install.packages("gridExtra")
library(ggplot2)
require(gridExtra)
library(tidyr)
####### effect of number of states
test_data <-
data.frame(
fkm = c(0.8121997,0.809192,0.8106626,0.8106626,0.8121332,0.8048029),
fkmed = c(0.85575,0.8734848,0.8840477,0.8689414,0.9168449... |
d945fc709fd638a82999df38acfc73aeb240cfa3 | f17b6a5fb7d07be8d4de82c4411616e2811d7e72 | /R/summary_data.R | 1a73742d4a44ddc9a29358ea084a4cbcd86cc04e | [] | no_license | rodrigoalmeida94/DragonMasterProject | 7c8f225e16c3439c6d6262533e1dfc260f86e846 | 6f0cfa7acecaaada4902709cfe08cc8bc9251f8b | refs/heads/master | 2021-01-11T17:36:01.225035 | 2017-02-02T16:03:42 | 2017-02-02T16:03:42 | 79,797,172 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 598 | r | summary_data.R | # ---- summary_data ----
# Summary of data of a raster layer
summary_data <- function(raster_list){
out <- c()
for(elem in raster_list){
info <- c(elem, elem@data@names, elem@class[1], elem@extent@xmin,elem@extent@xmax, elem@extent@ymin, elem@extent@ymax, elem@crs@projargs, res(elem),elem@data@min,elem@data@... |
6c263c2a5cbc15b4c766bf7c1aaae6e837bc967e | 25524de30d715f1464789860405e6d98d4e71159 | /Lab4-3.R | 6124b5a5b1a07fd3f4000a4a94ba12f4efdd2cae | [] | no_license | sunnyhyo/Multivariate-Statistical-Analysis | 1d3e5f46418de4dcadd2240f383d35aa51fc8648 | 4ebfd44670ab8b1f30a2f238603b1515b0877e33 | refs/heads/master | 2021-04-26T23:02:13.698323 | 2018-05-28T01:45:19 | 2018-05-28T01:45:19 | 123,919,384 | 0 | 1 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,327 | r | Lab4-3.R | #Lab4-3
getwd()
library(ggplot2)
n<-100
p<-5
ex1<-data.frame(matrix(rnorm(n*p),ncol=p))
# use R i386 version ÀÛµ¿ ¾ÈµÊ
#library(rggobi)
#ggobi(ex1)
Sigma1<-matrix(c(1, 0.6,0.5,-0.2, -0.3,
0.6 , 1, 0.2, -0.4,-0.2,
0.5 , 0.2 , 1 , 0.5, 0.1,
-0.2,-0.4 ,0.5, 1, 0.2,
... |
08f07c134750e4464270842ee4cf3132880aadd6 | 40c65fff3847662ce46d2afd73acf8b68b785107 | /R/model-module-helpers.R | 75c16433d5653c0a28342c26ae2feb6bf5898644 | [
"MIT"
] | permissive | epinowcast/epinowcast | b4d4562603938e9a184d3450d9387f92908cd6bc | 98ec6dbe3c84ecbe3d55ce988e30f8e7cc6b776d | refs/heads/main | 2023-09-05T18:19:10.985900 | 2023-09-05T12:13:49 | 2023-09-05T12:13:49 | 422,611,952 | 23 | 5 | NOASSERTION | 2023-09-14T09:57:09 | 2021-10-29T14:47:06 | R | UTF-8 | R | false | false | 7,889 | r | model-module-helpers.R | #' Identify report dates with complete (i.e up to the maximum delay) reference
#' dates
#'
#' @param new_confirm `new_confirm` `data.frame` output from
#' [enw_preprocess_data()].
#'
#' @return A `data.frame` containing a `report_date` variable, and grouping
#' variables specified for report dates that have complete re... |
b88e1ac9c78d26acd898ce5839d4927e87a2c5bf | 9149c718da538584fc774b0d240f410ec1cb45e5 | /man/plastome_alignment.Rd | 9d52a2dc72d59754b5f9d06fc4d4960bba7030c3 | [
"MIT",
"CC0-1.0"
] | permissive | fernphy/ftolr | 4d6d9b39b72cff683a339f9dadefd3e1e14867ed | 2d5cec57e2f74ad9457819463e1c97ecb4aa96d1 | refs/heads/main | 2023-09-01T13:54:02.346424 | 2023-08-16T22:54:55 | 2023-08-16T22:54:55 | 475,787,005 | 0 | 0 | NOASSERTION | 2022-09-08T01:06:21 | 2022-03-30T08:26:18 | R | UTF-8 | R | false | true | 758 | rd | plastome_alignment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{plastome_alignment}
\alias{plastome_alignment}
\title{Aligned plastome DNA sequences used to build Fern Tree of Life (FTOL)}
\format{
Matrix of class "DNAbin"
}
\usage{
plastome_alignment
}
\description{
Concatenat... |
653c2c3c292e8abf291181342efb5e62c36de829 | b6774fa2437f36c4b2709b9823b766df8e9dda2b | /R scripts/Exp 2. Eye-tracking/clause analysis/clause analysis total.R | b469a1fbd6a0223f19f115f43b690dd8722280d1 | [] | no_license | kihyo-park/Processing-ambiguous-comparatives-in-Kor | c3b840df52d423e1f1aefe88d3975159633523bb | 93e3ed9f24f5aaa1e3934435d2a7d87ab259ccdc | refs/heads/master | 2023-05-09T18:49:47.743561 | 2021-06-02T10:38:07 | 2021-06-02T10:38:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,089 | r | clause analysis total.R | ######################################
##### Kihyo's MA thesis analysis #####
######################################
## REMOVE ALL ##
rm(list=ls())
setwd("C:/R/comparatives/clause")
options(scipen=999)
library(plyr)
library(dplyr)
library(ggplot2)
library(gridExtra)
library(lme4)
library(lmerTest)
li... |
303bcc9bd9d4e9dc9adb1be6db0612e89c7566a2 | 830f467753e1a4ae9b6306cd10259624c3b40281 | /newPMdataCheck.R | a47d7041835099229739a83e9f04e7d11e150925 | [] | no_license | kobajuluwa-eq/AirQualityScripts | d6c13b56704c7c5558fd5542a77ac4631b690324 | d1b58bd1cf906eab0700037611282c227d61fea4 | refs/heads/main | 2023-03-18T22:40:19.624188 | 2021-03-13T06:36:54 | 2021-03-13T06:36:54 | 347,293,685 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 739 | r | newPMdataCheck.R |
impdir <- "C:/Users/Obajuluwa/Downloads/Web_Zephyr_PM_data/Web_Zephyr_PM_data/wetransfer-7c533e"
setwd(impdir)
pmfile <- list.files(path = impdir, pattern = "*.csv")
pmdata <- read_csv(pmfile[1],na = "NA")
summary(pmdata)
bic1415 <- filter(pmdata, cartridge == "BIC1415") #NCF
bic1483 <- filter... |
e24778b02f9f6f131d6214c3e4f64d156cf00a51 | d542d9873025deac2ed6073e0f57f429a8759802 | /corr.R | ffd373f667714c8dfebb024b371953de61285bb3 | [] | no_license | madantecno/Prog_asgmt_2 | e534ef058592006a11efc5f4d1e49d0c5beed385 | c510d9efcb618dd13dd19e49cf595e04cb206ac1 | refs/heads/master | 2020-03-30T02:51:22.295635 | 2015-04-02T06:14:49 | 2015-04-02T06:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | corr.R | corr<- function(directory,threshold=0){
path=paste("Practice Code/Week 2 asginment R Prog/",directory,sep="")
data = multmerge(path)
required_data=na.omit(data)
result<-as.data.frame(table(required_data$ID))
colnames(result)<-c("ID","nobs")
id_ab... |
5d01bf55a2c9dab8a86032f7045f159134f93e85 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fractal/examples/FDWhittle.Rd.R | a3be9795780aea3b7a9c7840cc002265b1c4660e | [] | 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 | 347 | r | FDWhittle.Rd.R | library(fractal)
### Name: FDWhittle
### Title: Estimate the Hurst coefficient by Whittle's method
### Aliases: FDWhittle
### Keywords: univar models nonlinear
### ** Examples
set.seed(100)
walk <- cumsum(rnorm(1024))
FDWhittle(walk, method="discrete", sdf.method="multitaper")
FDWhittle(walk, method="continuous", s... |
9a8d513d5cbd7837b0f82bba179d4e418f24f9a6 | 90d748c0b36a970827199188b764487e514d3c8c | /man/simsham.Rd | 49d40de1ce8547401ba473e31345efd278609ceb | [] | no_license | bips-hb/simsham | 1c2bca8a8fa86a4074301bfa763debceeaec231f | 74c48e5d53c08d2fe1421d7db553d02fe1ec1299 | refs/heads/main | 2023-06-16T07:22:19.090863 | 2021-07-16T16:05:05 | 2021-07-16T16:05:05 | 386,691,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 806 | rd | simsham.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulate.R
\name{simsham}
\alias{simsham}
\title{Simulate normally distributed dataset}
\usage{
simsham(
n = 10,
p = 20,
s = 5,
corrmat = corrmat_identity(p),
beta = beta_first_s_covariates(p, s),
snr = 1
)
}
\arguments{
\item{n}{... |
1a70d35959d1366723a8ef20f22d6d90d21c0729 | b10d113a245b7de1f7423e277d2957f9baab7c74 | /plot2.R | 7e2e743112058a8cdbc6c54c6676ee79110afdf4 | [] | no_license | Orizel/Project-1 | 511f9fe2040bd2eed2cf71abae682559fa245bb9 | 7605bee95e3569292c01ae3dbbf5ad35d9d5d48c | refs/heads/master | 2022-10-27T21:35:57.896836 | 2020-05-28T19:12:16 | 2020-05-28T19:12:16 | 267,674,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 991 | r | plot2.R |
###Loading the dataset inta epc
epc<-read.table("household_power_consumption.txt", skip=1,sep=";")
#Names the 9 variables in the dataset epc
names(epc)<-c("Date", "Time","Global_active_power","Global_reactive_power", "Voltage", "Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3" )
##Selectec th... |
0abc5231a7bd42e84e6308dd56756e97721a28b1 | 2e75693a34b01351d3e244734b1a52d411994392 | /DataSciencePrep/C1/Entropyexample.R | 5055f7f1f2258b8769ccb00be7a91b3737cbd55f | [] | no_license | pradeep-pasupuleti/DataAnalytics | 8ef6e940436a511f38532b92bb20899f703f8b04 | ecfee2e94fe4ec5736684503d2c000d9e22f0724 | refs/heads/master | 2021-01-25T05:34:29.715430 | 2015-06-30T11:47:43 | 2015-06-30T11:47:43 | 35,626,431 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 690 | r | Entropyexample.R | library(FSelector)
setwd("C:/Pradeep/Working Set/Consulting/Kaggle/DataSciencePrep/InsofeChap1/Data")
entdata <- read.csv("entropy.csv")
dim(entdata)
summary(entdata)
names(entdata)
str(entdata)
dim(entdata)
weights <- information.gain(buys_computer~., entdata)
print(weights)
subset <- cutoff.k(weights, 4)
f <- as.si... |
4b7404da3d64ad5e075562a464f0dc1d9c0df77f | 907aaa2ef40dd8beeb9d533fa519fac0afaf8e37 | /man/flowerplot.Rd | c768d31261170a71f9494da6622cd93f3702ea6b | [] | no_license | AndreasFischer1985/qqBaseX | eaee341155d66d4ff92ca00d6b4d419c3bf1f28a | 98bec0ce041666d09d2c89a4ddc6b84a2349fa53 | refs/heads/master | 2022-09-14T18:58:05.493380 | 2022-08-26T11:52:38 | 2022-08-26T11:52:38 | 189,703,556 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,282 | rd | flowerplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flowerplot.r
\name{flowerplot}
\alias{flowerplot}
\title{Function flowerplot}
\usage{
flowerplot(x = NULL, maximum = NULL, rownames = NULL,
colnames = NULL, main = NULL, color = NULL, color2 = "lightgrey",
add.numbers = F, ncex = 0.8, ndi... |
b2127b3600cdcf27f30238edc93d4fedc551a906 | e0f25961c87e91234f0e53548b43be59bb2fc8a8 | /elo/linefa.R | db352f09aafb9fb746096260e1af67cc49c45f90 | [] | no_license | lauromoura/playground | 47301daffefd246b1d488328581dfd392ba609a2 | e4e1b64b262505ef2f91a4ae2c9fe4d8ddf3755b | refs/heads/master | 2020-09-21T15:10:32.010547 | 2015-11-12T04:44:30 | 2015-11-12T04:44:30 | 4,940,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,067 | r | linefa.R | source("elo.R")
teams <- read.table("teamsPE2015.txt", header=TRUE, stringsAsFactors=FALSE)
loadSeason <- function(filename, teams) {
print(filename)
print(teams)
matches <- read.table(filename, header=TRUE, stringsAsFactors=FALSE)
for (i in seq(nrow(matches))) {
homeElo <- teams[teams$Name == matches[i,"HomeTe... |
a1ee05a6c7520c10c68544a5fa30d47269c715f4 | a04e329d8a7d46fcdda3458c2e4411ed1f2596ac | /Session 1/Histogram Example/app.R | 43cdc8a86fdf7935ceffb98bd8fdbf867ee3ffc0 | [] | no_license | sshawna/Shiny_workshop | 240af635194994aea6d26f6e7375aad46e19f38f | 16f26d14acf7c6b857dc7f4d7c2b6ba57be0df76 | refs/heads/master | 2020-04-15T05:17:06.182811 | 2019-01-24T09:53:06 | 2019-01-24T09:53:06 | 164,415,625 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 257 | r | app.R | library(shiny)
ui<-fluidPage(
numericInput( inputId = 'n', label = 'Sample Size', value = 25),
plotOutput( outputId = 'histogram')
)
server<-function(input, output){
output$histogram <- renderPlot({ hist(rnorm( input$n )) })
}
shinyApp(ui,server)
|
c72ba1c1ab07b2f2fed6a6a846ae845060d75f39 | 6c781a8d1c6dba9d7bfacba81e72a15a79aa523a | /macros/tryTry.R | a38fae034bf2d3fc056ee3c54a409aab54030515 | [] | no_license | LukeBatten/antarcticR | 2de359e4c54c3f04e30a965df7dde5c525431faf | 46eecd33a5793274e4c79c2ee19ea590e50ded39 | refs/heads/master | 2021-07-13T16:51:31.435042 | 2021-06-07T22:19:37 | 2021-06-07T22:19:37 | 89,716,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,535 | r | tryTry.R | require(antarcticR)
require(dbscan)
require(colorRamps)
require(ggplot2)
require(raster)
dataFrame <- csvToDF("../../areaSigmaList.csv")
## generate a Haversine Matrix from the lat-long dataFrame
havMat <- as.matrix(genHaversineMat(dataFrame))
diag(havMat) <- 99999
havMat <- apply(havMat,1,min)
dataFrame$minHav <- a... |
095a4b230ba0a051d060f7a612714d508b1b5915 | 6fc77d31ad1688033d6dd9830d3c531760a6aabf | /tests/testthat/test-nonstationary.R | ecabe297a91a894a3a2bda45ec74c5299e10718e | [] | no_license | pbs-assess/sdmTMB | ba24efb807680f28fdfa9a27a2a775b1817b49c8 | 6aa4e8a7847318f81e91a0bfb6c85001db07d0da | refs/heads/main | 2023-09-03T17:06:22.517565 | 2023-08-18T20:54:48 | 2023-08-18T20:54:48 | 149,399,567 | 133 | 12 | null | 2023-05-11T18:43:58 | 2018-09-19T05:59:53 | R | UTF-8 | R | false | false | 11,631 | r | test-nonstationary.R | # basic model fitting and prediction tests
#
# test_that("Test that non-stationary model works with random effects in epsilon works", {
# local_edition(2)
# skip_on_cran()
# skip_on_ci()
# skip_if_not_installed("INLA")
#
# mesh <- make_mesh(predictor_dat, xy_cols = c("x", "y"), cutoff = 0.1)
# epsilons <- ... |
5dcf28c881ad1e1872b2aa5e4ec4d4afe206f95a | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Biere/tipfixpoint/eijk.S382.S-f4/eijk.S382.S-f4.R | 3267f7f1ab56a9a731f47288de4d2ac440db0809 | [] | 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 | 65 | r | eijk.S382.S-f4.R | 9b4cc96d1857a6c3c551436fbe5e7454 eijk.S382.S-f4.qdimacs 2573 7324 |
85e9b19432adaf3999dc5f50a2eab06d315554b6 | 997492427de19d25d5d3562604ac26310679f4f8 | /gibbs functions GP.R | b0d8942f3ae3f45051b8f029b71fcc83efb7dce7 | [] | no_license | drvalle1/github_GP | 23a4d3dc3323bfdefaf022fad496b2428d012ae0 | c6fd45ff1739d8d10e470eefe14e127230a41799 | refs/heads/master | 2021-01-23T12:38:40.641121 | 2017-05-26T19:23:58 | 2017-05-26T19:23:58 | 93,185,203 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,965 | r | gibbs functions GP.R | tnorm <- function(n,lo,hi,mu,sig){ #generates truncated normal variates based on cumulative normal distribution
#normal truncated lo and hi
if(length(lo) == 1 & length(mu) > 1)lo <- rep(lo,length(mu))
if(length(hi) == 1 & length(mu) > 1)hi <- rep(hi,length(mu))
q1 <- pnorm(lo,mu,sig) #cumulative distrib... |
127c9c4e060bed4ec25de851ea44471c128cea16 | ccdd4b3b8565f9bb47c71d22816dc9cedff2d4c3 | /census_workflow_adjust_basepop.R | 80966ed2e6ab46fec75f0f40f9b61caea2ce7d97 | [] | no_license | Shelmith-Kariuki/ddharmony | fea918acb462cc16abb1cb3753d222226134314f | 6cea3db54df692c420c05e3141a00852a2d882dd | refs/heads/main | 2023-07-14T16:47:00.370682 | 2021-08-04T08:21:08 | 2021-08-04T08:21:08 | 338,287,122 | 0 | 0 | null | 2021-02-12T10:30:13 | 2021-02-12T10:30:13 | null | UTF-8 | R | false | false | 8,348 | r | census_workflow_adjust_basepop.R | # This function carries out the basepop adjustment for children missing from census counts
# See census workflow chart XX for a description of the logic/steps
census_workflow_adjust_basepop <- function(popM1, # male pop counts by single year of age
popF1, # female pop counts... |
26355ffefa69034544becc0edfb443a050c6fc5e | 7610db967cf364d632ed688930d3db13a1e779bd | /Test 1/Bigmart 1.R | 1f90f38de01a80d2fa88afdacbf48547f733a74c | [] | no_license | Prbn/Big-mart-Sales-Practice-Problem | ab79f6edb05625ff5469716f013bb756c9c7a084 | 8851f5c9c3cb6620224bccc6b151d289f053b699 | refs/heads/master | 2021-05-14T16:18:32.728712 | 2018-01-02T13:20:02 | 2018-01-02T13:20:02 | 116,017,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,281 | r | Bigmart 1.R | # A 1
# Importing Data
#---------------
# setting up new working directory using the
setwd("D:\\Work\\R\\R Projects\\Big mart Sales Practice Problem\\DATA")
# putting the data frame into an object called stats
test.d <- read.csv("Test_u94Q5KV.csv", stringsAsFactors = F, na.strings = c('') )
train.d <- read.csv("Tra... |
1fe602c369b6bd007034fc7c96919791a6bd15e5 | 1f1b48ad3c0718328974920392537c256740f6be | /plot3.R | 52c0d8e3dd4105ab423f64fdf26bec19a5522db3 | [] | no_license | gopalkriz/EDAproject2 | 96d1115875a40d7ce2d70aeff0cfc5075963597b | 3e6559dea42235251200bc4fcfd3843cd33cba4e | refs/heads/master | 2020-12-24T14:01:45.639424 | 2015-07-22T07:21:48 | 2015-07-22T07:21:48 | 39,411,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,443 | r | plot3.R | ```
#Coursera #Exploratory Data Analysis # Project2 # date 20July2015
#About Project: view ReamMe.rd file for the entire Project Description
#Overview: Graphical Analysis of Ambient Air Pollution / Fine particulate matter (PM2.5)
#Database (USA): National Emissions Inventory (NEI) from Environmental Protection Agency ... |
c0df4d86195292ffce6ea322783f920e92e6088a | 4e27985b0d0eaeb9c7188883309f5c01b08f0827 | /man/get_comp.Rd | bfd136672aa87b22c7d32690031751011dc5fc8e | [] | no_license | nxskok/poistan | 6064803d61785c7fb2ac2037ec602187d3766cc4 | b352b66d79a16d305df6c3ba371874a7fc5c08f6 | refs/heads/master | 2020-06-01T07:19:27.814275 | 2015-05-17T17:26:10 | 2015-05-17T17:26:10 | 34,591,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 327 | rd | get_comp.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/get_data.R
\name{get_comp}
\alias{get_comp}
\title{get competition(s) from data base}
\usage{
get_comp(id)
}
\arguments{
\item{id}{competition id (scalar)}
}
\value{
data frame of results
}
\description{
get competition(s) from data b... |
8cc989bd264ae195e921f13bdfc371ed9c485a91 | 4155eeadd175d2518f31d9b353396b0a94bbde60 | /tests/testthat/test-svg.R | 6b23758353952fff1078f1a87223fd847dac38a5 | [
"MIT"
] | permissive | trafficonese/weathericons | 66eaab8cc3c67ad8b4f848ca55cf30a9acfdf9d7 | c2f287f0a934b9994383577529eb4bb6ca271074 | refs/heads/master | 2022-04-07T20:23:14.221855 | 2020-03-09T09:28:46 | 2020-03-09T09:28:46 | 242,313,213 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,114 | r | test-svg.R |
test_that("Test SVGs", {
expect_error(weathersvg("wi-cloudyerr"))
x <- weathersvg("wi-cloudy", style = list(fill = "red",
width = "10%"))
expect_true(inherits(x, "html"))
expect_true(inherits(x, "character"))
x <- weathersvg("wi-wind-deg.svg", style = list(fill = "... |
46b0141d76e7feef4ba4946a9ff452ce78d8aeaf | bc7da505db39e6e5b0dcbca9e9c935dd4ca34eb3 | /R/rolling_var.R | 08f32728c25dc8962d56989da318825863c83ed1 | [] | no_license | cran/PheVis | fba5649ea6b3abbfcd0a74b7c54afd5fd2b51dc9 | cc19834d117db49595edb989c89d29a4da74aa8d | refs/heads/master | 2023-03-09T14:13:42.362852 | 2021-02-23T08:40:21 | 2021-02-23T08:40:21 | 339,444,782 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,407 | r | rolling_var.R | #' @title rolling_var
#' @description Compute rolling variables (last visit, last 5 visits, last month and last year)
#'
#' @param id Patient id numeric vector
#' @param var Variable numeric vector
#' @param start_date Time numeric vector
#' @param id_encounter Encounter id vector
#'
#' @return A dataframe containing ... |
eb8cf012e6222dd3389910843be76f0cf91a0a57 | 6531e2964e1938417fa6b5404a704635575d7960 | /R/qc_spot_etuff.r | 74865df3020150dd9d054b7976a25552e75211b0 | [] | no_license | galuardi/tags2etuff | 1451efba0220dd66f81796da48307d036a46db4e | 68d1b58ada8e325577c99848a5feb56a23416c8f | refs/heads/master | 2023-08-29T14:15:14.719884 | 2021-09-15T13:30:33 | 2021-09-15T13:30:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,849 | r | qc_spot_etuff.r | #' Simple quality control plots for SPOT eTUFF file
#'
#' This function is to do very simple QC on SPOT tag conversion to eTUFF and the
#' associated metadata. It does NOT do any filtering or further processing of
#' the positions. Instead, it is meant to check that the coordinates, time
#' stamps, location classes and... |
fc6ca0cf25150f96f84d2d2a49f8756c8fd12581 | cd75f45d6fa3ca02fd18954f1c977318e359325f | /25_02_2020_measles/25_02_2020_measles.R | 3b09f889d2e8cc195ec404ba72e74b9ca59bf234 | [] | no_license | camecry/ILoveTidyTuesday | 45f2bad1137aa5b76e55c274a80878864f86624a | 93691c392ebbf6fd241c65320c439e3da87e812b | refs/heads/master | 2020-12-19T14:19:37.800976 | 2020-11-17T14:09:04 | 2020-11-17T14:09:04 | 235,759,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,876 | r | 25_02_2020_measles.R | # TidyTuesday 25/02/2020
# Measles
# Get the Data
library(tidyverse)
measles <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-02-25/measles.csv')
# Filter only year 2018-2019
data <- measles %>%
filter(year == "2018-19")
# Select only few columns & ... |
d121f9587b1a5d71fcc916b4448e25a544534e15 | a6969f000d222cbfb0853181120a40461085d67e | /navbar/ui.R | 1a5e067a5664b436707850768d50f6a52be9e51c | [] | no_license | benporter/wiredhack | a38bf081e14a1bbd066f31232f400f2e38d06f29 | 7243f6f5181b989e95e67ff424403c705088ca63 | refs/heads/master | 2021-01-02T12:56:50.741129 | 2014-06-30T01:06:50 | 2014-06-30T01:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,859 | r | ui.R | library(shiny)
library(sqldf)
library(ggplot2)
require(gridExtra)
library(ggmap)
#require(rCharts)
#options(RCHART_LIB = 'sankey')
#library(googleVis)
shinyUI(navbarPage("York Tech",
tabPanel("The Student Body",
sidebarPanel(
h6("Gender"),
... |
efb977b550d4b4ce3f5c7bdc5725864daa3460bf | 268d63deccd2aa6e2c16ef181d0a1d22f71ed8ed | /workout03/binomial/man/bin_cumulative.Rd | d2468e18fdbc7791b0f8eff61ba580d0945373a6 | [] | no_license | yhed10123/stat133-spring-2019 | e22977a5fbbadd524d07e2422fe601048281c9e4 | c809002e0ac676baed065a1a95a638eac7f4f537 | refs/heads/master | 2020-04-28T20:19:17.368871 | 2019-05-04T04:59:07 | 2019-05-04T04:59:07 | 175,535,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 463 | rd | bin_cumulative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomial.R
\name{bin_cumulative}
\alias{bin_cumulative}
\title{Cumulated Distribution}
\usage{
bin_cumulative(trials, prob)
}
\arguments{
\item{trials}{number of trials}
\item{prob}{probability}
}
\value{
Data frame with the Probability Valu... |
ee119872ba3fffa6d13522c30dd450ac51a0887e | 4b2cd6e05b49cd6d99c5491779d947e6b95cfe78 | /Sipsa.R | e480fdb14bbc13e96f73101334902e440fcaba96 | [] | no_license | mariomicolta/sipsa | 2baa1bd164b245da004c9c2c2aae0d08db44d293 | d783a465282b6cb380c3ff81146e592edffc103a | refs/heads/main | 2023-03-01T01:26:15.843065 | 2021-02-05T17:43:49 | 2021-02-05T17:43:49 | 331,174,856 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 23,097 | r | Sipsa.R | # Date: 19 enero de 2021
# Authors: Jose Luis Gamarra Palacios - John Mario Micolta Garzon
# Attrs
# * artiId: Id del articulo
# * artiNombre: Nombre del articulo
# * fechaIni: Fecha de captura del dato
# * fuenId: Unknown
# * fuenNombre: Unknown
# * futiId: Unknown
# * maximoKg: Precio maximo por kg
# * minimoKg: Pre... |
7c62cf51bce56e963b9a7c20c9ea994a8c407723 | afe7ea7d235c1d6477c5612a8fc35dfcff6c5430 | /R/get.idx.R | 02d7ca3de57d7012c6fbfd980231a8608de29b3f | [
"MIT"
] | permissive | schyen/MetaboMate | 575a4626f880e6e9bdff7adab97a08f32fd0851a | 2acb812b20cd752ba33073b6800227b96200ff94 | refs/heads/master | 2022-03-15T22:40:57.737116 | 2019-12-09T00:11:22 | 2019-12-09T00:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 356 | r | get.idx.R | #' Find indices in ppm vector for respective chemical shift range
#' @param range Chemical shift range (in ppm)
#' @param ppm Ppm vector
#' @export
#' @aliases get.idx
#' @author Torben Kimhofer \email{tkimhofer@@gmail.com}
get.idx <- function(range = c(1, 5), ppm) {
range <- sort(range, decreasing = T)
which(p... |
de37adbcc1bc1b30b0318f655151097d77468794 | 6ef9da6cc040293b624e6680a8ff4e656be92cd6 | /man/rates.yppe.Rd | 4c3716c7fc6603dec1101c4af8f2ae7b3ba0fb7b | [
"MIT"
] | permissive | fndemarqui/YPPE | a7723566ed12225215200d5756b63fa67090bf09 | 18e95e11a8a6abd8265e8fbf5185c20d538a0522 | refs/heads/master | 2023-05-09T19:47:51.641149 | 2023-05-05T11:33:12 | 2023-05-05T11:33:12 | 209,976,128 | 2 | 1 | NOASSERTION | 2023-09-10T19:24:42 | 2019-09-21T11:48:24 | R | UTF-8 | R | false | true | 517 | rd | rates.yppe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{rates.yppe}
\alias{rates.yppe}
\title{Estimated failure rates for the PE distribution}
\usage{
\method{rates}{yppe}(object, ...)
}
\arguments{
\item{object}{a fitted model object.}
\item{...}{further arguments passed to or from... |
86a98d1a56f010ea09c4510f37c60ab2d22c7343 | af883594be37bf9b58d4d11c05ac685bb0919652 | /ML/ML_Project02_MLB & KBO.R | 3e13747b138c964d081f78f5d0b1ce8f899c78dd | [] | no_license | handaeho/lab_R | 7593574af1dc345c1f98f92c219c3af3d411d493 | c735aaf2cb004254bf57637ec059ee8344c3f4f9 | refs/heads/master | 2020-11-26T08:40:18.922074 | 2019-12-19T09:17:59 | 2019-12-19T09:17:59 | 229,017,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | ML_Project02_MLB & KBO.R | # 필요 패키지 리스트 구성
list_of_packages = c("Lahman", "ggplot2", "tidyverse", "ggthemes", "extrafont",
"tibble", "rvest", "stringr", "extrafont")
# 해당 라이브러리 및 종속 패키지 모두 설치
new_packages = list_of_packages[!(list_of_packages %in% installed.packages()[,"Package"])]
if(length(new_packages)) install.pack... |
c57f8f8cce56c277ff3352dddcc52134676d9d67 | 3b0df78cf861c93962a2c76dc023b37b5f2c4a83 | /2020/week4_spotify_songs/spotify_songs.R | 7f5688d52b7ab47b4738db078e0a4e8cbd90e276 | [] | no_license | AmitLevinson/TidyTuesday | e84b238c9e656340c95145ddeebaff4fd9c5f992 | 68fa50eb61ee1fca2254c27364314056b83cc986 | refs/heads/master | 2021-08-03T13:37:26.694477 | 2021-07-24T08:29:38 | 2021-07-24T08:29:38 | 209,969,163 | 25 | 8 | null | null | null | null | UTF-8 | R | false | false | 2,668 | r | spotify_songs.R | library(tidyverse)
library(stopwords)
library(tidytext)
library(textdata)
library(scales)
library(showtext)
#Read the data
spotify_songs <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-01-21/spotify_songs.csv')
#unnesting words
word_track <- spotify_songs %>%
... |
ba451929e98a72410d1b41c7f04f2356d48ae1e0 | 577fb24e1f77b1c9b923ee138f6ba8014e18910e | /markdowns/01datawrangling.R | cbfa59d958925cbd18c3624596167320cbf23889 | [] | no_license | hthomps/FinalProject | 76202099e2835ace84400a2aacf52eabf88dfb8b | 4c1bde5ff0b95177c0e84e7ecbbf09fd1e2bdc14 | refs/heads/master | 2021-02-16T09:59:39.915345 | 2020-04-17T15:45:29 | 2020-04-17T15:45:29 | 244,992,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,416 | r | 01datawrangling.R | # Data wrangling for Biol812 final project
# done by Regan Cross, Hayden Wainwright, Marco Lee, and Hana Thompson
# March 19, 2020
# load in transcriptome data
dat <- read.csv("data/MothData.csv", header=T)
# right now each column is a transcriptome and each row is a gene,
# with expression levels in the data cells... |
b0defca9a45667dfcaceacdbb02794e37206dae2 | 70afa58e6ad00a88d745e72512c39f6b57a6c5f4 | /Plot1.R | f73fd768627398fb7dd1704e07db0913c65b067a | [] | no_license | mattymoo/ExData_Plotting1 | 1193dbd18705c020e28c9bbb1e2fdd09cbadbdfc | b177539a2294f096d2390f76a97788b981569c5c | refs/heads/master | 2021-01-23T21:34:35.746923 | 2014-06-06T23:21:55 | 2014-06-06T23:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 682 | r | Plot1.R | powertest <-read.table("household_power_consumption.txt",header=TRUE,sep = ";", stringsAsFactors=FALSE, na.strings="?")
powertest$Date <-as.Date(powertest$Date, format="%d/%m/%Y")
powertest$Global_active_power <-as.numeric(powertest$Global_active_power)
powersub <- powertest[(powertest$Date >= "2007-02-01") & (powertes... |
fb0b1560860265314f3b6de7f9d4066f686d4f08 | d44475655dbe61df07aca3c6417d53b88f84ee52 | /basic/11~/r_study14_word_cloud.R | dbbd5b4035dcb6ac712cdba2c25c0c128568a127 | [] | no_license | bjh1646/R_data | ad564701e651e3e88a0bd91621dbb39ecc283efc | dd46c37cdd8070a4ddab1c7f376fde010b170d68 | refs/heads/master | 2023-08-21T16:05:22.773594 | 2021-08-29T13:08:46 | 2021-08-29T13:08:46 | 392,208,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,377 | r | r_study14_word_cloud.R | #워드클라우드 - 텍스트 마이닝
install.packages("rJava")
install.packages("remotes")
remotes::install_github('haven-jeon/KoNLP',upgrade = "never",
INSTALL_opts=c("--no-multiarch"))
library(KoNLP)
#extractNoun 테스트용
txt = "문장에 대한 이해가 필요하다"
extractNoun(txt)
# 1. 데이터 불러오기
txt = readLines("hiphop.txt")
he... |
1f939aed100cd46e195f812e6bad323d2ca6763b | a6d09284bf52147a3795196061442bafbe52e4ee | /man/mort2020.Rd | 59938414e4cceeae76b5aa3e073c0d4ba54109af | [] | no_license | Owain-S/COVIDYPLL | 2e904e0e767bb17ee4977b210425b1a116bee193 | 83e9fd98bfbc4942ca9ff118b58bca6f6b3ccb2a | refs/heads/master | 2023-08-11T05:07:28.146195 | 2021-09-19T04:43:29 | 2021-09-19T04:43:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 440 | rd | mort2020.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{mort2020}
\alias{mort2020}
\title{mort2020 (2020 national and state-level covid-19 and total deaths)}
\format{
An object of class \code{data.table} (inherits from \code{data.frame}) with 371 rows and 6 columns.
}
\... |
e21a79cc6f14de98374a2eaafbd28c427bb623fc | 7cda0c765cf3a7d3d7c7af07929195e3a9e48976 | /scicar/05run_bot.R | 61516f30ae3d70d424d71b49fe14d3f005953ce6 | [] | no_license | JonasRieger/corona100d | 0e597987445aa636c950c6a3b8f6f2814836b120 | 08dde14d72ea612cfde2d7535411edc42fd5af86 | refs/heads/main | 2023-07-13T17:45:40.007494 | 2021-08-18T05:32:53 | 2021-08-18T05:32:53 | 307,416,747 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,045 | r | 05run_bot.R | message("run_bot.R")
starttime = Sys.time()
library(data.table)
pro = TRUE
setwd("scraping_articles")
cand = readRDS("diffbot_candidates.rds")
to_diffbot = cand$to_scrape[cand$times_scraped < 4]
if("botdata.rds" %in% list.files()){
tmp = readRDS("botdata.rds")
tmp = tmp[!is.na(tmp$url_text),]
to_diffbot = se... |
af3cfd71f275aecba24943936874bf070e61d4ca | a0830531052bd2330932c3a2c9750326cf8304fc | /vmstools/R/maxRangeCI.r | 7e29653038e416bd4185350c63f0c7d84bbd6ec5 | [] | no_license | mcruf/vmstools | 17d9c8f0c875c2a107cfd21ada94977d532c882d | 093bf8666cdab26d74da229f1412e93716173970 | refs/heads/master | 2021-05-29T20:57:18.053843 | 2015-06-11T09:49:20 | 2015-06-11T09:49:20 | 139,850,057 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,750 | r | maxRangeCI.r |
maxRangeCI <- function(x,y,Time,speed){
#Pre-Calculation to speed up the code
pi180 <- pi/180
cosy1 <- cos(y[1]*pi180)
cosy2 <- cos(y[2]*pi180)
#Calculate maximum distance in km
dmax <- Time/60*sum(speed,na.rm=TRUE)/2*1.852
#Calculate d from Haversine function
d <- distance(x[1],... |
c49bfd7e37c0f13068c1231087bcc7283194d453 | a327678044c68a5ce637085c25136666b8d52969 | /JConst.R | dc67538a657f76395657bedac30a4b0445961574 | [] | no_license | BeiyuLin/caabChange | 02abed4e48e533105e5da3ea62573b6e15d95042 | 36099744348e1bb3449df85bb76522ec8323d69b | refs/heads/master | 2021-01-01T03:51:42.784582 | 2016-05-13T21:37:56 | 2016-05-13T21:37:56 | 58,773,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,526 | r | JConst.R |
# Define psychology and smart home sensor varaibles
#
# Author: pdawadi
###############################################################################
set.seed(100);
#---------------------------------------------------Significance level
SIG_LEVEL = as.numeric(0.05);
#----------------------------------------... |
304d1b02ac1a28091f48edce97db711825d419c3 | c36077f78bc38c9304898f5b5e0a7e3295b11588 | /offline_odin_mapping_INTERPOLATE.R | dd9d5fdef0a1e859b76dbb42e3328b1cbfe69388 | [
"MIT"
] | permissive | guolivar/motueka2019-odin-analysis | 569e763032c5855d71b94a9c60d3bb1b75764e1f | 2614269d71f3f25c63171e92e7dc09cfe4235115 | refs/heads/master | 2020-05-25T12:58:59.908766 | 2019-12-22T21:36:36 | 2019-12-22T21:36:36 | 187,810,894 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,109 | r | offline_odin_mapping_INTERPOLATE.R | ###################################################
# Spatial averages and plots for ODIN data from
# Motueka
# Author: Gustavo Olivares
###################################################
#' ---
#' title: "Mapping ODIN-SD data from Motueka 2019"
#' author: "Gustavo Olivares"
#' ---
# Libraries setup
library(readr)
li... |
772122fc69a8b0b546599eb391fc0324947d0df7 | aa061f979e2e17d16231ab7d9f49a64fc6dc2f5e | /man/assign_parameters.curves.Rd | 39e0089291f52a8b3731246f762d31687994336d | [] | no_license | SumathyS/swmmr | 6f48ea2529bc021c3c8dd9da78a2c57c7f14311b | 333f8f46451b7c5ac398b9cdbcd0ed9a08626f70 | refs/heads/master | 2020-05-29T09:36:39.343829 | 2019-03-26T11:08:41 | 2019-03-26T11:08:41 | 189,070,425 | 2 | 0 | null | 2019-05-28T17:07:14 | 2019-05-28T17:07:13 | null | UTF-8 | R | false | true | 421 | rd | assign_parameters.curves.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assign_parameters.R
\name{assign_parameters.curves}
\alias{assign_parameters.curves}
\title{conversion helper}
\usage{
\method{assign_parameters}{curves}(x, infiltration = NULL,
subcatchment = NULL, subcatchment_typologies = NULL,
conduit... |
1d9f4be4301cca8644f464f3c2499c22dd7c8f7f | 3fc3964396f8010aae9345d37f551c4431c52ff9 | /R/nu_correct.R | 1a6e1ff35215b5cb3c26fa77430229a9db714ae3 | [] | no_license | muschellij2/freesurfer | ff96f465ebbfbb0b7ce18644be5f4c5ea753fc45 | 7d70f616e760d8d3a453a652d98756e34877fed7 | refs/heads/master | 2021-06-24T00:57:12.644687 | 2020-12-08T18:41:34 | 2020-12-08T18:41:34 | 67,370,835 | 9 | 8 | null | 2020-11-15T23:42:38 | 2016-09-04T22:12:47 | R | UTF-8 | R | false | false | 2,046 | r | nu_correct.R | #' @title Use Freesurfers Non-Uniformity Correction
#' @description This function calls \code{nu_correct}
#' to correct for non-uniformity
#' @param file (character) input filename
#' @param mask (character or nifti) Mask to use for correction.
#' @param opts (character) additional options to \code{mri_segment}
#' @pa... |
19ba5ee0ffd907dfe944499861b0a92f3f309cd4 | ac087dd303df1cbf93b471f8256f17bd3bb32556 | /R/FactoGPA.R | 88c821524aa5668a527005fcb60b12bbb18528ac | [] | no_license | cran/RcmdrPlugin.FactoMineR | ca29bbce1af452bc4573c72c0a014f2b2a97ecd3 | 8f7b54c71d76c1e363f616832f1470b833c6061c | refs/heads/master | 2021-01-22T03:39:42.975682 | 2020-02-03T07:00:02 | 2020-02-03T07:00:02 | 17,718,054 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 38,954 | r | FactoGPA.R | FactoGPA <-
function()
{
# Fonction pour la gestion des noms ############################################
nom.correct<-function(text, liste=NULL)
{
text<-chartr("^\ ", "...", text)
if(!is.null(liste)) {
while(text %in% liste) {
text<-paste(text, ".bis", sep="")
}
}
... |
dfd29d831672d1a4e494c6609fa264eecbef5847 | e6cdcd551bc68c7b51ada507f7afb2d898f69a69 | /R/dc_cn.R | ae63ac38e6040971565483b0bea8803c423a775d | [
"MIT"
] | permissive | ropensci/rdatacite | aefaa9eeaab16b0379da0d7299b071805d266d87 | b86e18346d60ebaa279c047e6d27276051aed282 | refs/heads/master | 2023-05-22T13:37:21.493783 | 2023-01-02T23:01:57 | 2023-01-02T23:01:57 | 2,521,192 | 20 | 3 | NOASSERTION | 2020-01-02T19:57:41 | 2011-10-05T18:38:29 | R | UTF-8 | R | false | false | 2,158 | r | dc_cn.R | #' DataCite content negotation
#'
#' @export
#' @param dois (character) one or more DOIs
#' @param format Name of the format. One of "rdf-xml", "turtle",
#' "citeproc-json", "schemaorg", "codemeta", "text", "ris", "bibtex"
#' (default), "datacite-xml", "datacite-json", "bibentry", or
#' "jats".
#' @param style a CSL st... |
cd8c218198c208e2e5d6188f3ee182d9f30f6610 | a2737db3578b6574f7e0994ead5bdc5a3c7ff6aa | /whole_Trans/combine/Global/multi_RNA_exp_barplot.R | 3d8f3a94370a896829907b34a984d084522b5200 | [] | no_license | zm-git-dev/research_pipline | 4c7df0e0750d9e92bead8ce5dbc96a0c570f2059 | 543263053aa11dc538c5559509dc15c5ddab1163 | refs/heads/master | 2022-08-18T01:18:44.871373 | 2019-05-15T10:42:46 | 2019-05-15T10:42:46 | 192,702,478 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,566 | r | multi_RNA_exp_barplot.R | args<-commandArgs(TRUE)
if(length(args)!=2){
print("1. input file")
print("2. output prefix")
}
############## main codes ###############
data<-read.csv(args[1],sep="\t",header=T,row.names=1)
data<-as.matrix(data)
rnatype<-colnames(data)
chr<-rownames(data)
sum<-0
for(i in 1:length(chr)){sum=sum + nchar(chr[i])}
me... |
656f791974f4965ad7b3ecf9650c2ede8351171f | 1291f9c4909cb5236dca9b2f8f4f6560c1040b94 | /man/assertCharacteristics.Rd | c868d13eca75445ee62fea2bea63dec2f4e34a89 | [] | no_license | cran/IBMPopSim | 4718088f6da032fa83fe534cdc82eb49ddf22c55 | 40f6c5ae8b045d98340b9a7b168b9f4df8ff40c5 | refs/heads/master | 2023-01-07T17:18:30.302973 | 2023-01-07T11:50:02 | 2023-01-07T11:50:02 | 305,096,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 286 | rd | assertCharacteristics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{assertCharacteristics}
\alias{assertCharacteristics}
\title{Function for internal use}
\usage{
assertCharacteristics(characteristics)
}
\description{
Check characteristics.
}
\keyword{internal}
|
985e0c226af93c1c23e8e8b36dd728191845cca8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SCORPIUS/examples/infer_trajectory.Rd.R | fc10bc14fc49a9b1b13521d65113d1e0dc2ce38c | [] | 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 | 649 | r | infer_trajectory.Rd.R | library(SCORPIUS)
### Name: infer_trajectory
### Title: Infer linear trajectory through space
### Aliases: infer_trajectory
### ** Examples
## Generate an example dataset and visualise it
dataset <- generate_dataset(type = "poly", num_genes = 500, num_samples = 1000, num_groups = 4)
space <- reduce_dimensionality(d... |
12ab374189b7f938d6f247c22cfc72d6d16f3acc | 84e96d529ccdb74e16e9b516cd69cbb0759520ed | /R/wrangling-session.R | c7d023c974824476db7f20cd5f6d2a0df3f999d7 | [] | no_license | Katjaingstrup/learning-r | bb8cfc744c5ef6960345a4ba8ea1537992dc1f78 | 680057fcd31f349b41267ea8caac5b0233d6128d | refs/heads/master | 2020-04-27T00:14:00.190606 | 2019-03-05T10:30:30 | 2019-03-05T10:30:30 | 173,927,888 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,179 | r | wrangling-session.R | # run everytime you start a new sesion
source(here::here("R/package_loading.R"))
#dofile
usethis::use_r("exercises-wrangling")
glimpse(NHANES)
NHANES - NHANES
view(NHANES)
#Exercise 1
# Load the packages
library(tidyverse)
library(NHANES)
# Check column names
colnames(NHANES)
# Look at contents
#structure
str(N... |
0800953a07215a7c854c57006b2ba5d2e065ad92 | e8b9b4b3d81f83d09ac04528b2050908cf58be30 | /R/fn_convert_to_HS10.R | 51331495199438f42bf440e7e63f814875a42579 | [] | no_license | thefactmachine/high_medium_tech_exports | 9f158f58d1a172d0247f4c82413eb6426f146f0a | b3b91ef617d3c7a500058c331f9bf9af6eaf845e | refs/heads/master | 2021-01-09T20:08:43.062509 | 2016-06-07T03:06:08 | 2016-06-07T03:06:08 | 60,559,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | fn_convert_to_HS10.R | fn_convert_to_HS10 <- function(a_string) {
# this function takes a value such as: "0101.10.00.24"
# and removes the periods (i.e ".") and returns: "0101100024"
str1 <- substr(a_string, 1, 4)
str2 <- substr(a_string, 6, 7)
str3 <- substr(a_string, 9, 10)
str4 <- substr(a_string, 12, 13)
str_return <- paste0(str1, s... |
fed17f79fdae98d7259715874877f4cbe9a9b721 | 9625cc9d6566714328fa66f8e9f32976d0a3025f | /R/ols-data-hsb.R | 995a2e80b9b40ce4b313b7f5e2b089d6d5dd435a | [] | no_license | topepo/olsrr | 8007f3a60d5829dfb7faf6a2f8690f3473b7cd87 | db9b842f3eb13b8f4c8ea38d3d1afcd31442448d | refs/heads/master | 2020-04-06T12:40:57.904811 | 2018-11-14T01:50:26 | 2018-11-14T01:50:26 | 157,465,680 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 23 | r | ols-data-hsb.R | #' Test Data Set
"hsb"
|
c0d8111b4bda26716d3d5d95ce34669338497b3a | 6ba493ca9129518a3a9d52826beb6d3404b140da | /R/CAAElementsPlanetaryOrbit_VenusSemimajorAxis.R | 5f66a4ae3cf90e44b45c38357184ac38e5118fd4 | [] | no_license | helixcn/skycalc | a298e7e87a46a19ba2ef6826d611bd9db18e8ee2 | 2d338b461e44f872ceee13525ba19e17926b2a82 | refs/heads/master | 2021-06-16T08:54:46.457982 | 2021-03-25T02:15:38 | 2021-03-25T02:15:38 | 35,885,876 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 122 | r | CAAElementsPlanetaryOrbit_VenusSemimajorAxis.R | CAAElementsPlanetaryOrbit_VenusSemimajorAxis <-
function() {
.Call("CAAElementsPlanetaryOrbit_VenusSemimajorAxis" )
}
|
c76d423c7860242bf9a82733539d55c924605e16 | 8c7dc1facdc0672df7fed535258a1d446b419c9d | /03_covariate_selection/01_lasso_functions.R | aed7ff3c8668de3ac1663556269a67bdc68d6a47 | [
"MIT"
] | permissive | boyercb/mmc | 2b0dbebe5d6f0fcce60c9fedadd520a6ddc26e7c | 654fe8d8e59a503b0ac835433b270a21aaa7f47b | refs/heads/master | 2020-06-26T18:11:50.404833 | 2020-01-21T03:30:42 | 2020-01-21T03:30:42 | 199,709,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,372 | r | 01_lasso_functions.R | # Core functions for the lasso analysis -----------------------------------
# This function performs k-fold cross-validation, calculating the
# tuning parameter (lambda) with the lowest average (across folds)
# test error.
lasso_cv <- function(outcome_name, covariates, data, N_folds = 30, ...){
# glmnet only takes... |
54a4ada73624e1c646af63da3db2bbf9bee42ebf | c73d18ab97654306effe3696a5df5982ce56845d | /PipelineInitiator.R | 4ae436aef467aa043effd72392f56aba4a82a976 | [
"Apache-2.0"
] | permissive | SEED-research-lab/edX-clustering | 0234f99b8dc04c91d2cf8d56f87a379d4defedc3 | a7c9e90ff3d7d96fdfe5d0aff23daaa0877af7d5 | refs/heads/master | 2021-03-27T15:51:51.862784 | 2020-02-03T20:53:27 | 2020-02-03T20:53:27 | 89,016,040 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,999 | r | PipelineInitiator.R | ## ===================================================== ##
# Title: Pipeline Initiator ####
# Project: edX data pipeline for course user clustering analytics
# https://tzwilliams.github.io/edX-clustering/
#
# Copyright 2017 Krishna Madhavan
#
# Licensed under the Apache License, Version... |
2ab985ad7f7e9c5f412a21131963f1ee3b8a8755 | d8774b9b2c2e759f9b20aeef51b81c31e92d7103 | /urban_mobility_research/random_traffic_distribution/Changi_2.R | 7d65f0b42268f61e8209ab9c7b62bc4a52cedbea | [] | no_license | ziqiguo/Guo-Ziqi-Undergrad | 78e33beefabf5f4442a3fc90656e965fe34e05f5 | eaacd92e8046bf229ccd7376b86ef06f51575927 | refs/heads/master | 2021-06-23T15:41:11.435911 | 2017-07-28T04:25:16 | 2017-07-28T04:25:16 | 64,583,012 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,667 | r | Changi_2.R | # Preparation of framework
firm <- read.csv('firm_buffer.csv')
firm <- firm[c(1,2,3,4,5,6,8)]
points <- read.csv('nodes.csv')
points <- merge(points,firm,by.x='ID',by.y='id',all.x=TRUE)
points <- subset(points,MTZ_1169!=549060)
results <- points[,c(1,2,8)]
names(results) <- c('ID','Zone','Num')
results <- results[resul... |
2972c212728f506b7c1f59f675d120e7f49bf503 | b450a40cfc3a4aa9e913c1b656b3415d670388da | /_lousy_new_proj/bn/fatigue_net_assist.R | 18f047bce65ab49069e473a60f2fcfc126c3305f | [] | no_license | hurrialice/b_affy | a9058f56dc8342d54b358dba5ab8dbfc1fcb4dae | 8f4bbbc8e0489c36e93bb4d847bd80c3b3254397 | refs/heads/master | 2021-09-04T06:58:57.036127 | 2018-01-16T23:03:34 | 2018-01-16T23:03:34 | 105,929,300 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,147 | r | fatigue_net_assist.R | library(bnlearn)
library(readr)
library(dplyr)
library(caret)
library(limma)
library(ROCR)
library(future)
library(annotate)
library(hgu133plus2.db)
# get background genes
chip <- hgu133plus2.db
bg_genes <- read_rds("bg_genes.rds")
#bg_genes <- AnnotationDbi::select(x = chip, keys = rownames(data.matrix), keytype = 'P... |
ca529404d1d1b0deccdfe09f23aced982421494f | b84a28f8aa60de0a523c39578061e9026ab7ac42 | /R/average_dilutions.R | b51d6b832a16d8bf9fed67e0685090d2e4006260 | [
"MIT"
] | permissive | aef1004/bactcountr | 8fd09946157d3b080de7ea2c4a99a3b7b350e3a0 | 587090da71f2a802991cd8b06ce238a72ee3667f | refs/heads/master | 2023-08-22T16:16:21.587341 | 2021-10-20T17:39:14 | 2021-10-20T17:39:14 | 281,457,825 | 0 | 1 | NOASSERTION | 2020-09-18T20:37:36 | 2020-07-21T17:09:14 | R | UTF-8 | R | false | false | 738 | r | average_dilutions.R | #' Average CFUs for each sample
#'
#' This is the method used by Mercedes lab - they take all of the dilutions for which there are countable CFUs and find an average of the CFUs for each sample. This is an alternative to "pick_one_dilution."
#'
#' @param df dataframe that contains columns: dilution, CFU, and grouping v... |
e9155530881972ae74c901c3ba64ebe918ef2d92 | 3100f09de6e070c6e2c1b296400cd6844b14555d | /man/read.GENEPOP.Rd | 625a8a4b6c500d3d2868bbaba5a915c45aa17ed9 | [] | no_license | cran/FinePop2 | 84d6cd924063d7338b29d8ef438961a614eef3f4 | 6dc575b85a84dfb674a524ff6ee7c1fd4ff5ab2f | refs/heads/master | 2021-02-06T22:31:35.842384 | 2020-02-28T09:20:02 | 2020-02-28T09:20:02 | 243,953,376 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,870 | rd | read.GENEPOP.Rd | \name{read.GENEPOP}
\alias{read.GENEPOP}
\title{Create a genotype data object of populations from a GENEPOP format file.}
\description{
This function reads a GENEPOP format file (Rousset 2008) and parse it into an R data object. This data object provides a summary of genotype/haplotype of each sample, allele freq... |
81b08955569213ec6f5433391f8abcfe62953c28 | dd9b083775295063b049f0a8694e501dacbf0f6a | /canopy-height.r | 88e7b8e872cf6a73af992abc2d722e62ea188bfe | [] | no_license | megawac/geog471-scripts | 46be54146196cad393918aaea54811d28e600c78 | a524f62891611fe50fb61aab0c32e7b240228855 | refs/heads/master | 2023-06-07T04:49:40.480079 | 2016-03-21T12:40:37 | 2016-03-21T12:40:37 | 54,227,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,971 | r | canopy-height.r | # Adapted from http://quantitativeecology.org/using-rlidar-and-fusion-to-delineate-individual-trees-through-canopy-height-model-segmentation/
# expects that we're using our 471 structure and that the group folder is configured as
# the Z:/ drive on the local machine
# places all the canopy height models in the QUBS_LAS... |
d2499ddf864a49fce1473eae659d440b89a32975 | b67cbead02c2804cc672f425a3831db87839ac56 | /R/ODE.R | 06580dd55680494ecd2fb0882c470cb34a60ff10 | [] | no_license | stanleesocca/scientific-computing-r | b7babdb03d5ae0c938748d40fc63e36ef3dee9d5 | e45f8cc4372e73fe5e5ef799bab3f40763c6a3f4 | refs/heads/master | 2022-02-13T16:41:57.442722 | 2017-06-09T21:16:23 | 2017-06-09T21:16:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 369 | r | ODE.R | #########
# ODE.R
#
setClass("ODE", slots = c(
state = "numeric",
rate = "numeric"
))
setMethod("getState", "ODE", function(object, ...) {
# Gets the state variables.
return(object@state)
})
setMethod("getRate", "ODE", function(object, state, rate, ...) {
# Gets the rate of change using the arg... |
ac14cabc0b906e60dd7e43a3e8d8706692b0de27 | c48de5696547bfc707c883859929adadedfee808 | /Accidentalidad/app.R | 59cf23ef1e507bed7c14e32615039f6860bbaa10 | [] | no_license | deescobarc/trabajo_tae | 04d7c9b57ec139754caff952c9cc6a8c2b3e0071 | 20e9520bd090e792c7c8fe02cb3473cc481a6b1a | refs/heads/master | 2023-01-22T13:55:14.822097 | 2020-12-02T00:25:04 | 2020-12-02T00:25:04 | 317,703,862 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,762 | r | app.R | #Cargando librerias necesarias
library(shiny)
library(shinydashboardPlus)
library(shinydashboard)
library(DT)
library(leaflet)
library(tidyverse)
library(dplyr)
#Se cargan los datos
load('datos.RData')
load('prediccion_diaria.RData')
#Definiendo menu de inicio
ui <- dashboardPagePlus(skin="green",
... |
748c40cf4c002fcc7aabdb77a5b6a6a280087b4f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dbparser/examples/close_db.Rd.R | e79195fc56fcf1dbcaa92aefc6c3561d2d73407b | [] | 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 | 167 | r | close_db.Rd.R | library(dbparser)
### Name: close_db
### Title: Close open drug bank sql database
### Aliases: close_db
### ** Examples
## No test:
close_db()
## End(No test)
|
3b54f5f9dc2589d219bb071bc77887aef4232050 | 476171664236ce5a9173ec11dd06a66187d22ee0 | /tests/testthat/test_shorthand_gl.R | 35086090b82490321e332472b8a515a90342c646 | [] | no_license | michaelwitting/lipidomicsUtils | d03ad4a12f58b7a3728baa4d13e3a25422690dd8 | b818a01bc7ecfc9901cb8ebec381c3c3da444835 | refs/heads/master | 2021-06-13T06:17:53.352351 | 2019-11-06T15:26:43 | 2019-11-06T15:26:43 | 187,207,427 | 2 | 1 | null | 2019-11-06T15:26:44 | 2019-05-17T11:49:28 | R | UTF-8 | R | false | false | 1,514 | r | test_shorthand_gl.R | library(lipidomicsUtils)
context("Generation of Shorthand")
## test for correct shorthand notation of GL
test_that("correct shorthand notation for GLs", {
# glycerolipids (MGs)
expect_equal(get_gl_shorthand("MG(16:0(15Me)/0:0/0:0)", level = "structural"), "MG(17:0/0:0/0:0)")
expect_equal(get_gl_shorthand("MG(... |
66ec4add5a8d8ef36d6aa51f89baf4901713138b | e21115a92d1028520cf8171267d38045b41e9b0a | /funcs/meta_plots.R | 9f7bcff1660132c16ce73c4ad1b70e1bf7c979eb | [] | no_license | MRCIEU/opengwas-reports | fb1e437ac0bd63087aae6cafaf3117169e5ec29f | 74213fc57b76fa0a22f81100135ccf96c6b92ae9 | refs/heads/master | 2023-04-25T11:18:51.146300 | 2021-03-26T18:36:43 | 2021-03-26T18:36:43 | 159,704,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 849 | r | meta_plots.R | plot_scatter <- function(df, x, y, hide_x_ticks = TRUE) {
x <- enquo(x)
y <- enquo(y)
p <- df %>% {
ggplot(.) +
aes(x = !!x, y = !!y) +
geom_point(color = "#4f8bb7", alpha = 0.5) +
theme_classic()
}
if (hide_x_ticks) {
p <- p + theme(
axis.text.x = element_blank(),
axis.t... |
6fb41a458c33b8b246a03d29c811bdf98cba3975 | 6dd1977fbbebf0925b72bda6bb959b40caccce07 | /LoadFactors2.R | 37ee22a4e37f818b51af7735f5fa8e3df1ef1b45 | [] | no_license | NomoreNoless/Strategy-Comparison | 530620e61d65a9b0ccd777f990bad77d17f27fb7 | e1ba7aa5518d77fc286dd029097c3443d27c4338 | refs/heads/master | 2021-09-04T11:08:52.841765 | 2018-01-18T04:56:59 | 2018-01-18T04:56:59 | 117,786,233 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,075 | r | LoadFactors2.R | LoadFactors2 <- function(Factors=c(),PerformanceMetric="",matrix,benchmark=Inf){
if(benchmark<Inf){
select_col <- c(Factors,PerformanceMetric)
}
else{
select_col <- c(Factors,PerformanceMetric,"id")
}
if("PILOT_SECURITY" %in% Factors){
select_col <- c(select_col,c("G","C","None"))
... |
203d1e7e8d7aca7843b416f8aca30c1b0df29d33 | 297d27ef4583958cdce9ad5ae9567f6bd638e781 | /07_using color_for_multiple_lines.R | 15e03c58800dba8cf44aae13b6f872f805e0aa6b | [] | no_license | axc836/data_visualisation | 321887a4f8539c004ca7e4886784c4742c4305df | a505019b39fcdd9e895e0e4597a9284ca6461551 | refs/heads/main | 2023-07-31T10:20:00.129721 | 2021-10-05T09:49:59 | 2021-10-05T09:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,579 | r | 07_using color_for_multiple_lines.R | # Multiple line plots with many colors
ggplot(data_multiple_time_series, aes(x = year, y = value)) +
geom_line(aes(color = label)) +
scale_x_continuous(breaks = c(2010, 2012, 2014, 2016, 2018, 2020)) +
labs(title = "Our brand vs competitors",
subtitle = "'000 USD net sales") +
theme(
plot.title = ele... |
eb3585871f1ed74eb3c207685fe252cf66037c29 | 0de6ee2d9d04dbe86ac4ab184e3c3b74924ae3f4 | /oblique.R | 4a3e982d9513d0f4a2fea0a48162915fb544f49a | [] | no_license | Kunahn/Master-Thesis | ae15ca7ac9d058884b736f0398dce9ee571e137c | 7a2be53bc6fb90bde4dfe609173abfe902fec7d5 | refs/heads/main | 2023-07-03T07:33:35.924618 | 2021-08-08T10:16:55 | 2021-08-08T10:16:55 | 393,918,788 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 775 | r | oblique.R | require(obliqueRF)
data(iris)
## data
# extract feature matrix
x<-as.matrix(iris[,1:4])
# convert to 0/1 class labels
y<-as.numeric(iris[,5]=="setosa")
## train
smp<-sample(1:nrow(iris), nrow(iris)/5)
obj <- obliqueRF(x[-smp,], y[-smp])
## test
pred <- predict(obj, x[smp,], type="prob")
plot(pred[,2],col=y[smp]+1,yl... |
7842169e7a6fd0dedb0ff532bb59ee0073996e8a | 5d50ae77c3ba893223804e034ecccb40cc91b698 | /tests/testthat/test-20-dict.R | 696efc2ecb6588249ab7cd37c0516b4b294fd2d6 | [] | no_license | freyreeste/ore | 95bdfbcf98826b9ac74e759c0c771054b656d851 | 94f551fd6a52a14314f62d37be0658d8100c7656 | refs/heads/master | 2022-03-12T22:49:37.261330 | 2019-11-01T09:29:28 | 2019-11-01T09:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 402 | r | test-20-dict.R | context("Pattern dictionary functionality")
test_that("the pattern dictionary can be used", {
ore.dict(protocol="\\w+://")
expect_equal(ore.dict("protocol"), "protocol")
expect_equal(ore.dict(paste0("proto","col")), "protocol")
expect_equal(ore.dict(protocol), structure("\\w+://",names="protocol")... |
a8e3637fb79dbfefdb9550fc99d8a120b112a7b3 | 0f64ac5e3d3cf43124dcb4917a4154829e7bb535 | /cal/se2.calAddVolume.R | dcf5717c203841b8e269fae8d9340e9c63b135e4 | [] | no_license | wactbprot/r4vl | 8e1d6b920dfd91d22a01c8e270d8810f02cea27c | a34b1fa9951926796186189202750c71e7883f8d | refs/heads/master | 2016-09-11T02:22:39.828280 | 2014-10-07T14:37:55 | 2014-10-07T14:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 863 | r | se2.calAddVolume.R | se2.calAddVolume <- function(ccc){
msg <- "calculated by se2.calAddVolume()"
volUnit <- "cm^3"
Vz <- 0
a <- abbrevList(ccc)
## -------------------- Zusatzvolumen aufaddieren v
for(i in 1:length(a$cma$Volume)){
fromUnit <- a$cma$Volume[[i]]$Unit
c... |
8f51b9e4c5acbaa404f0e5e60bb2fe864feb6ded | e744f5702149b551e802a2e7719794c35155998f | /R/RcppExports.R | d719466a889f2f0a8da9922f33c6518eabb7fe90 | [] | no_license | vh-d/SFAsim | 76289d8b3ba059e583b415c88327e496d5f75ba5 | 7d99677837e5241a08f9e73bdb0b5cb8930291a8 | refs/heads/master | 2021-09-26T22:22:15.626239 | 2018-11-03T15:31:07 | 2018-11-03T15:31:07 | 110,331,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 261 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
rtnorm_cpp <- function(n, mean, sd, lower, upper) {
.Call('_SFAsim_rtnorm_cpp', PACKAGE = 'SFAsim', n, mean, sd, lower, upper)
}
|
f92a186552ce93b3e9ce78b37e24f22fa784129e | e4be7f8bf65953c73b3b699a81a7d8db749e3e60 | /inst/extdata/R/test_met_prep.R | 82bdb297be17c73f84ce5a91600a5e54894d0b2e | [
"MIT"
] | permissive | FLARE-forecast/FLAREr | 0833470f9b8e744b4a0782c1a1b50a6a403534d1 | 0c1215688ea80eb7886f3ffe2d847b766b3fb6d0 | refs/heads/master | 2023-08-04T23:43:47.057220 | 2023-08-04T13:34:43 | 2023-08-04T13:34:43 | 292,376,842 | 4 | 8 | MIT | 2023-04-25T13:32:56 | 2020-09-02T19:32:21 | R | UTF-8 | R | false | false | 2,407 | r | test_met_prep.R |
template_folder <- system.file("example", package= "FLAREr")
temp_dir <- tempdir()
# dir.create("example")
file.copy(from = template_folder, to = temp_dir, recursive = TRUE)
test_directory <- file.path(temp_dir, "example")
# print(list.files(test_directory))
# print(readLines(file.path(test_directory, "test_met_prep.... |
ceb3ca8cce14b4a0f70c0216e3582f4e361d2efd | 04c2def2074e54eae4c260eaa526d969e92c9344 | /Guillaume/Intro II/Exercice info chap 3.R | a204b85f22a9b3481614a2035c0c12acef491d84 | [] | no_license | OlivierTurcotte/r-projects | 0f18347d3b265f5709e152ecfccc2e7eae4bf12f | 87edef011aec31702f2519dd6f5e924295163c79 | refs/heads/master | 2021-05-04T00:37:07.810455 | 2018-10-25T20:53:33 | 2018-10-25T20:53:33 | 120,346,969 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,143 | r | Exercice info chap 3.R | #######EXERCICE INFO CHAPITRE 3 #####
###--------------------------Numero 1------
rm(list=ls())
#a sur papier
#b sur papier
#c)
r <- 5
q <- 1/5
M <- function(x)
{
dnbinom(x,r,q)
}
sum(M(0:10000))
distribution <- function(x,n=100000)
{
z <- numeric(n)
for(i in 1:n)
{
z[i] <- pgamma(x,2*i,1/5000)*M(i)
}
(... |
b2795301fe37d9cab523ce8403036183db136412 | d107c6ae4eeba32be15b2ce34c88661ec1b78b6d | /imageRestorationSPEEDY.R | e1d6857bfbd6455b4da8fc8dda38e5b67fba0776 | [] | no_license | bunnella/image-restoration | bd8d658dea8727e052933892c7b2901a10bca294 | 9af0b923f716d6596b2bf6936499b3a42d8275bb | refs/heads/master | 2021-01-10T12:56:59.039030 | 2016-02-24T02:32:46 | 2016-02-24T02:32:46 | 45,868,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,432 | r | imageRestorationSPEEDY.R | # image
# Gibbs Sample/ Simulated Annealing
# RAP
# Output
library(bmp)
library(compiler)
enableJIT(3)
# SET YOUR WORKING DIRECTORY TO THE REPO!!!
Rprof.out <- "Rprof.out" # change to NULL to turn off profiling
display <- function(img, caption = "") {
image(img/2+.5, col=gray(V/2+.5), zlim=0:1, frame=F, asp=C/R, ... |
f7734060d206b8e7b7ef53cce9fbaab4825855d6 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/13688_0/rinput.R | dbdb052fec3dc9d5b276ab1c047a04928e946f39 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("13688_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="13688_0_unrooted.txt") |
375b6a29c40739bc872a33ab61e9faa33126b67d | e27cd958cee85bbe670882d00d0a5f6d338c6344 | /Caret.R | 8e94c608e87d01ac37e79c324db9295ba9d45e24 | [] | no_license | MiG-Kharkov/Try-packages | f5384f456e7defde43688111c26f5894e51f81b2 | 745c5fbb4fa603a51cd8b2c8846ea8dc55cdcd15 | refs/heads/master | 2021-01-22T05:42:25.316381 | 2017-06-01T03:46:33 | 2017-06-01T03:46:33 | 92,486,725 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 623 | r | Caret.R | library(caret)
# Библиотека ниже делает разные метки и полупрозрачные
library(AppliedPredictiveModeling)
transparentTheme(trans = .4)
featurePlot(x = iris[, 1:4],
y = iris$Species,
plot = "pairs",
auto.key = list(columns = 3))
featurePlot(x = iris[, 1:4],
y = iris$S... |
3f422dcd6e1bc524fa7620b368790bab20a86913 | d06b678bb34ec639db2bb70552db8590571a827a | /R/two_part_compare.R | 6d0a78ea8c3ad6d06ecce3f412a72ae9d0283fd2 | [
"MIT"
] | permissive | haleyJ2021/microbiotaPair | 5e9689a690aaa36dda1f4f11f1436964132d15ab | 21c93e7b0e7b6faca6c49b495b62eda8d39cd1d7 | refs/heads/master | 2023-03-19T06:12:15.538871 | 2021-03-15T02:48:51 | 2021-03-15T02:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,859 | r | two_part_compare.R | #' two part compare
#' two part (paired test & McNemar’s Chi-Square Test) to maximum the data infomation
#' @param microbiota a data.frame, microbiome data row is sample id, col is variable
#' @param metadata a data.frame, metadata row is sample id ,col is variable
#' @param percent numberic, 0-1, the cutoff of spec... |
bce1d2038c700e5127cbcfd04a73efdecc322789 | df7b3a1eb6f65ac3e576f8b49ad385cb0303f2b0 | /R/eln4rmd.R | a7cc28bd38f34edb29905e8bec7413aa37f129e4 | [
"MIT"
] | permissive | ykunisato/senshuRmd | 0f974443ae343fc8f963e718f1d3b1102dbd3ae5 | 2f60fda7269985917f7d3e0dacb47a8666eb4590 | refs/heads/master | 2022-04-01T17:43:42.117858 | 2022-03-15T03:54:14 | 2022-03-15T03:54:14 | 217,082,796 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,034 | r | eln4rmd.R | #' @title make new Japanese e-labnotebook in Markdown
#' @importFrom utils file.edit
#' @param add_name If you want to add the name after the date as the file name,
#' add this argument.
#' @param replace_date If you want to use the specified date as the file name
#' instead of today's date, add this argument.
#' @para... |
eaba4b5dd2dc505d508c53a1a7ba56a0757e4b77 | 97a38f09dce88a8460737ab6cf4e2b2335624125 | /man/coupled2_CASPF.Rd | 94587dc49b4a9b1c8ea55b86d33d55505f08c20b | [] | no_license | jeremyhengjm/UnbiasedScore | a7959eb3ddb892a522b413a3eae47d4573309bd3 | b036ac899721ea240a2a0a67440947d1c0698ac9 | refs/heads/master | 2023-04-20T09:54:44.835291 | 2021-05-10T13:34:29 | 2021-05-10T13:34:29 | 257,778,224 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,584 | rd | coupled2_CASPF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coupled2_CASPF.R
\name{coupled2_CASPF}
\alias{coupled2_CASPF}
\title{2-way Coupled Conditional Ancestor Sampling Particle Filter}
\usage{
coupled2_CASPF(
model,
theta,
discretization,
observations,
nparticles,
resampling_threshold... |
618ebc0a09fb29eea6ec6f4a44fe4516ba94efe6 | 0d3573551bfdd83d3e7e7570e18ab3669ef5e968 | /R/helper_functions.R | d41be90ee183e76f844eb0e0bb8a060745f8da08 | [] | no_license | amulmgr/TreeTools | ce313d3082c62e904e18d9a97664ae940b932d89 | 69bc4f0aa6d1d813023fb757e87b937a66d0051b | refs/heads/master | 2023-07-30T09:25:41.595757 | 2021-09-17T07:11:58 | 2021-09-17T07:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,288 | r | helper_functions.R | #' Quickly sample
#'
#' `SampleOne()` is a fast alternative to [`sample()`] that avoids some checks.
#'
#' @param x A vector to sample.
#' @param len (Optional) Integer specifying length of `x`.
#'
#' @return `SampleOne()` returns a length one vector, randomly sampled from `x`.
#'
#' @examples
#' SampleOne(9:10)
#' Sa... |
e1b36fb96be743e371ba0108875e395ed9bd7db7 | 34da6a49cf008e4fdef793a4e35bdd79f99b86b8 | /R/get.movie.info.R | d1def8401f465483e38bbdc1b1cba6d10a57dacd | [] | no_license | ljtyduyu/Rdouban | 76ed05b6cf89018378d8f72d0f790db4d1c3ed79 | 60bc136447ab4b8466172ca61d26ed85909f28fc | refs/heads/master | 2020-03-20T21:17:51.039274 | 2015-01-06T15:47:24 | 2015-01-06T15:47:24 | 137,733,735 | 0 | 2 | null | 2018-06-18T09:35:31 | 2018-06-18T09:35:31 | null | UTF-8 | R | false | false | 996 | r | get.movie.info.R | get.movie.info<-function(movieid){
u=paste0("https://api.douban.com/v2/movie/",movieid)
#p=getURL(u,ssl.verifypeer = FALSE)
p<-.refreshURL(u,ssl.verifypeer = FALSE)
reslist <- fromJSON(p)
title<-reslist[["title"]]
author<-unlist(reslist[["author"]]);names(author)<-NULL
rating<-unlist(reslist[["rati... |
87e08857ef52cd289f493dae3de54bc3c04051ed | eb673959eac2da642a758d0e49ba9a28a0568e2f | /0611_files.R | ffc9f51076dd95680837ad16a086ba5b11a7819a | [] | no_license | ryu-jihye/Digital-ConvergenceProgram2 | e021ee4938e79c4b75b7480ac8cf5ccd1c506633 | a4aa8ac597f7210a2cc9b507e9f9ed281be93dbf | refs/heads/main | 2023-06-18T19:06:17.045811 | 2021-07-15T14:52:24 | 2021-07-15T14:52:24 | 364,277,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,495 | r | 0611_files.R | cafe <- list(espresso = c(4, 5, 3, 6, 5, 4, 7),
americano = c(63, 68, 64, 68, 72, 89, 94),
latte = c(61, 70, 59, 71, 71, 92, 88),
price = c(2.0, 2.5, 3.0),
menu = c('espresso', 'americano', 'latte'))
cafe$menu <- factor(cafe$menu)
names(cafe$price) <- cafe$m... |
1342a300cd24ad6c4d0834f8d3105a25bd61efda | 86cc7cca25ad3cec2b355a7f29dcdbb12e288f0a | /tests/testthat.R | df6d1d780d563a90cc556791853ef7d2193bd384 | [] | no_license | t-carroll/schex | 64ddb9f6f471536e821edcb734b51ee7176cf42c | 12b078cb85295671e068f119b648ba9bd94f4fb5 | refs/heads/master | 2022-11-05T06:33:40.353876 | 2020-06-15T19:39:09 | 2020-06-15T19:39:09 | 272,527,867 | 0 | 0 | null | 2020-06-15T19:37:34 | 2020-06-15T19:37:33 | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(schex)
test_check("schex")
|
4ade3ed2b08529bdd8e2557e618a6fbc4cb1190e | dbdca1892808ac0284875f692297d5cb8d1abd10 | /buyside/main.R | 16f9279b28f1b6b27ad0c2ed50f00ae2db5186bf | [] | no_license | mfzhang/lehedge | 0cec9a68fbf35fef23f40e099576761f0a52f7d0 | 7c4cc6c8a8fbaeb03cc607f09f121e6285d0fe2a | refs/heads/master | 2016-09-09T13:18:01.540110 | 2014-10-13T23:06:10 | 2014-10-13T23:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 133 | r | main.R | source('buyside/best_windows.R')
source('buyside/build_fat_training.R')
#source('buyside/write_images.R')
source('buyside/labels.R')
|
1dd95064df5adaa96cb29366a166159591439bdc | b351240b69be9faf918e17814580a47eb7e8475d | /workout03/binomial/man/bin_variable.Rd | 44ef136d6b54a0dd00d827856996cd5fb52d811a | [] | no_license | stat133-sp19/hw-stat133-bveeramani | 49b1a7c685ba9e8b35899442d41d7becdcd5da67 | 681ac3dbc6551521553fba33993f9380454fa3ca | refs/heads/master | 2020-04-28T14:06:44.632989 | 2019-04-30T06:08:50 | 2019-04-30T06:08:50 | 175,327,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 599 | 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{Binomial random variable constructor}
\usage{
bin_variable(trials, prob)
}
\arguments{
\item{trials}{number of I.I.D. Bernoulli trials}
\item{prob}{the shape parameter of each I.I.D.... |
ba7e214921ada727b0244c67f342aeaf5f02bb26 | dbb290d87a730cd5b9154025f71ba65ef149bd6c | /R/FW1_GAMLSS.R | 04020919a8c605ad572a8b88adc1f350df11fce7 | [] | no_license | fabiopviera/Flexible-Weibull | 377188fd34f5d950c8b4ee13d124330ae57db480 | 1a69766d5d0c50bc6f0e098e09a5c8a6a24dbbc9 | refs/heads/main | 2023-07-03T03:57:53.350366 | 2021-08-05T01:39:20 | 2021-08-05T01:39:20 | 378,260,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,802 | r | FW1_GAMLSS.R | library(gamlss)
library(gamlss.dist)
FW1 <- function (mu.link="log", sigma.link="log")
{
mstats <- checklink("mu.link", "flexible Weibull 1", substitute(mu.link),c("1/mu^2", "log ", "identity"))
dstats <- checklink("sigma.link", "flexible Weibull 1", substitute(sigma.link),c("inverse", "log", "identity"))
struct... |
36827432e39726f9edad8d9fbc3fe0613565fd0e | dbfe5ce272e204a8e1663ced35c9d48ef4870496 | /man/pd.var.Rd | a6dff3b043df1d8cf5e3a29f562656ec5afce0aa | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmito/hmRLib | fac91a4e2ddfcd899283ec0b63c87c31965fb17f | f2cfd54ea491ee79d64f7dd976a94086092b8ef5 | refs/heads/master | 2023-08-31T07:21:31.825394 | 2023-08-28T10:02:07 | 2023-08-28T10:02:07 | 41,907,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 412 | rd | pd.var.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/statistic.R
\name{pd.var}
\alias{pd.var}
\title{Return variance of the probability distribution}
\usage{
pd.var(x, pd)
}
\arguments{
\item{x}{axis value}
\item{pd}{probability distribution or histgram data}
}
\value{
variance of the given pd... |
b2d7018dac4aa89ea3944529904bb7e4d78d09ca | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610036522-test.R | 1d8af5b5519c9ce3a5892e627d7318306b4e3ac3 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 544 | r | 1610036522-test.R | testlist <- list(data = structure(c(2.05226840064922e-289, 1.03766507280536e-311, 3.25515595954408e-260, 1.82935631644629e-260, 1.42602581597035e-105, 1.42602581596996e-105, 1.42602581598051e-105), .Dim = c(7L, 1L )), x = structure(c(NaN, 2.11755751135623e+214, 2.29691280661499e+161, NA, 9.86217156996503e+248, 3.792... |
96641eac76a6910e3f2a8557234d15db11005401 | 1a63c15398a830a9447d86828e76cc2790e6af1e | /R/tag.R | c7747aef34e22aa927aa2db78c23281d609216bf | [
"MIT"
] | permissive | sckott/discgolf | 327fff393389b1f955f85ce50b88265263a49c95 | 7fd0de8878ddc2a014b358def8ba1580165be5e6 | refs/heads/master | 2021-07-12T09:01:07.138933 | 2021-02-26T21:02:48 | 2021-03-01T16:35:14 | 28,190,714 | 7 | 3 | NOASSERTION | 2021-03-01T16:35:14 | 2014-12-18T16:11:01 | R | UTF-8 | R | false | false | 195 | r | tag.R | #' Tag data
#'
#' @param tag A tag name
#' @template args
#' @examples \dontrun{
#' tag('r')
#' tag('geospatial')
#' }
tag <- function(tag, ...) {
disc_GET(sprintf("tags/%s.json", tag), ...)
}
|
4da957295e81ef6e955414a4a52bfa030ba7797e | 8c81fde8ed23fa9e88e8a5caf34f4d12c17a42d4 | /R/arthrisis_school.R | faaeb78b786b67100a2d726e27f9924640c32b53 | [] | no_license | swehip/shprsumfun | 614a7ced82640c0005bc04a35b22bb75a3450cbb | e5b2df4caaea49fcba528a22857b00ca67f17465 | refs/heads/master | 2022-11-09T05:44:31.455275 | 2022-10-19T13:29:48 | 2022-10-19T13:29:48 | 146,577,073 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,263 | r | arthrisis_school.R | #' Arthrisis School attendance
#'
#' Number of arthrisis patients that attended arthrisis school.
#' @param period Year/years of primary operation.
#' @return Data frame with units, period, number of THR (only arthrisis diagnosis, M16.0-M16.9),
#' number of arthrisis question answered and number of participants.
#' @ex... |
6039365b4704a246393b5915fee0bec4dce5e9ce | 2b5c9578a769743cd993e449e19039486c3416b7 | /final/03-appendix.R | c232903bdc9adb67bb61076b41c3d21205dbf2b3 | [] | no_license | pwkraft/knowledge | 3eebd4d8205058c7b9aed92405f0ee6caeb4d7cc | 71d6dd6f82c017d32aca93dd2bd2106cbf46ee64 | refs/heads/master | 2023-07-07T10:30:41.230585 | 2023-07-04T08:18:39 | 2023-07-04T08:18:39 | 55,650,963 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 30,411 | r | 03-appendix.R | # ========================================================================= #
# Project: Women Also Know Stuff (APSR)
# - Script: Additional robustness checks reported in the Appendix
# - Author: Patrick Kraft (patrickwilli.kraft@uc3m.es)
# ========================================================================= #
#... |
fd5a253d55935709f74cf42a2222b00e368f6532 | 975ecf7fb915e2fa05f7ba1157f2e977f1b83576 | /datasets/classification/Audiology/Audiology.r | 0ecec7fd598716961a42d411af7b696cf911a95f | [] | no_license | marticardoso/Learning-with-a-neural-network-based-on-similarity-measures | 24b470172d62e90e2d543670b7ed4c546a3bbbda | a4aae9934c0a02bc2da4a9f9e2769fb2b4a1b36e | refs/heads/master | 2022-09-08T14:41:28.962026 | 2020-05-25T09:44:56 | 2020-05-25T09:44:56 | 186,421,829 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,333 | r | Audiology.r | ###########################################################
# AUDIOLOGY DATA READING AND PREPARATION
###########################################################
audiology.tr <- read.table ("audiology.standardized.data", sep=",", na.strings = "?")
audiology.te <- read.table ("audiology.standardized.test", sep=",", na.s... |
9a374c5e96113bdb16971293431932f065faaa6b | c194c5236006a758b29bd4d530ad563dc9ecab7e | /inst/apps/distribution_gamma_functions/server.R | 7068db46f82609acaa90ec486232f1dcc6979e80 | [] | no_license | Auburngrads/teachingApps | 1087c20a21992433a2f8451db7b1eaa7d1d2cb89 | b79c192e5f74c5e8376674d4fb9e0b95a426fe03 | refs/heads/master | 2021-03-16T07:49:56.579527 | 2020-06-14T12:10:12 | 2020-06-14T12:10:12 | 51,677,745 | 15 | 7 | null | 2018-03-01T03:44:58 | 2016-02-14T03:22:47 | R | UTF-8 | R | false | false | 2,487 | r | server.R | server = function(input, output, session) {
gam.t = reactive({ signif(seq(min(input$range.gamma), max(input$range.gamma), length = 500), digits = 4)})
gam.p <- signif(seq(0, 1, length = 500), digits = 4)
gam.C <- reactive({ pgamma(gam.t(), input$kappa, input$theta)})
gam.P <- reactive({ dgamma(gam.t(), input$kappa, in... |
9c24bf170b5a398c42420f2fb2fc36cbc741a409 | 26151b679705ae098e79fab6c98ca68c093a4f09 | /Classification_Techniques/ADiscriminante_Practica_1.R | 82cad23a5dd0e0a2347e448518e58628f5fe08d8 | [] | no_license | octadelsueldo/Master_DS_CUNEF | 2808e5f5fbf564c7c3fdf209d699056ecd75a8af | 354f9d4e43cbcf9d47edd85cfcb5010b417a8b3a | refs/heads/main | 2023-08-21T22:54:16.712139 | 2021-10-06T22:33:32 | 2021-10-06T22:33:32 | 414,352,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | ADiscriminante_Practica_1.R | #----------------------------------------------------------------------
# MDS - Tecnicas de Clasificacion
# Analisis Discriminante
# Practica 1
#----------------------------------------------------------------------
#aqui la distribucion de los riesgos por empresa podemos verlas como multinomiales donde las proporcion... |
7d7aa01ab99b72804211be49020c9633d16a8b05 | 4622517f2786656d17dac3e745a4a73ea5fc70fe | /Environment.R | 341e11eb654032a842913853e7741c21e2d9bcf3 | [] | no_license | ynren1020/AdvancedR | a20565c685692e2df71cba2dcf9b3d94f2a26a1b | 07b4976703d59bde5a871acffa865e65c8421679 | refs/heads/main | 2022-12-30T09:20:30.722610 | 2020-10-18T03:33:31 | 2020-10-18T03:33:31 | 305,013,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,172 | r | Environment.R | #Environments are data structures in R that have special properties with regard to their role
#in how R code is executed and how memory in R is organized.
my_new_env <- new.env()
my_new_env$x <- 4
my_new_env$x
#[1] 4
assign("y", 9, envir = my_new_env)
get("y", envir = my_new_env)
#[1] 9
my_new_env$y
#[1] 9
ls(my_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.