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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bdb99142b9e92eb28602ecad1300dd5a028353fd | 53a7f0c821ca1735957c0367cbbfbc3621e496ea | /corr.R | 8702d0c6ab1f1d84d2926a9fa8555c3843bdbf6f | [] | no_license | basmaNasser/Programming-Assignment-1-Air-Pollution | 370eb51b7a40d6ffaa21022c4501ce567dd64111 | 3e9911f3f9e1dcafa7c231ae70dd4c9640b56f95 | refs/heads/master | 2016-09-06T06:16:26.987974 | 2015-08-22T06:33:37 | 2015-08-22T06:33:37 | 41,194,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,636 | r | corr.R | corr <- function(directory, threshold = 0) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'threshold' is a numeric vector of length 1 indicating the
## number corr <- function(directory, threshold = 0) {
## 'directory' i... |
c9566c0bf62e23d53d8c9b2117a553fec767778f | ab7049740645bf0a4dadcdae993151506a49dc69 | /compare estim with true.R | ea8e85e898c156e2d28a68c0d1a27cdef2023577 | [] | no_license | drvalle1/cluster_tsegments_loc | 52f9f5dc7651430435d4fe8014eb887e4f6476cd | 3f2d66436b86d70766c755104d14da9c05364b4b | refs/heads/master | 2020-07-29T11:19:46.329862 | 2019-11-19T16:25:16 | 2019-11-19T16:25:16 | 209,779,237 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 444 | r | compare estim with true.R | plot(res$phi[ngibbs,],type='h')
fim=data.frame(zestim=res$z[ngibbs,],ztrue=z.true)
fim1=table(fim); fim1
ordem=numeric()
for (i in 1:ncol(fim1)){
ind=which(fim1[,i]==max(fim1[,i]))
ordem=c(ordem,ind)
}
fim1[ordem,]
compare=function(true1,estim1){
rango=range(c(true1,estim1))
plot(true1,estim1,ylim=rango,xlim=... |
692932b2705dcd6f22146f314855a0bbbfcb0b08 | 40ffcc2188952550ea8db4b0fc940abd9e01e5d4 | /R/07_AUC_Ranks.R | 77f124924cfbd9bf65b64cc7e2a38ffe23cc991b | [] | no_license | chantalhari/BioScen1.5_SDM | 7d2d5f7b998dafa0779daeabec6c8a697b9e0981 | 7aa9ed086a0a3e6c03216dfc6aa05e7b0550ddc1 | refs/heads/master | 2023-03-16T00:45:45.769026 | 2020-07-29T09:48:22 | 2020-07-29T09:48:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,528 | r | 07_AUC_Ranks.R | #-#-# Stacked barchart 400 species data #-#-#
rm(list=ls())
library(data.table)
library(plyr)
library(ggplot2)
library(lattice)
library(fields)
library(maptools)
library(colorRamps)
library(RColorBrewer)
library(grid)
library(gridExtra)
library(reshape2)
# Specify file dir
filedir <- "C:/ProcessedData" # Desktop
# S... |
a14c2b1d392371f0d7b8f63a3e3f0417f8af7ab8 | 63d97198709f3368d1c6d36739442efa699fe61d | /advanced algorithm/round3/k-server-analysis-master/data/tests/case039.rd | 4c3205db4975e25996f5ffa93843bb96ee4b56c5 | [] | no_license | tawlas/master_2_school_projects | f6138d5ade91e924454b93dd8f4902ca5db6fd3c | 03ce4847155432053d7883f3b5c2debe9fbe1f5f | refs/heads/master | 2023-04-16T15:25:09.640859 | 2021-04-21T03:11:04 | 2021-04-21T03:11:04 | 360,009,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,139 | rd | case039.rd | 20
1 [18, 12, 8] 3 3 3 10 10
2 [18, 12, 9] 1 2 5 2 12
3 [18, 12, 8] 1 2 7 2 14
4 [18, 9, 8] 3 1 8 2 16
5 [3, 9, 8] 5 5 13 10 26
6 [4, 9, 8] 1 2 15 2 28
7 [3, 9, 8] 1 2 17 2 30
8 [4, 9, 8] 1 2 19 2 32
9 [3, 9, 8] 1 2 21 2 34
10 [4, 9, 8] 1 2 23 2 36
11 [3, 9, 8] 1 2 25 2 38
12 [3, 9, 4] 4 1 26 2 40
13 [3, 16, 4] 7 12 38... |
e6622bbfc931e434827afaece7913094cb9eaa36 | dcd3f8ee8db533ef7cee8fd92ace5072a7c62aca | /lib/helper_func.R | cd8638beaaec7eb60d152cfa85a3b077be200f74 | [] | no_license | TZstatsADS/Spr2017-proj5-grp3 | 3ad32c056c3732b75298c0f96d51927ede356ba8 | 1360caf6f9b1e9832950f83ba62f9e3215bb548a | refs/heads/master | 2021-01-19T06:27:45.974270 | 2017-04-28T20:06:56 | 2017-04-28T20:06:56 | 87,463,288 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,233 | r | helper_func.R |
get.error<-function(f){
f="gpa"
source("../lib/modelFunc.R")
data.filtered <- read.csv('../data/NAreplaced.csv') #4242 1388
select <- read.csv(paste0('../data/Updated_Features/',f,'_features.csv'),stringsAsFactors = FALSE)
data.filtered <- subset(data.filtered,select=c("challengeID",select$Codes)) # 4242*... |
4d150b6d869624c7c7b1da790a8d199848afa505 | e4258fda44b6eeab74cad978d42a17b4cfb4b6d8 | /plot4.R | a81168ea578eae70d522cbdb644e7763d1b37a3f | [] | no_license | Anshupriya2694/ExData_Plotting1 | 781f6b3422662aa48f7c5046f4ab2824fc13ccc7 | a26b503dbff1f62ffc7a642169eecb694771dcb4 | refs/heads/master | 2020-05-26T21:51:32.022248 | 2019-05-24T10:29:29 | 2019-05-24T10:29:29 | 188,387,383 | 0 | 0 | null | 2019-05-24T08:50:47 | 2019-05-24T08:50:47 | null | UTF-8 | R | false | false | 1,546 | r | plot4.R | library(lubridate)
library(dplyr)
#Reading Dataset
household_power_consumption = read.delim("household_power_consumption.txt", header = T,
sep = ";", na.strings = "?")
#Converting "Date" column using lubridate
household_power_consumption$Date = dmy(household_power_consumption... |
7c7eff407c5d0a913b990a8421b38be493ffd062 | 6006a87e51de807cae9fe5c6dd054b1c26a035fd | /20165164_지현한_실습#13.R | 7f09b45f79be1f523f1ee1ae22a43f3e031b14f9 | [] | no_license | HyunHan-Ji/2-1_Data_Science_Bagic | af35289af66a31944816db0480ebf2d43fdc85c9 | 0f4ff399eff9158905520d38a23b80f66bd853b2 | refs/heads/main | 2023-06-14T14:59:25.611330 | 2021-07-08T12:49:17 | 2021-07-08T12:49:17 | 384,121,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,600 | r | 20165164_지현한_실습#13.R | #iris 데이터를 이용하여 기술 통계값을 확인
data(iris)
#(1)iris의 종별 최소값, 최대값, 평균, 중간값, 표준편차, 최빈값
aggregate(iris[c(1:4)],list(Species=iris$Species),min)
aggregate(iris[c(1:4)],list(Species=iris$Species),max)
aggregate(iris[c(1:4)],list(Species=iris$Species),mean)
aggregate(iris[c(1:4)],list(Species=iris$Species),median)
aggrega... |
5e6ddaab70ea183ecb506b53b33fbce13ddce428 | a51f14302c8e4a2a0a48dc636d035c4e6669f686 | /man/showNA.Rd | 1b6dfe3168a948e2dbaf98b942518f042f59f9e2 | [] | no_license | holgerman/toolboxH | b135c6033c015ac0c4906392f613945f1d2763ad | fb8a98ee4629dc5fef14b88f2272d559d5d40f30 | refs/heads/master | 2022-07-07T22:26:39.857012 | 2022-06-23T14:56:23 | 2022-06-23T14:56:23 | 100,366,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 506 | rd | showNA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/showNA.R
\name{showNA}
\alias{showNA}
\title{FUNCTION_TITLE}
\usage{
showNA(x, showAllNoNA = T, returnAsDataTable = F)
}
\arguments{
\item{x}{PARAM_DESCRIPTION}
\item{showAllNoNA}{PARAM_DESCRIPTION, Default: T}
\item{returnAsDataTable}{PARA... |
f31f5fdee211239b363fb5c5e24e71c18361ad31 | ab6da726f9c00cef3fc0fa05a62bab780e5a773a | /man/grief_mods.Rd | f9e0b8985d5b189206a8ce1ca50541d5312df8a6 | [] | no_license | cran/RcmdrPlugin.MA | ad670acc924cc9677d742844e9cf1c63ebbfa0a4 | 139dd4967917038b6323700a8278f31a1d739491 | refs/heads/master | 2021-01-17T17:07:20.976556 | 2014-09-21T00:00:00 | 2014-09-21T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 204 | rd | grief_mods.Rd | \name{grief_mods}
\alias{grief_mods}
\title{grief intervention data for meta-analysis (moderator data)}
\description{This file should be merged with the 'grief' dataset by 'id' column.}
\keyword{data} |
46b98bdea6515ca61d3e0a39dbcf06c99fa122c3 | 25a70bb0cd477731470ecfbbcd306316d05871a1 | /DEDA_Class_2018WS_Quantlet_Scraper/code_output/SFEvar_pot_backtesting.R | 75526a6cf157dfb0562a847b957fd1401d153773 | [] | no_license | QuantLet/DEDA_Class_2018WS | 1b1f7d1a699f88af8da5727c5a3bc1935e4eda5b | 8d9831201c9cdc72ab9f456ed56dae81ebcab07c | refs/heads/master | 2020-04-20T20:10:50.696342 | 2019-03-02T15:25:58 | 2019-03-02T15:25:58 | 169,069,574 | 0 | 5 | null | 2019-03-14T15:14:02 | 2019-02-04T11:38:21 | HTML | UTF-8 | R | false | false | 1,442 | r | SFEvar_pot_backtesting.R | # clear variables and close windows
rm(list = ls(all = TRUE))
graphics.off()
# load data
v = t(read.table("VaR0012_pot_Portf.dat"))
x1 = read.table("BAYER_close_0012.dat")
x2 = read.table("BMW_close_0012.dat")
x3 = read.table("SIEMENS_close_0012.dat")
x4 = read.table("VW_close_0012.dat")
# Size of window
h = 250
v = ... |
7e6414fe623cd1b5e5365aa3ed3717b80119ce89 | 89aac7aaa9d1a8bd95c5ca63cc03147fb545cb24 | /run_analysis.R | 6248acf88d2094ded329cda1af72823831792d4b | [] | no_license | SheanD/TidyData | da0a87f3c6fc764a60a586fe0a79ed7245173cc8 | 35e658d3492f20cd212ddcf5f9ac4b585073ed03 | refs/heads/master | 2021-01-20T10:46:06.657769 | 2015-01-26T00:28:44 | 2015-01-26T00:28:44 | 29,837,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,245 | r | run_analysis.R |
## run_analysis.R :
## 1. Merges the training and the test sets to create one data set.
## 2. Extracts only the measurements on the mean and standard deviation for each measurement.
## 3. Uses descriptive activity names to name the activities in the data set
## 4. Appropriately labels the data set with descript... |
d633ed4954cbb5c8575be27aabd51146ac612a38 | 5a049e922aaa0abe891c657db31d48b7fa699457 | /R/eapr_export.R | c826e8057b46987d03b94604bbe54ef9c48e5d4d | [] | no_license | GregoryBrownson/EAPR | be24cb725a6d11501c4cfab909cb08875ac66a99 | b6cd2f20451c396e9734821fac0af92064e3d99a | refs/heads/master | 2020-04-28T13:36:28.559368 | 2019-10-28T12:19:33 | 2019-10-28T12:19:33 | 175,310,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 163 | r | eapr_export.R | #' Write operations for eapr
#'
#' This function exports an eapr object to a file
#'
#' @param x An eapr object.
#'
#' @export
write.eapr <- function(x) {
}
|
41bede536b4922b597fb6ac85735f6f45a4e3fc1 | d59430497b1fab82c62f09e7fc01c49cec73644b | /R/listQTL.r | c468f1f4b321a5c865c31698a6024947a78463ae | [] | no_license | liuyufong/AnimalGene2QTL | 5b4734e177cab8fcd1a1351b5d575dba0af6df0a | cfaf0205e21ec4ab3aa27e94aabda485f433e7a1 | refs/heads/master | 2021-01-01T10:41:03.593993 | 2017-08-17T13:43:28 | 2017-08-17T13:43:28 | 97,571,834 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 553 | r | listQTL.r | #' list of QTL database
#'
#' @return result
#' @export
#' @importFrom RSQLite dbConnect
#' @importFrom RSQLite dbDisconnect
#' @importFrom RSQLite dbGetQuery
#' @importFrom RSQLite SQLite
#' @import knitr
#' @examples
#' listQTL()
listQTL <- function() {
con <- dbConnect(SQLite(), system.file("extdat... |
6b1d43a853969ba4d4f5e7395f1e503dc101783f | 0b80621e1bbe82153c38fb7446c5fcd5ea65f35b | /R/table_annotated_features.R | 0e1b8b8728dfd3e93d29ffc26ddffbe6abd6a770 | [
"CC-BY-4.0"
] | permissive | brgordon17/fvfm-prediction | ec56920efee4b6b0256103ca12c6012720894585 | e140b9a5c65c26bc1676b0afa0c00184d0d503fb | refs/heads/master | 2020-06-22T23:20:08.825421 | 2020-06-17T11:01:28 | 2020-06-17T11:01:28 | 198,428,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,924 | r | table_annotated_features.R | # Code to construct a table of annotated features matching literature (coralmz)
# Author: Benjamin R. Gordon
# Date: 2019-03-17
library(tidyverse)
library(caret)
# Load and prep data -----------------------------------------------------------
mzrf_fvfm <- readRDS("./dev/mzrf_model_fvfm.rds")
coralmz <- coralmz::coral... |
9472c2f4fcce70f066533513b87cf49ab2db004f | 710289d08c4809f3e17d35788c6de449a6cc211a | /man/mc_pr_plot.Rd | e704df457097cd885acaee1528055e59748b8366 | [] | no_license | gweissman/gmish | 2e2c4b3f35aaca1b05c03ef208cb082b20b66f4c | c0dbd66de0039712cd1a2241e75477f70405f8b0 | refs/heads/master | 2023-07-31T22:00:11.274740 | 2023-07-11T16:54:12 | 2023-07-11T16:54:12 | 177,597,987 | 5 | 1 | null | 2022-11-10T03:40:46 | 2019-03-25T14:02:48 | R | UTF-8 | R | false | true | 1,438 | rd | mc_pr_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mc_pr_plot.R
\name{mc_pr_plot}
\alias{mc_pr_plot}
\title{Produce a precision-recall plot for a set of predicted probabilities for a single model across multiple classes.}
\usage{
mc_pr_plot(form, data, max_intervals = 1000)
}
\arguments{
\ite... |
527aa866a39ee4e1491ca05529f54a1ef377e1ba | 7b9eea03ffcca6c104e23f56f839281c1286b16b | /flixbus_crawler.R | 10ed7ed6da9cb2a2901c7f2694997840466020bb | [] | no_license | Compscjournalism/midnight_bus_train_comparison | 98a5c096ad97ba5cc26e2d2fc36f9844a703497c | c89d421d693b36920be6f92c97e93a1ee0ed2841 | refs/heads/master | 2022-11-03T02:14:39.190415 | 2020-06-19T07:33:49 | 2020-06-19T07:33:49 | 273,432,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,489 | r | flixbus_crawler.R | library(RCurl)
library(XML)
library(stringr)
#################################################################################################
#<- This script contains the methods used to scrape the Flixbus.de website for both the list of
#<- cities and popular connections as well as the actually scheduled connection... |
500a8526ce0e35fa96c6eafd298af7c2ad8e3572 | ccec896e6871a4cb25131df6a8375d5a00bf1aee | /inst/examples/01_presentation/app.R | 922be22341538039deec4928c94b5596923248c1 | [] | no_license | juba/shinyglide | de536410706b7b3644858888992d5c9fd8185220 | a88e054c8b3de2f6d8a651129f470b286271827f | refs/heads/master | 2023-04-07T19:49:55.204992 | 2023-03-15T09:03:33 | 2023-03-15T09:03:33 | 187,533,479 | 93 | 8 | null | 2022-07-20T09:07:11 | 2019-05-19T22:14:20 | R | UTF-8 | R | false | false | 6,313 | r | app.R | ## shinyglide presentation app
## Live version at : https://data.nozav.org/app/shinyglide/01_presentation/
library(shiny)
library(shinyglide)
controls <- glideControls(
prevButton(),
list(
nextButton(),
lastButton(
class="btn btn-success",
href="https://juba.github.io/shinyglide",
"Go to... |
51be30907c8e7d482a292d2b042e49d00489f821 | 05ba1ac8a4ad8695d7d9cf72cbf1e068ae46dd7a | /scripts/R/plotLoess.R | 0f1a0a5ea2b025e0e1beae944d94aa47a1735f4d | [
"Apache-2.0",
"Artistic-2.0"
] | permissive | sergpolly/cworld-dekker | 2985788a5e14df9d8be26e2b58ecf4944cd77a95 | 7557bbe873e623e9059482722922faca4e784ad0 | refs/heads/master | 2020-04-21T13:39:34.622698 | 2019-06-07T16:37:37 | 2019-06-07T16:37:37 | 169,606,468 | 0 | 0 | Apache-2.0 | 2019-02-07T16:50:59 | 2019-02-07T16:50:58 | null | UTF-8 | R | false | false | 3,070 | r | plotLoess.R | options(bitmapType='cairo')
args <- commandArgs(TRUE)
dir<-args[1]
inputFile<-args[2]
inputFileArray<-unlist(strsplit(inputFile, "\\/"))
inputFileName<-inputFileArray[length(inputFileArray)]
wd<-paste(dir,sep='')
setwd(wd)
data<-read.table(inputFile,header=T,sep="\t")
data<-subset(data,data$loessExpect... |
3ae508608396392c0474962234fc5a33f515ffe4 | e76df58842a0adc91594d4e5983b47eace894da5 | /ui.R | 2a05766da9d2608088437f2ef47f21761f8b7018 | [] | no_license | violet468118034/LA-311-call-track | 81cfc65d2ecfe6f22df8d526740757c745f84f94 | 8deaff10708c6936b453853b6f0fd52bcb290e3f | refs/heads/master | 2021-01-23T03:48:13.750702 | 2017-03-25T05:26:02 | 2017-03-25T05:26:02 | 86,125,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | r | ui.R |
library(shiny)
library(plotly)
library(ggplot2)
library(dplyr)
library(lubridate)
library(ggmap)
library(viridis)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Visualiztion of 311 Call Analysis"),
# Tabset
tabsetPanel(
tabPanel(tit... |
89e2abf5ff33266761cbd339eb706908699e7386 | a22849c0548d88c3435025a5d3e34fb53195ed12 | /covidProject/coronaModel/man/gibbs_SIR.Rd | bc848c0b928ae5f22cccf8c5adaf180bed56355f | [] | no_license | YvetteLi/COVID19-Progression-Prediction | 6237f7b853dabb45a286d169153b6a0eb622be2f | 657579bff48c30c7d13c75584e73638f3f813acd | refs/heads/main | 2023-07-04T22:46:25.027360 | 2021-08-19T00:34:10 | 2021-08-19T00:34:10 | 397,768,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 595 | rd | gibbs_SIR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SIR_utils.R
\name{gibbs_SIR}
\alias{gibbs_SIR}
\title{Using Gibbs sampler to update parameters from the full conditional distibutions for SIR model}
\usage{
gibbs_SIR(epimodel)
}
\arguments{
\item{epimodel}{the class of epidemic mpdel}
}
\val... |
c99333ae94ac721ad56b172dbcafa08711a2bc50 | 734405d4e0d6f941c50e5b4862943ffc1cab0aa6 | /script/0701plot기본.R | 603e8a682ee511778000adcc0f4e8d1c3cee13a6 | [] | no_license | valborgs/RStudy | e98a079a5d0ea7a48f6bf19555630d117df44983 | ac1808fcc1c3362876e8f2d8823d304496f29231 | refs/heads/master | 2020-07-04T14:15:30.309572 | 2019-08-14T08:32:00 | 2019-08-14T08:32:00 | 202,308,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,704 | r | 0701plot기본.R | # plot() 함수
# 기본적인 그래프 함수
# plot(y축 데이터, 옵션)
# plot(x축 데이터, y축 데이터, 옵션)
#
# par()함수
# 그래프를 그릴 화면에 대한 환경설정
# par(옵션)
# plot창: r스튜디오 내부 창, 장치 단독 창
plot.new() # 스튜디오 plot 창 생성
dev.new() # 장치 단독 창 생성
# 장치 단독창이 실행중일때는 우선권을 가짐
# 옵션없이 x,y축만 있는 기본 그래프
# plot() : 산점도 그래프
plot(c(1:15))
plot(1:5,c(5,3,2,6,10))
plot(1:5,c(5,3... |
3f44643b1bb5e8e64d56193a9ac1b69daf16331b | a31a46ad3878865aefb3bf9b1b4e7b4368a59634 | /AM+/Plots_for_Paper/threshold_plots.R | f9a858646df3430784fcb6652a683ff32fdffad5 | [] | no_license | geo047/AM-Paper | 8f2558a2d629e087270ed8fc7f1697d9d53c88f4 | 57309a8542e7aea281098f8ae7207553906d4642 | refs/heads/master | 2021-08-08T10:29:20.698858 | 2021-01-22T05:22:04 | 2021-01-22T05:22:04 | 50,554,488 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,505 | r | threshold_plots.R | ## plotting threshold and FDR for multi-locus mehtods and single-locus methods (fast, fastALL, gemma)
## Last revised: 21/12/2016
##
## input data resx_y.RData ftp'ed from home directory on bragg in
## /home/geo047/MWAM/SimStudy/Timing/Results/res$FAM_$indx.RData
## where $FAM is W S L A HS HL and $indx is the index 1,... |
25fb975b157465a622ca50947f11d8c637fec45f | ca90669ad709f52b46580b121bf85923638b7c3c | /man/MODISSummaries.Rd | 513092bd2c62d5ddb4d5b3ee19391669a480bfa9 | [] | no_license | huananbei/MODISTools | 8797f4e102c063726cc54b2946a507935ea33fb7 | 2113d8076272f76157cc96efe7715f53c9bf14ef | refs/heads/master | 2021-10-20T21:05:34.266614 | 2019-03-01T21:53:09 | 2019-03-01T21:53:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,363 | rd | MODISSummaries.Rd | \name{MODISSummaries}
\alias{MODISSummaries}
\title{MODIS subset processing & organisation tool
}
\description{A function to run time-series analysis and compute summary statistics for a downloaded MODIS subset, writing a summary file and another file with processed MODIS data tagged onto the original file inputted to ... |
7200bbc51adb0f1e01266ae95dba2de4cdf25eab | 0a960783f9c27ba59c1603e97bfb74c20664a9a8 | /ModelFitting/Bayesian/rstant_testBEST.R | 10afeef6099e10dd6ad996635e7aada39c49bbc9 | [] | no_license | Pakillo/Miscellaneous-R-Code | f22e1e1ebdbb450c514eaf9246fa4159d7e62fa6 | 11bb22363ad9c57f6c63943597a1cb04fd09d48d | refs/heads/master | 2020-04-01T16:53:22.763412 | 2018-06-07T18:52:44 | 2018-06-07T18:52:44 | 35,029,073 | 2 | 0 | null | 2018-06-07T18:52:45 | 2015-05-04T10:39:56 | R | UTF-8 | R | false | false | 6,052 | r | rstant_testBEST.R | #-------------------------------------------------------------------------------#
# The following is based on Kruschke's 2012 JEP article 'Bayesian estimation #
# supercedes the t-test (BEST)' with only minor changes to stan model. It uses #
# the JAGS/BUGS code in the paper's Appendix B as the reference. ... |
ab34b7d2ff581bcc0c80d51113808f816c6d8df6 | ba5d5554bf6630bae7c648032d11c2f6532787a3 | /R/svymnlogit.R | eefb97166c9c8418bf1a004c806434ee8b55e105 | [] | no_license | deepfriar/gilez | 0194d631d4670a04fa054b2c800ca7f028e549d2 | a2b58d85765a1b06ce4ec8e9cae3a3225fce931a | refs/heads/master | 2023-04-04T09:24:32.545309 | 2021-04-09T15:22:28 | 2021-04-09T16:11:53 | 356,327,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,614 | r | svymnlogit.R | #' @describeIn draw svymnlogit
#' @export
draw.svymnlogit <- function(m, x=stats::model.frame(m), B, ...) {
if(!requireNamespace("svymnlogit")) {stop("You must install the svymnlogit package.")}
f <- stats::formula(m)
X <- stats::model.matrix(f, x)
y <- all.vars(stats::formula(m))[1]
Y <- ifelse(is.factor(x... |
cbe16e36d95fb31e3fd3549b86ece851c2971938 | 2de5faf818c17fc625f0091f73604e25451b0f75 | /R_functions/3_order_data.R | 0a375ae3bdf2b9470fba3f468f582e90bb172e23 | [] | no_license | mcmventura/Tool_QC_StationsLocation | 5595c6e59fc7a3037dcfd39dfc0075affa5b550b | 279cf1f1a9f4d576d0daed02a622ba7e7c6b1cc0 | refs/heads/master | 2021-08-31T13:34:54.396211 | 2017-12-21T13:58:28 | 2017-12-21T13:58:28 | 114,001,466 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,629 | r | 3_order_data.R | #'
#' Reorder the data by the coordinate pairs inicial order
#'
#' Concatenate all the files with country names and/or marine region names, i.
#' e, the output of \code{\link{get_country}}, \code{\link{get_marine}} and
#' \code{\link{get_country_sea}} and reorder the data by the coordinate pairs
#' inicial order.... |
8ae864f80dcbf2862b848693d64ce03a049131af | e4e07501cd6da34beb76abc3e82b5784db1fe011 | /man/plot.JZSMed.Rd | 88bb781ded6ecde4ffea3861f430b94de959772e | [] | no_license | MicheleNuijten/BayesMed | ff239c8b598e95546fd5bed5d79963c8489192e1 | 2a156ed80e81bb0065b6cee017d86e15d87ff9d1 | refs/heads/master | 2021-06-02T20:09:07.919564 | 2020-01-29T13:13:28 | 2020-01-29T13:13:28 | 7,775,559 | 10 | 4 | null | null | null | null | UTF-8 | R | false | false | 969 | rd | plot.JZSMed.Rd | \name{plot.JZSMed}
\alias{plot.JZSMed}
\title{
Display the results of \code{\link{jzs_med}} in a figure.
}
\description{
This function displays the estimates and posterior probabilities of path alpha, beta, and tau' in a mediation schema and thus renders a clear view of the structure in the data.
}
\usage{
\method{plo... |
7ff7b07a852755c0a7e3f0262483be1d7a986fa0 | 76261a184e7aef8de40a3aa41a469148fe6d02f6 | /R-demos/old notes/单因素方差分析.R | 006c14bd10872ae3ec8e495492caa9a041efa385 | [] | no_license | AngelinaBao/Rnotes | e3b7dbd80df24fd7f0a3c2f10588f07f37e22659 | cb9864738d776a19c3cf4d95d37cefcac46374c6 | refs/heads/master | 2020-03-24T21:16:08.090091 | 2019-02-09T01:41:17 | 2019-02-09T01:41:17 | 143,022,423 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,509 | r | 单因素方差分析.R | -rm(list = ls())
gc()
#?????????????????????
library(multcomp)
data(cholesterol, package = "multcomp")
attach(cholesterol)
head(cholesterol)
table(cholesterol)
class(cholesterol)
table(trt)
aggregate(response, by = list(trt), FUN = mean)
aggregate(response, by = list(trt), FUN = sd)
fit <- aov(response ~ trt)
summary(f... |
09c566329ddf3b469ce293bbf531088427fabde5 | 15e79da5728a9d3aea403753a19487e5fc05ca67 | /others/Dice/RSS/r/analysis.R | b14628d6319ebde938575e0ba6b130236ce9efc2 | [] | no_license | jose-dev/coursera | d690289e77c00d218461af64626cf047f5038c6e | a644badb9a56b4293affad936fcb906c64de31fe | refs/heads/master | 2021-01-17T15:02:33.592741 | 2017-03-28T16:46:55 | 2017-03-28T16:46:55 | 23,797,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,147 | r | analysis.R |
#################################################################
#################################################################
#################################################################
##
## load files
##
mydata <- read.csv("rss_data_r.csv")
mydata_avg <- read.csv("rss_data_r_avrg.csv")
##
## create ... |
3293ee65d5d4cd0796359d09bd9f286fa98cfb5b | 24605325877de4199fd101b9eb2c7fc090b5cd52 | /R/pathrow_num.R | 8a10ac279c738c6e6763489c5d04a1311f4a2272 | [] | no_license | azvoleff/wrspathrow | aa9d7419c3e50889cab304557395e28386ba091b | 8acade80b96f0dbedb9a7308e17dfba1d74b677b | refs/heads/master | 2020-08-27T03:23:47.506823 | 2015-12-04T13:20:21 | 2015-12-04T13:20:21 | 15,712,548 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,761 | r | pathrow_num.R | load_wrs_data <- function(wrs_type, wrs_mode) {
if (wrs_type == 2) {
wrs_polys <- wrs2_asc_desc
} else if (wrs_type == 1) {
wrs_polys <- wrs1_asc_desc
} else {
stop('wrs_type must be 1 or 2')
}
if (!(wrs_mode %in% c('D', 'A'))) {
stop('wrs_mode must be "D", "A" or c("... |
6269db3d2f7072393f55cc59efb349d43537ead6 | a7f65d74dfba2a8482c24d3b0dc370030e555cc9 | /funcirr.R | 433b23703bbc4a0fd4cddf44093b2bea95513133 | [] | no_license | meenasirisha145/meenar | ca0e51ba6c21be1cd572b1ce680f4d7b697985d6 | d5ab04c1893f7a2a0570536a22981723491baee5 | refs/heads/master | 2021-01-19T06:04:18.663790 | 2018-05-08T14:22:04 | 2018-05-08T14:22:04 | 100,589,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 271 | r | funcirr.R | IRR=function(Duration,inst_lft,inst_nonlft,lft_time)
{
yield=Duration*inst_lft+(lft_time-1)*1000
totalamt=(lft_time-1)*inst_lft+(Duration-lft_time+1)*inst_nonlft
irr=(-yield+totalamt)/totalamt
return(irr)
}
ii=IRR(40,5000,7000,4)
ii
ii2=IRR(40,5000,7000,39)
ii2
|
6637770f9033cab5210f9682db845d6a940dddb2 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /intcensROC/inst/doc/intcensROC.R | 3007415c908d50c4e312958c1e1da27f562c60a1 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,705 | r | intcensROC.R | ## ----setup1, include=FALSE, echo=FALSE----------------------------------------
require(knitr)
## ----setup2, include=FALSE,echo=FALSE-----------------------------------------
old_ops <- options(width=80) # make the printing fit on the page
set.seed(1121) # make the results repeatable
stdt<-date()
## ----beta, ... |
256361732182c8d779a17b9d40bfae75f799dd5f | 5a05dd4f8fbc318b05595a003ecd13cd0c917fb4 | /plot4.R | 502e9596b0a4bc31db9eaad19b6060c4bd3817e6 | [] | no_license | RitCh123/ExploratoryDataAnalysis1 | a78a48a9ab37ea592a590dc57a8e6ad5eb13020a | 0632e14538e2e7c907dca218c876acdb445da21d | refs/heads/main | 2023-06-07T15:18:36.894922 | 2021-06-23T08:02:43 | 2021-06-23T08:02:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | plot4.R | unzip("C:/Users/antop/Documents/R/ExploratoryDataAnalysis1/exdata_data_household_power_consumption.zip")
dt <- read.table("C:/Users/antop/Documents/R/ExploratoryDataAnalysis1/household_power_consumption.txt", header =TRUE, sep=";", na.strings="?")
data <- subset(dt, dt$Date %in% c("1/2/2007", "2/2/2007"))
data$Date <- ... |
894813b18ab34c11df87560daeb14087258c531d | 9f755220afb902a6179b1723a9716b74887a62ef | /R/get_sigmabeta_from_h.R | 403b015f584eeadb1eecda2dc7af39655dcacfa2 | [] | no_license | CreRecombinase/MCMCArmadillo | 36c5e452b194c23bf025cae02826c14ee7be41d5 | e961cf8c57ccab0a3928b3c0538df15dbb08a85f | refs/heads/master | 2021-08-31T15:48:32.630163 | 2017-12-21T23:24:22 | 2017-12-21T23:24:22 | 115,055,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 180 | r | get_sigmabeta_from_h.R | get_sigmabeta_from_h = function(h, gamma, Sigma, X, T){
n = length(X)
ds = diag(Sigma)
num = h * sum(ds)
denom = (1-h)*sum(ds[gamma==1]) * sum(X^2)/n
return(num/denom)
}
|
2430bf4e2f783da22047b2caf432fac816e574bb | db4ca3e4072b39f69d84cd28e8e6b0370e62e1b0 | /R Nuts and Bolts/RNutsandBolts.R | 327f52405e635c8757e48fbca622cb3ba9ee493c | [] | no_license | hannahnavarro9827/Prelim_Repo | 59bf9b4c8297cfd5ae2cd95db2b30577505fa94d | 4ad18666cf7ca8c20f387e240d3dae7efff1f713 | refs/heads/master | 2020-03-22T05:08:26.991237 | 2018-07-24T07:56:59 | 2018-07-24T07:56:59 | 139,544,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,205 | r | RNutsandBolts.R | ##Entering Input
x<- 1
print(x)
x
msg <- "hello"
##Printing
x<- 1:20
x
##Creating Vectors
x<- c(0.5, 0.6)
x<- c(TRUE, FALSE)
x<- c(T, F)
x<- 9:29
x<- c(1+0i, 2+4i)
x<-
##Missing Values
x <- c(1, 2, NA, 10, 3)
is.na(x)
is.nan(x)
x <- c(1, 2, NaN, NA, 4)
is.na(x)
is.nan(x)
##Data Frames
x<- data.frame(foo = 1:4, ba... |
45801a24af634178565087fd833f3192fd8f0a8c | 0fbc58702c39addfa7949391d92533922dcf9d49 | /inst/examples/PlantCounts.R | 6b86e90b8e509ee3ec0497b157e5e901ec668b97 | [] | no_license | yihui/MSG | d3d353514464f962a0d987efd8cf32ed50ac901a | 8693859ef41139a43e32aeec33ab2af700037f82 | refs/heads/master | 2021-11-29T08:12:02.820072 | 2021-08-15T17:14:36 | 2021-08-15T17:14:36 | 1,333,662 | 30 | 12 | null | 2021-08-15T17:14:37 | 2011-02-06T05:42:53 | R | UTF-8 | R | false | false | 697 | r | PlantCounts.R | # # 基础作图法绘制海拔高度与物种数目的 LOWESS 曲线
data(PlantCounts, package = "MSG")
par(mar = c(4.5, 4.5, .1, 0.2), mfrow = c(1, 2), pch = 20)
with(PlantCounts, {
plot(altitude, counts,
panel.first = grid(), col = rgb(0, 0, 0, 0.3))
for (i in seq(0.01, 1, length = 70)) {
lines(lowess(altitude, counts, f = i), col = rgb(
... |
a904910f9a955cbb309998a6ec08bfd8e699992a | f8eeee94ea3526cffb51d78bc8273bc66fd764a1 | /sim_lim_truth.R | b27eee481f8465c23a37e8d1af25b8c6cf5f1572 | [
"MIT"
] | permissive | waterknows/regression-adjustments | cf351f4c6ef592aa34c281a4c98b3013ce4645c2 | b3e03e5f12e2a52f910296503404d4730a69dbb7 | refs/heads/master | 2023-03-17T21:00:53.779072 | 2019-06-13T18:59:12 | 2019-06-13T18:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,610 | r | sim_lim_truth.R | library(igraph)
library(foreach)
library(doParallel)
library(dplyr)
library(tidyr)
library(broom)
source('functions/data_generators.R')
source('functions/covariate_functions.R')
source('functions/response_functions.R')
source('functions/existing_estimators.R')
source('functions/proposed_estimators.R')
source('function... |
afef3f028e0a3cbfbdb33fac05783dc84a474527 | 6ad95fc7067d6ab32bee6f1a6ad730b984d12579 | /ashiq/R codes/chapter 2/example1_sec2_5.R | 37bd022a99e7dd2e022a8bbd52b51548f0ff9d89 | [] | no_license | sahridhaya/BitPlease | d881f95c404ae9a433c79a8f6519ea7eaba9950a | 04e1c38944f0ee24eb1377ced87e6550253fbb2e | refs/heads/master | 2020-04-21T11:36:10.914922 | 2020-04-06T09:02:47 | 2020-04-06T09:02:47 | 169,531,342 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 481 | r | example1_sec2_5.R | #Example 1, section 2.5, page 150
#Suppose that the weather in a certain city is either rainy or dry. As a aresult extesive record keeping it has been determined that the probability of a rainy day following a dry day is 1/3, and the probability of a rainy day following a rainy day is 1/2. Let state D be dry day and st... |
a7a32d961e6bb22589d7eb49b9345fd66f1633d1 | bbf9b58e4ea5023f585324ef2a6db068d50d8756 | /Second-Year/Statistics-and-Probability/cnrv/R/cerinta11.R | 95b70c3d3cfd0558c07c1a8f96d5c6285925bcd8 | [] | no_license | DeliaDumitrescu/University-Courses | 52f3e64e554d57fd41231dfa1299205ac281df2e | 9dd0b8d808c5b70599b8eeb0e632abca1a0ac75f | refs/heads/master | 2023-06-04T15:07:48.702751 | 2021-06-30T14:14:25 | 2021-06-30T14:14:25 | 338,532,537 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 272 | r | cerinta11.R | #' @export
pdfmX <- function(pdfcom, a, b, c, d) {
function(x) {
integrate(function(y) { pdfcom(x, y) }, c, d)$value
}
}
#' @export
pdfmY <- function(pdfcom, a, b, c, d) {
function(y) {
integrate(function(x) { pdfcom(x, y) }, a, b)$value
}
}
|
5d8fb0acfa50815ddbe3cd224dea016b9c283272 | 5cf83c6dca8734ccd75ba777fc1bfbf436b1bc50 | /R/get_server_photos.R | f1300a1da8d16ab21c28a3237275a546aa0f4110 | [
"MIT"
] | permissive | martonelab/ptm | 0165f41f3815f44a548ba305d296fc56ab52c5f9 | 95751c3f5ee20954dc7fcd19eda4ffd264081ec9 | refs/heads/master | 2021-04-08T19:01:52.411386 | 2020-07-08T03:24:12 | 2020-07-08T03:24:12 | 248,802,414 | 0 | 0 | NOASSERTION | 2020-03-20T16:28:39 | 2020-03-20T16:28:38 | null | UTF-8 | R | false | false | 880 | r | get_server_photos.R | #' Take some ptm numbers and find the photos
#'
#' @param ptm int a ptm number
#' @param results_folder chr destination folder
#'
#' @return
#' @export
#'
#' @examples
#' ### Not run:
#' #get_server_photos(5)
#' ## End(Not run)
get_server_photos <- function(ptm, results_folder = tempdir()){
path <- "/Volumes/martonel... |
ee976fda9c9434403bfcb7cdec43dc1611109d0d | 474eb4da4ad0f1f5face04049f933d4f911fe5d0 | /materials/Day_2_7_practical_binomial.R | 2dbabd685c6eec53e2aebbe00952cf00ba6402b2 | [] | no_license | bowlerbear/bayesian-intro | 6cc7905369bd67e3fa839018fa5e367916d3064e | b1805ef6f0f22078af4378514276689924e6335c | refs/heads/master | 2022-12-29T16:18:06.715299 | 2020-10-14T09:01:34 | 2020-10-14T09:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,697 | r | Day_2_7_practical_binomial.R | rm(list=ls())
library(rstan)
library(coda)
library(BayesianTools)
library(boot) # for logit function
rstan_options(auto_write = TRUE)
options(mc.cores = 3)
#------------------------------------------------------------------------------
# statistical model
#-----------------------------------------------------------... |
cc6ab7a98df86956635dac3488b601129bc6a830 | bad132f51935944a52a00e20e90395990afd378a | /tests/testthat/test_GMLGridFunction.R | 87e44d8136e3bac27b91bca3bea144256bba660e | [] | no_license | cran/geometa | 9612ad75b72956cfd4225b764ed8f048804deff1 | b87c8291df8ddd6d526aa27d78211e1b8bd0bb9f | refs/heads/master | 2022-11-10T21:10:25.899335 | 2022-10-27T22:45:13 | 2022-10-27T22:45:13 | 92,486,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 662 | r | test_GMLGridFunction.R | # test_GMLGridFunction.R
# Author: Emmanuel Blondel <emmanuel.blondel1@gmail.com>
#
# Description: Unit tests for classes inheriting GMLGridFunction.R
#=======================
require(geometa, quietly = TRUE)
require(sf)
require(testthat)
context("GMLGridFunction")
test_that("GMLGridFunction",{
testthat... |
1a7e9d10af05ca5151fa79d6f84777b479eb499c | 2a143733412aa21b6c095ec8510ac7311d0d0db8 | /R/bare_thresholding.R | 9f1ee23b743893cb522732fafeabb946dc7c2545 | [] | no_license | uk-gov-mirror/jncc.bare-peat-mapping-pilot | 6fb7c60507178f668bd2f51f898b4e9e24bd0f0f | 0fae6e6d7ce060cdc28a0aa8bee6c01f034ccb7a | refs/heads/master | 2023-01-06T08:42:25.827443 | 2020-10-30T11:43:26 | 2020-10-30T11:43:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,483 | r | bare_thresholding.R | ## ############################## ##
##
## Script Name: Thresholding bare peat based on indices
##
## Author: JNCC
##
## Date Created: 2019-11-14
##
## Date Modified: 2020-10-30
##
## Licence: MIT Licence
##
##
## Abstract: function for thresholding based on indices. This will generate the specified indices and th... |
5dd7044f7079a036353610c2566be4cba557bde1 | e7e99d3ad56dc57e4c7b787345608a7b4b960065 | /Orderedlogit_Tobit.R | cff0b3d7d3281d7c1e1fcf01b2bcec9229fc2df0 | [] | no_license | TomoyaOzawa-DA/Mitaron | eb802a48444da7746f482d82672066021cf47bcd | 19e008b8aed2b9fc393f7eb2cd2b06f8e0449629 | refs/heads/main | 2023-02-08T22:41:03.985911 | 2020-12-26T13:34:24 | 2020-12-26T13:34:24 | 323,225,632 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,522 | r | Orderedlogit_Tobit.R | library(haven)
df <- read_dta("Mesh_data_year_new.dta")
# descriptive statistics
library(stargazer)
df_ds <- df[, -c(1, 2, 4, 5, 10, 11, 12, 13, 14,15, 16, 17, 18, 19, 20, 21, 26, 27, 28, 29, 30, 31, 32, 33, 34, 38, 39, 40, 41, 42, 43)]
df_ds <- as.data.frame(df_ds)
stargazer(df_ds, out="stargazer.descript.tex"... |
8c66f91e3d5cf3392cd366400d4710086440faaa | 6d64ceecb5a4c1464daf5b1624612febfbdcd360 | /plot-base.R | de2640fc462c124b8d4d1d53a7234ec516428ccf | [] | no_license | bizmarkdev/RCode | bbadb38bea8539280a90bf6106c627091f8c7b97 | 54231e6ee155233db0ff532f693111318649f79a | refs/heads/master | 2021-01-10T14:13:36.210852 | 2016-03-16T20:40:00 | 2016-03-16T20:40:00 | 51,869,773 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,300 | r | plot-base.R | # Base Plotting System
# initialize the plot
plot(x,y)
hist(x)
# reset global parameters
dev.off()
plot.new()
# Hierarchical clustering - example
# hclust is deterministic
set.seed(1234)
par(mar = c(0, 0, 0, 0))
x <- rnorm(12, mean = rep(1:3, each = 4), sd = 0.2)
y <- rnorm(12, mean = rep(c(1, 2, 1), each = 4), s... |
7478b7112b8805884363c9c5066cb891e29f37e6 | 9458df97270a3f5984062509b1bfa761a3ed0bdd | /R/palette_plot.R | decee299073f6e3bf01214a250a04f7ee09d04aa | [
"MIT"
] | permissive | Nowosad/colorblindcheck | a3845e619e6da8e362b004ad0ef0a7c77420b018 | 07fc7e7a1d67da26f40b5be077d32c8e17eae19e | refs/heads/master | 2023-05-27T05:51:38.841711 | 2023-05-17T14:05:18 | 2023-05-17T14:05:18 | 182,271,287 | 26 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,091 | r | palette_plot.R | #' Plot Palette And Its Color Vision Deficiencies
#'
#' Plot of the original input palette and simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia.
#'
#' @param x A vector of hexadecimal color descriptions
#' @param severity Severity of the color vision defect, a number between 0 and 1
... |
1dbe3d690a4136d9120b13f90735e931621fceea | 53bb0e4d2bbbda8fd491d811a70b7f0b6e676fe0 | /server.R | 1422e315054f0bcdcd81b70396c9d0865947f246 | [] | no_license | jpbarddal/DataAnalysisR | 4c1bb84e84b23aab21d0235be17af238001847b8 | 98cabe7377f7cc109e3f95ff343285658a90cf4f | refs/heads/master | 2020-03-13T06:36:49.970787 | 2017-03-24T08:21:42 | 2017-03-24T08:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,345 | r | server.R | library(shiny)
library(shinyjs)
source("core/visualisation.R")
source("core/verification/read_data.R")
source("core/verification/compare_distributions.R")
source("core/drift_timeline/timeline.R")
source("core/visualise_results/result_table.R")
source("core/visualise_results/heatmaps.R")
source("core/visualise_results/d... |
e1ea871705968506a19623645af32a44eeec4fa6 | 2089ab20f1a6f77e22c1ebab973346a36b4f780f | /man/unique.Rd | 6a8d4ec9df4212c2e2ab5cbdadae83cfcef1344e | [] | no_license | gitlongor/uniqueAtomMat | ad092850638fd69b0f53157a12f37acf94dde949 | 61c529dfff609dfc0edc5a9b9ad327d6dbcd4620 | refs/heads/master | 2021-01-10T10:47:24.967298 | 2017-07-09T00:32:47 | 2017-07-09T00:32:47 | 36,911,254 | 0 | 0 | null | 2015-07-04T20:32:17 | 2015-06-05T04:10:45 | C++ | UTF-8 | R | false | false | 7,879 | rd | unique.Rd | \name{unique.matrix}
\alias{unique.matrix}
\alias{duplicated.matrix}
\alias{anyDuplicated.matrix}
\title{Finding Unique or Duplicated Rows or Columns for Atomic Matrices}
\description{
These S3 methods are alternative (typically much faster) implementations of counterparts in the \code{base} package for atomic matrice... |
5c9933d9296bf378d86dc5bd7126bd9890651df9 | bc53027ff6efe71afdc5ac25bc7a1d88eaf61263 | /tests/testthat/test_with_buffs.R | 35b7caad9dd67b4b67a9da169851bafe298db344 | [
"MIT"
] | permissive | cphaarmeyer/warlockr | 4e2a9b9cfbf2c1a1bcfe6661760b645b3a017af5 | 1966421a83ffa93ae70bb8f0a717e964f3497dd0 | refs/heads/master | 2021-07-09T12:51:37.863458 | 2021-03-31T21:38:21 | 2021-03-31T21:38:21 | 236,865,129 | 0 | 0 | NOASSERTION | 2020-09-15T16:03:02 | 2020-01-28T23:28:20 | R | UTF-8 | R | false | false | 1,015 | r | test_with_buffs.R | context("with_buffs")
test_that("with_buffs works as expected", {
stats <- list(int = 275, sp = 581, crit = 5, hit = 9)
out_id <- with_buffs(stats, buffs = character())
out_buffs <- with_buffs(stats)
out_consumables <- with_buffs(stats, consumables = c("gae", "eosp"))
out_wordbuffs <- with_buffs(stats, worl... |
32fde05985b1b1e692c3a2da2e51d3dec84a6e0f | d419516e83a780a44dbdcb3156dc5d192e8a5ca2 | /man/copulahmmdata.Rd | 992bbd98090214e8a0aadb67a9e2208f28a7d540 | [] | no_license | cran/hmmhdd | c975effc6749ce53a59263d0eb70b4d68b10e0c0 | b78d722d6c2de97793c3c30a4442e849b21f406c | refs/heads/master | 2020-07-19T02:39:08.657481 | 2019-09-04T13:20:02 | 2019-09-04T13:20:02 | 206,360,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 522 | rd | copulahmmdata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataset.R
\docType{data}
\name{copulahmmdata}
\alias{copulahmmdata}
\title{Simulated copula dataset with underlying Markov Model}
\format{An object of class \code{matrix}.}
\usage{
data(copulahmmdata)
}
\description{
Simulated biva... |
5e63b05bc9c769161415be5f66dd5001fad2345b | 8b7b10dbc39d9b7adae8c8ee7b25c634e12af91b | /PMGT 634 class examples/Transformations.R | 38b8b85d4b1be61792f7a3f7879a5c2b9af8213a | [
"MIT"
] | permissive | tpopenfoose/R-magic | 001f257ee9d15a0b0ffac7bbab419b0203d820da | 4a35172c013f2c2c1b128fb9e6c3f0f778ef333a | refs/heads/master | 2020-12-28T12:04:21.959404 | 2012-05-16T02:29:27 | 2012-05-16T02:29:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,079 | r | Transformations.R | # Stine and Foster Chapter 20 Problem 37
# Author: Ray Nelson
###############################################################################
# Data and R libraries
load("~/Documents/BYU 2011-2012/Winter 2012/PMGT 634/R magic/PMGT 634 datasets/stineFoster20.RData")
# load the Chapter 20 data frames from the class web ... |
2ef574f7e48bb285efc51d38c5be5cf36ffed93e | 86dd3de51b810aebdb19c16930acb589decbf7fd | /step_1.3/final fig3 DepthvsSNPs_181204.R | 2a0d3de21dbbcaa2a2c334b6da43de8a925d606d | [] | no_license | qq1042032751/Aphid_AL4_chromosome_assembly | a106c2565a53d1969a72d4670457c15c22185c6e | 9e023b9946e5c6e79c78d88a9564cf2f8355fe1a | refs/heads/master | 2022-03-30T11:58:11.044369 | 2020-02-03T22:06:54 | 2020-02-03T22:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,365 | r | final fig3 DepthvsSNPs_181204.R | #library(phytools)
library(ggplot2)
#library(ggExtra)
#library(plotly)
#library(ggrepel)
library(cowplot)
library(ggpubr)
library(RColorBrewer)
library(ggsci)
setwd("/Users/yy/Work/local/Projects/aphid/r_scripts/")
##
# Ref: http://www.sthda.com/english/articles/24-ggpubr-publication-ready-plots/78-perfect-scatter-p... |
1578f647a9572fcc3d91cc73f18c2188db611907 | e1b45c5941f53eea0f2c99615bd45ab3e89275c7 | /load_reference_data_2.R | 9c1b743f3af3eb6cb059fbe7db8af8fe05b81a78 | [
"MIT"
] | permissive | instigatorofawe/clustering_manuscript | 32f727cb703c5dd6fed43776fc86a67fdfebedf5 | a75c437b45a07d7e6e0781012a92ce18179e47b0 | refs/heads/master | 2022-05-24T19:23:18.770560 | 2020-04-27T14:19:00 | 2020-04-27T14:19:00 | 259,345,244 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,587 | r | load_reference_data_2.R | library(pracma)
library(tictoc)
library(glmnet)
library(ROCR)
library(matrixStats)
library(parallel)
library(ggplot2)
library(xgboost)
tic("Total time to run")
clinical.data = readRDS("data/eicu/clinical_data_icd9_sofa_vent.rds")
patient.result = readRDS("data/eicu/patient_data.rds")
sofa.scores = readRDS("data/eicu/... |
8f6c233847ef2ca68508aebf5804e031cb133358 | 5a7f7ebee0e458863e1da9d2a0fcc93b600d1786 | /man/as.character.Package.Rd | 5e508415ff0a2a00914a1929aa8e39e34ea2d888 | [] | no_license | HenrikBengtsson/R.oo | 68071bacb43afe2a46201aea0350a3597ee19e6c | 4101a141b2fa49a43a10df99f56c180ba2c662e6 | refs/heads/master | 2023-01-06T23:48:54.872999 | 2022-06-12T18:04:23 | 2022-06-12T18:04:23 | 19,437,907 | 20 | 1 | null | 2018-05-02T04:51:57 | 2014-05-04T22:47:54 | R | UTF-8 | R | false | false | 830 | rd | as.character.Package.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% Package.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{as.character.Package}
\ali... |
9bfc941d1e0e56e1e8631cf9d73f31cc420359af | da8dae69e597072bc616936d1d72a96f65e4efa0 | /code/oldversions/v2_20180112/model/B2SetPath.R | ddbdfa2f1c904d158b7ab5439ac0fad302093c00 | [] | no_license | UCL/provis | 71e82c383cd9414840e57c2a2867826d6b4ee3e6 | 86a287c7bc705d4aeffb9bbcf96747e97e6d688b | refs/heads/master | 2020-08-01T04:08:20.198284 | 2019-11-08T12:09:43 | 2019-11-08T12:09:43 | 210,310,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | B2SetPath.R | B2SetPath<-function(RootDir,CodeDir,region_id=0) {
# Assumptions
# datadir = RootDir/data/region_"region_id"
# newdatadir = datadir/settlements
# mapdir = RootDir/data/maps
# traveldir = RootDir/data/TravelTime/results
# outdir = CodeDir/output
# wwwdir = CodeDir/shiny... |
4b811feef2a20dea31e76913368b44f9f550c217 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610052121-test.R | f75bd18c7a3c5f94bd02bb25766765650f7f24b8 | [] | 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 | 1,434 | r | 1610052121-test.R | testlist <- list(rates = numeric(0), thresholds = c(6.95346565065353e-310, 2.72974914124656e-312, -2.30331099970595e-156, -2.30331110816477e-156, -2.30331110816477e-156, -2.30331110816476e-156, 1.09015244729545e+217, -3.0784026009623e-288, NaN, NaN, 8.6713227971991e-310, -2.1599506916756e-277, -5.69758255001719e-30... |
82b923d3c8a3a1dc533e023cf6c0b1ec27954eed | c053cc97c204c6af25664cf337d6dd94d984c591 | /R/prob-roc_aunp.R | 4874181f6aa32700be43f28966aa5b4c10ec650b | [
"MIT"
] | permissive | tidymodels/yardstick | 1b2454ae37da76b6c5c2b36682d573c7044767a7 | e5c36f206fb737fc54b1a6161c09bc0d63b79beb | refs/heads/main | 2023-08-19T03:29:20.953918 | 2023-08-08T21:32:57 | 2023-08-08T21:32:57 | 108,898,402 | 294 | 55 | NOASSERTION | 2023-08-08T21:32:59 | 2017-10-30T19:26:54 | R | UTF-8 | R | false | false | 4,141 | r | prob-roc_aunp.R | #' Area under the ROC curve of each class against the rest, using the a priori
#' class distribution
#'
#' `roc_aunp()` is a multiclass metric that computes the area under the ROC
#' curve of each class against the rest, using the a priori class distribution.
#' This is equivalent to `roc_auc(estimator = "macro_weighte... |
d3d665b6974ebb40dfda48d751a51926b62254ff | dd513a24fd1635f461f54d0246ea70e39b84ba1d | /man/export_gifs.Rd | 935e71d4f67b7d6c8ef1fa4978d6d41a9ac373cd | [] | no_license | ekmixon/datamations | 27b11bd53ca68209218703b5babb4dda4ee26a44 | 638eb203c68b897d2ab1ef1069f911a1254d1ac6 | refs/heads/main | 2023-03-07T06:27:23.356785 | 2021-02-19T21:37:41 | 2021-02-19T21:37:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 224 | rd | export_gifs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util-sanddance.R
\name{export_gifs}
\alias{export_gifs}
\title{export all the gifs}
\usage{
export_gifs(df)
}
\description{
export all the gifs
}
|
32596700cd2725d104a4c4df16ac3d878856f73a | c4a59b3431c71dd2a8c2bceab81b412fcd88b5a1 | /WGCNA/master_scripts/wgcna/wgcna.kme.primary.R | a082434f5cd8367b64cf57f175a4d30534c057fc | [] | no_license | Vectorborne1980/Example_Scripts_2018 | 192a9237d7ac5a58cdca6944033a46ffb767d7a9 | 6270ddaeabec043da3e36f9d720e0671e6175948 | refs/heads/master | 2022-01-13T18:37:02.109348 | 2019-07-19T13:15:52 | 2019-07-19T13:15:52 | 108,558,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,077 | r | wgcna.kme.primary.R |
###############################################################################################
# DS1 KMEs
KME.corr.DS1 <- KME.MEs.DS1[,seq(1, ncol(KME.MEs.DS1), 2)]
colnames(KME.corr.DS1) <- substr( colnames(KME.corr.DS1), 5, nchar(colnames(KME.corr.DS1)))
KME.corr.p.DS1 <- KME.MEs.DS1[,seq(2, ncol(KME.MEs.DS1), 2)]
... |
df6b247c1509b00bd4754a0aed3aa4c06c6e4661 | 4ae32cabb0fd268f313c4c2a54cecf9daffc9797 | /man/extract_files.Rd | 23edd9096bbca0f961c19222003a81b031398289 | [
"Apache-2.0"
] | permissive | InteragencyEcologicalProgram/smonitr | 40d9201f5284100aa34015014eeb94229e722fc2 | 6bb40251473dac065587dc1b40f4f747963d1b73 | refs/heads/master | 2021-02-13T12:33:04.458773 | 2020-10-28T17:10:49 | 2020-10-28T17:10:49 | 244,696,632 | 2 | 2 | NOASSERTION | 2020-10-01T20:54:30 | 2020-03-03T17:16:42 | R | UTF-8 | R | false | true | 746 | rd | extract_files.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_tools.R
\name{extract_files}
\alias{extract_files}
\title{Extract Files From Zip}
\usage{
extract_files(path, fnames = ".*", ..., verbose = TRUE)
}
\arguments{
\item{path}{The path to the zipfile.}
\item{fnames}{A vector of file nam... |
ffe5c026041ad6864447d3659da96d972d04bf68 | 8ffd0b0e8be507033d5ccafaec5e23965ce5c80b | /scripts/get_shrunk_filtered_results.R | e253731d6155b1e6b34d52cc7da21cd076bce62c | [] | no_license | Lieker/Gpallida_RNAseq2 | b1bc71c2fa3573825ecc51e3f0474f092cb01734 | 2c9786daf9ae77916955de611c1c4ebd95def7a4 | refs/heads/master | 2023-04-14T14:30:32.807694 | 2022-02-24T08:48:13 | 2022-02-24T08:48:13 | 387,459,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,304 | r | get_shrunk_filtered_results.R | source("scripts/get_unfiltered_res_dds.R")
get_shrunk_filtered_results <- function(d = dds,
counts_csv_file = "input/counts.csv",
xp_design_csv_file = "input/xp_design.csv",
th = 8,
... |
8cdcd0fefa343f2f6fbce7ec64f0cb92e6f7a96b | 05db2c9ff605a07702fdd73d711e838eb8c54efc | /R/stats.R | 62572a446196a5ad2b1bb310ad1fb88618fc46a9 | [] | no_license | laurabiggins/lipidomics_plasma | b5af440bf9f099e3fe2bc712eb6be0c4ab1446ba | c8a05a6e1dd05ae2eeaad53f43ea552bfe09d876 | refs/heads/main | 2023-06-21T14:03:17.280451 | 2021-07-16T10:49:04 | 2021-07-16T10:49:04 | 369,544,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,075 | r | stats.R | # We have various permutations of samples so need appropriate stats.
# assume data is normally distributed - there's no point doing a test for normality
# as there are so few values per sample.
#' Do stats
#'
#' This is a wrapper around decide_test() and do_test(), which checks properties
#' of the data (... |
417053072f130dc7a91fcb7232e1aff142db81c7 | 0969a8a76b2361bd1301b61503392debe2e454e3 | /Rproject/Rcode/project_package/proj.GR.CHC.package/R/function_getCharge_eventID.R | 7f06cf39fad63d6c1a32d6c9c96ba3388eb4bc67 | [] | no_license | daliagachc/GR_chc | 9a85b133919863769e9d655c2e7c63fa3676177a | c40d7a28e18f1cea4c940af44151e48c8926bf55 | refs/heads/master | 2020-06-01T04:00:06.653784 | 2019-06-13T05:33:04 | 2019-06-13T05:33:04 | 190,622,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 610 | r | function_getCharge_eventID.R | #' Get charge from event ID
#'
#' EventIDs are given to positive and negative ion growing events. For example: Pos101 is the
#' growing event 101 of a positive ion. This function extracts the charge, "positive" in this case.
#'
#' @param eventID An eventID of the form "Pos123","Neg42",etc
#'
#' @return The charge of th... |
db21b3ac4b4161aac589e3d4721b2e2c5af9bd56 | 14b4098e27706f1cbae4e558391c7c8f2a1ba61e | /man/predTime.Rd | d15f383b8c1250bee856cf5af23a34c03fb8202f | [] | no_license | cran/qualypsoss | b0f1a247ae39f21c21d6537e320d97522afd8c98 | f69214faa637b89596081521c3fb135e17c5440d | refs/heads/master | 2022-09-19T01:29:12.112426 | 2022-08-31T10:50:02 | 2022-08-31T10:50:02 | 236,877,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 421 | rd | predTime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/description-data.r
\docType{data}
\name{predTime}
\alias{predTime}
\title{Years 1971-2099 repeated for the 20 scenarios}
\format{
matrix 129 years x 20 scenarios
}
\usage{
data(predTime)
}
\description{
Years 1971-2099 repeated f... |
fd1cfbd2df0454375d9e686ebc0afbad915223ea | af1c7110503a26d6da1b72a282c4bd059ad201da | /notebooks/self/r/retro-18.MLE.R | 39c04e032e4f0c525acecc6b2a690280e75f6501 | [] | no_license | ygzheng9/easypy | e0df0d17bc9bb267a3fe43af324c0cf1692fe27d | f7eff5be5cdd6412b706532677b71fb4ecb0b0b7 | refs/heads/master | 2022-04-15T17:05:06.865656 | 2020-03-28T01:59:43 | 2020-03-28T01:59:43 | 125,134,931 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,838 | r | retro-18.MLE.R | ###############################
# 模型已知,参数已知,求指定事件发生的概率
# binom(0.7), 20 次,问 概率 分布
# 也即:发生 1 次的概率,2 次的概率,3 次的概率,....
# x 是发生的次数;
barplot(
dbinom(
x = c(0:20),
size = 20,
prob = 0.7
),
names.arg = 0:20,
ylab = "p(x)",
xlab = "x"
)
###############################
# MLE: Most l... |
eb85fce3880cc711e6e495d2f070c5ed3a47039f | 77fb580e7f65262d3552b17817ba3447746e8edc | /tests/testthat.R | 6c5775a9e2e4ee8c610e8b76dbededce9b1a84cb | [] | no_license | paytonjjones/networktools | b0cc9fd477b2785a353407f3bbd0564179c70aef | ead23972ebe455576d7cbd3eb581af1dcf2b5c94 | refs/heads/master | 2022-06-14T18:32:20.425882 | 2022-06-03T21:55:19 | 2022-06-03T21:55:19 | 87,588,729 | 10 | 4 | null | 2022-06-03T21:55:20 | 2017-04-07T21:34:21 | R | UTF-8 | R | false | false | 68 | r | testthat.R | library(testthat)
library(networktools)
test_check("networktools")
|
730d82bf34d3a7c99a5f4e121ff55b7fb995da9f | dae30ccd57faedafedbeb7fd6f7171664f20c9e7 | /test-code/turf print.R | c8e7a3207d4549d5da3dca0c68409b9f14790551 | [] | no_license | ttrodrigz/onezero | 6a530e166a5e56eb7c4b727b09f0c5a9b966c397 | 8c2d355f0620039de6d0c8fb0bb1ad32c9dfe55f | refs/heads/main | 2023-05-12T15:05:06.643798 | 2023-05-01T13:18:45 | 2023-05-01T13:18:45 | 239,914,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,355 | r | turf print.R | # Begin turf message ------------------------------------------------------
k.range <- range(k)
# nicer output for displaying k range
if (identical(seq(k.range[1], k.range[2], by = 1), k) & length(k) > 1) {
k.string <- glue("{k.range[1]}-{k.range[2]}")
} else {
k.string <- paste(k, collapse = ", ")
}
cat_lin... |
2c2f5b98bb8a20b56a298a8d6602f38cd7caf61a | 1220f5f54a88af7b6b833a51f1264effa69cdf24 | /oryza_API/oryza_scripts/01_load_inputs_setting_oryza.R | c8066bc0c0b9898d1476dc23dd05792be3715f2c | [] | no_license | CIAT-DAPA/usaid_procesos_interfaz | 57dc6ea42f97ec57c3496eec58fae44463be6d04 | 7e073187c9db9074748c04dedd3f9b07ca12c2c9 | refs/heads/master | 2023-09-03T10:44:13.768665 | 2023-04-18T13:37:07 | 2023-04-18T13:37:07 | 83,475,773 | 2 | 3 | null | 2023-01-26T16:04:13 | 2017-02-28T20:24:50 | Python | UTF-8 | R | false | false | 4,813 | r | 01_load_inputs_setting_oryza.R | ### Set Model - ORYZA linux --->> Control + Reruns
# Author: Rodriguez-Espinoza J.
# https://github.com/jrodriguez88/
# 2022
# Arguments
# dir_inputs = dir of input oryza files c(".sol", ".crp", ".exp") and coordinates of weather station
# dir_run = dir of specific simulation setups
# EMD = Emergence day - julian d... |
0dc1bf3ddfa10050db37255aaec76035f2c1b2e1 | cf2f939398a5890945b415456e0d77393e3e14ed | /test.R | 8e99039f34b682ab3d0e10b809fa3140c3a59b38 | [] | no_license | dwd-dfge/test | 445559d19b505279d001bfb626022bd9da0d6bfa | 26396043fcc6a5e810b15fa68d44063471bc8f45 | refs/heads/master | 2020-04-10T04:46:32.695422 | 2018-12-07T10:28:59 | 2018-12-07T10:28:59 | 160,808,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 756 | r | test.R | library(topicmodels)
library(magrittr)
setwd("C:/Users/dwiegand/Desktop/KI/NLP/Korpus/")
#### Import zweizeiliges PDF ####
import <- pdf_text("CSR_EN.pdf") %>%
str_replace_all(" +", "\r\n") %>% #"+" = The preceding item will be matched one or more times. Ersetzen von mehr als zwei Leerzeichen durch "\r\n"
strsp... |
84fae1fba65cb4b8b0926d702ab0de420d010d82 | d2129c74ed601e23dc34ab451f2f9337af3dc588 | /man/dimple.Rd | 93dd77a738ce08fb2c9f7dcc6c7b2c6448829e68 | [
"MIT"
] | permissive | kferris10/rcdimple | 9aa69f530c0958043c34f57b281478f0b1d0604e | 9dfc80320c745d45b522528432e78e013eb055de | refs/heads/master | 2021-01-23T20:55:51.743348 | 2015-10-02T16:35:51 | 2015-10-02T16:35:51 | 32,642,581 | 1 | 0 | null | 2015-03-21T17:37:58 | 2015-03-21T17:37:57 | null | UTF-8 | R | false | false | 2,595 | rd | dimple.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/dimple.R
\name{dimple}
\alias{dimple}
\title{Plot R data with dimple}
\usage{
dimple(data, x, type = "bubble", y = NULL, z = NULL, groups = NULL,
group = NULL, storyboard = NULL, ..., pipe = F, width = NULL,
height = NULL, element... |
aab55a1aec0b4110112099844668c578aba30c9f | 948dc17401eb812276c36df79c695cf14d91ae06 | /docs/book/void.R | a2943de213eb03403cb793384949bc91664dcf69 | [
"CC-BY-4.0",
"CC-BY-3.0",
"CC0-1.0"
] | permissive | r-spatial/asdar-book.org | bc5d177add0128affb61b8c2ea84dd7ed47869c3 | 366af3b26c2083e585daf2faab6b261e3c622a9b | refs/heads/master | 2023-05-24T19:33:13.224914 | 2023-05-23T10:52:17 | 2023-05-23T10:52:17 | 153,242,511 | 50 | 35 | null | 2020-10-15T08:24:57 | 2018-10-16T07:35:34 | PHP | UTF-8 | R | false | false | 38 | r | void.R | This image was not generated using R.
|
2be1d012d9614d28e958dc70d1347a6691c41fb7 | 5a3bc31268f44c48452a5129f0229e0d91dea5e5 | /man/cytoBand.Rd | 40605888dac3a1f51d9e1e2a85fbfc9145969ed1 | [] | no_license | genome-vendor/r-bioc-dnacopy | e644d084267a820ed9f8641bb4e5802cd2e45168 | 14c3c1ba3320b1e035a12993aa3ca181d3fba7b1 | refs/heads/master | 2016-09-05T22:19:45.383822 | 2014-01-27T23:25:57 | 2014-01-27T23:25:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 369 | rd | cytoBand.Rd | \name{cytoBand}
\alias{cytoBand}
\title{Cytogenic band data}
\description{
Cytogenic band data from the godenPath repository
}
\usage{data(cytoBand)}
\format{A data frame containing five variables: chromosome, start and
end positions, band name and giesma stain.
}
\source{
http://genome.cse.ucsc.edu/goldenPath/hg... |
3c81809a2cbab661146b67d914125ec870d7ffbd | 2a17b74ba93eb44409a84b1f8913cc98304afe5c | /R/modelfit.mg.r | 3bef3f4df4cd5b855ac656f7c6341df282c8be54 | [] | no_license | cran/gesca | a22d5e23f9629e8d97e721d80c4f5c1cb2dd43b4 | 42c8e51087f274a4c37e40e5a6463b5e85e26c5e | refs/heads/master | 2021-01-15T15:25:21.308665 | 2017-09-28T19:15:10 | 2017-09-28T19:15:10 | 52,947,758 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,444 | r | modelfit.mg.r | modelfit.mg <- function (Z0, W, T, nvar, nlv, ng, case_index)
{
# MODEL FIT MEASURES
gfi_1 <- 0
gfi_2 <- 0
srmr_1 <- 0
kk <- 0
ss <- 0
COR_RES <- c() # correlation residual matrix
for (g in 1:ng) {
k <- kk + 1
kk <- kk + nvar
s <- ss + 1
ss <- ss + nlv
zz <- Z0[case_index[g,1]:case_... |
5c36f3e69af986d736cef2af23447fc73bc211ea | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.cloud9/R/paws.cloud9_operations.R | 84d3bc56a58d982e1a73a8a0041b611e9ea8c5a2 | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,176 | r | paws.cloud9_operations.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_operation new_request send_request
NULL
#' Creates an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment
#'
#' Creates ... |
8f23d3582f262f216509dd4d059cc8f4341382da | 6a7e2b8c481f831309aaad5bc0f12f05dd213521 | /results/analysis.R | 3d4ab0918f48086cc9d28da30ff81a081927b3d1 | [] | no_license | david-shilei/latency-test | bd5a9ff75f8a3c1a7e57e20a7c4a97da17616051 | 411761f9e65d603a53fac7613b261ab1c4d99145 | refs/heads/master | 2021-01-20T22:20:04.114332 | 2016-07-02T06:19:59 | 2016-07-02T06:19:59 | 62,436,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 294 | r | analysis.R | args <- commandArgs(trailingOnly = TRUE)
print(args)
csv_file <- args[1]
d <- read.csv(file=csv_file, sep=",")
metrics <- setNames(d, c("Time", "Latency"))
png(paste(csv_file, "png", sep="."))
par(mfrow=c(1,2))
plot(metrics$Latency, main="Ping Analysis")
boxplot(metrics$Latency)
dev.off()
|
09e7404f67b272d5eff48b293832a20149e13eb7 | c9c2b64749e8d25fc8667446857ef3f396f1e381 | /main.R | 2ef2681ab166ea2af7f7c2d9dc9fb7d6b1f152fa | [] | no_license | ruizhima/ABCV | f55b62b462d4268a61146421c7e8cb14696f4ecd | cb6f2aeb0edca6004e5f1c0a31aebe579be8e2bf | refs/heads/master | 2021-01-20T08:01:58.237824 | 2017-05-03T15:01:46 | 2017-05-03T15:01:46 | 90,088,583 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,502 | r | main.R | ###### Econ 722, PS6
#### Question 3
library("ABCV")
## DGP
nsim = 100;
T = 100;
k_max = 6; # max number of lags
aic_criterion_values_y1 <- matrix(NaN,nrow = nsim,ncol = k_max )
bic_criterion_values_y1 <- matrix(NaN,nrow = nsim,ncol = k_max )
crv_criterion_values_y1 <- matrix(NaN,nrow = nsim,ncol = k_max )
aic_cri... |
b4cedb1fece9263e46b13fbb551a8ce4686c0e2b | d8d005d99a54a8401628179b03e24f95190b7fba | /man/multi_rnorm.Rd | 833d055a5fa583bc1f5420b4e07de4663fd707c5 | [] | no_license | japilo/colorednoise | add6c6f49e1c76a43175d328f0c922de84831926 | d3bcfdaf7663cba49efc7d7442af660351e35eea | refs/heads/master | 2021-06-03T23:07:54.516260 | 2020-10-08T00:16:36 | 2020-10-08T00:16:36 | 104,096,384 | 7 | 1 | null | 2020-08-27T07:47:21 | 2017-09-19T15:58:36 | R | UTF-8 | R | false | true | 742 | rd | multi_rnorm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{multi_rnorm}
\alias{multi_rnorm}
\title{Generate Correlated Normal Random Numbers}
\usage{
multi_rnorm(n, mean, sd)
}
\arguments{
\item{n}{The number of samples desired for each variable.}
\item{mean}{A vector giving the ... |
b30ab13d1ff0daf875316f4960cb34b85056c0db | 82b36879156715c0f9df44f5136e32f51fab88c0 | /cachematrix.R | 2d57425e794fd6b8ad4adf28721a92df331419fa | [] | no_license | andrewdhayes/Programming-Assignment-2 | 3acc093f8b9b56b6ea32907de99a4a9b673301f0 | b51fb3a670ebd14cebf3eb369b953b0322e93abb | refs/heads/master | 2020-04-26T02:11:54.978674 | 2019-03-01T03:42:22 | 2019-03-01T03:42:22 | 173,227,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,876 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# makeCacheMatrix is a function that creates a special "matrix" object that
# can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
# initializes the object x as a function argument, and the object inv to be used
# lat... |
5d87af6af91fa66f6aebe8fb687f9ab54fb2d5af | e01871cf6a2d1497b96abd91de8069a2b792a9f3 | /R/findMethylatedCytosines.R | eb3d4a00b6c8d79b504579b52924c330906df8c4 | [
"MIT"
] | permissive | diannamcallister/MethylExpress | 2bc0f8e875641b6c0d1f8c0abc93a6399fb53b7e | 4adf41221e236f4eee1ace077b1977fc1bf1e47c | refs/heads/main | 2023-01-30T05:17:35.380998 | 2020-12-09T17:03:09 | 2020-12-09T17:03:09 | 307,599,310 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,201 | r | findMethylatedCytosines.R | #' Highlighting all Methylated Cytosines
#'
#' A function that returns a visual output highlighting all methylated cytosines.
#'
#' @param orig A string of nucleotides of the original DNA sequence with no
#' modifications, meaning before bisulfite conversion
#' @param bisulfite A string of nucleotides of the DNA se... |
03df4678a6d1035d03da5f7972a8d61b5a18970e | 604f064ac46806c8aaba71afc42fc6f8f6d2a1e0 | /man-roxygen/medianMetric.R | 19b092a44918d1e724817d9c58910e19a5523994 | [
"MIT"
] | permissive | johndharrison/webpagetestr | d2278dcf271dbe7f800e95569829fff045689d43 | 48ba992bfa4ebf3edf6b8767160c1a2e92f65595 | refs/heads/master | 2021-01-13T10:26:49.749120 | 2016-11-08T16:34:32 | 2016-11-08T16:34:32 | 72,283,586 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 272 | r | medianMetric.R | #' @param medianMetric A string. Set the metric used to calculate median
#' for multiple runs tests. Defaults to "loadTime" = NULL. Other options
#' include "visualComplete", "SpeedIndex", "titleTime", "domTime",
#' "docTime", "fullyLoaded", "render", "TTFB"
|
c8b933822b3d9c2950f42330917eaa785f8a73c7 | 407350d22d3a58e93dd9b02bdb5e2213d8c55cc8 | /Other/custom-logistic-regression.R | 00e1e1707b277921e94bf81736540af5341aaf7e | [] | no_license | vonElfvin/Machine-Learning-Practice | e679fa2b111c8178273c9b3e375abe528ceac213 | 65334ae79d29673c7ae9e5e4833728cf309be22e | refs/heads/master | 2021-05-14T16:23:43.328273 | 2018-11-23T19:46:05 | 2018-11-23T19:46:05 | 116,019,701 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,811 | r | custom-logistic-regression.R | #### Custom Logistic Regression
### Setup
set.seed(12345)
data.iris = as.data.frame(iris)
ids = data.iris$Species %in% c("virginica", "versicolor")
y.iris = ifelse(data.iris[ids,]$Species=="virginica", 1, 0)
X.iris = data.iris[ids,c(1,3)] # Select only Lengths to be able to plot
X.iris = as.matrix(X.iris / max(X.iris)... |
1d45e916f144934974857ef1ee5d386c7840c91e | 3ea9a43dbbaa88bfb0fad2bc187cae3902c56e0c | /man/MNNpair.Rd | 69b97700c4d4037db33ffcd9b4e46edab6cda056 | [] | no_license | KChen-lab/SCMarker | 99a5b15d8999e95113dbb41e089e0038ed4cd4b3 | 03b8edfaa2b1eb896965bfe9f609da02e91ef03b | refs/heads/master | 2021-06-28T08:47:27.931320 | 2020-09-15T03:40:47 | 2020-09-15T03:40:47 | 138,614,038 | 18 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,939 | rd | MNNpair.Rd | \name{MNNpair}
\alias{MNNpair}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Gene pairs
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
MNNpair(k, MNNgene, geneName)
}
%- maybe also 'usage' for other objects documented here.
\argumen... |
dd60d6f76dddeda112c15c3fd2abb3848cd0d2d0 | a7def3c7c33c7db7c8b529592111b8aa65ec28ae | /man/html.Rd | 480fe9261365028579176c6d5c700f9a85ab0ff1 | [] | no_license | Arrendi/reactablefmtr | 92386ec0cca53656175779a08d13be646bc2b819 | 8dcdcfd469fb9a862023280a28ba309c8e6ea395 | refs/heads/main | 2023-08-12T21:35:39.678483 | 2021-10-07T13:25:11 | 2021-10-07T13:25:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 818 | rd | html.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table_elements.R
\name{html}
\alias{html}
\title{Apply HTML attributes to title, subtitle, and source text.}
\usage{
html(text, ...)
}
\arguments{
\item{text, ...}{The text provided within the title, subtitle or source with HTML attributes ap... |
14589194bf793624ebbee8b2ba5614e8c670d4c7 | d692ef9a915e8d901d6c17567a632f555c70d5c9 | /YATAWebAdmin/R/ui/modProvidersServer.R | 682483b50af0dca978d81eb814e8de774f557644 | [
"CC0-1.0"
] | permissive | cryptobuks1/YATA2 | 386f0cc47e6bfeda8c626d6d44e033708f06c404 | 04d7c4fefea3babc0d0f30ee15c9a52602623055 | refs/heads/main | 2023-04-26T16:05:54.430701 | 2021-05-27T15:00:58 | 2021-05-27T15:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 424 | r | modProvidersServer.R | modpProvidersServer = function(id, full) {
ns = NS(id)
PNLProviders = R6::R6Class("PNL.PROVIDERS"
,inherit = YATAPanel
,cloneable = FALSE
,lock_class = TRUE
,public = list(
initialize = function(id) {
super$initialize(id)
}
)
... |
9c6e9ace6ea1bb39f2f75dcb5495067f5ecce6f2 | ffe0f89ba49fcdb3f190051d35cc6556adcfa278 | /dataPrep.R | 69cf89ce41a59274256bbadc98f5ec387ca31645 | [] | no_license | 5hri/CapstoneProject | 2c2a7b062c45289919ce5519f07cc955f0e25499 | 34c04032bfff090d16700b67b2f79f3ca9c2c2ea | refs/heads/master | 2021-01-12T20:31:54.480742 | 2016-10-08T01:03:38 | 2016-10-08T01:03:38 | 68,489,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,219 | r | dataPrep.R |
# Refer to the Milestone for the source code, here I have modified the data for the App
AppngramTokenizer <- function(theCorpus, ngramCount) {
ngramFunction <- NGramTokenizer(theCorpus,
Weka_control(min = ngramCount, max = ngramCount,
... |
486f88fc8777984bbe25a7e7a1ad02859d5f8fb3 | 1ac6ed9fe71f59fbf0230ff6c5a3c94650d8b44d | /R/overwrite_column.R | 58edb1e1b167976b6c03d7786d138bdfc6bc642d | [
"MIT"
] | permissive | daattali/rsalad | 58c505511b0d44416a06cf7f99926bae034898ee | 51d3a190574da341e7942c1b3b1265ac3572f918 | refs/heads/master | 2021-01-09T20:48:12.066521 | 2019-10-25T03:21:23 | 2019-10-25T03:21:23 | 26,629,036 | 26 | 9 | null | 2015-10-23T08:56:10 | 2014-11-14T08:18:03 | R | UTF-8 | R | false | false | 1,010 | r | overwrite_column.R | #' Overwrite a column in a data.frame based on a matching column in another df
#'
#' @export
overwrite_column <- function(olddf, newdf, cols, bycol = "well") {
result <- dplyr::left_join(olddf, newdf, by = bycol)
if (missing(cols)) {
cols <- setdiff(colnames(olddf), bycol)
}
# yes yes, looks are horrible ... |
64761a0aa69e3dfb930003caa1033fd968ff4e3a | f56df8d08b3ec0e4e85ed0b0dbe74da3b63587ee | /JFJFJ33.R | cf46820ce9340ec5f1614cf43cd8308000fbad31 | [] | no_license | UCSDWayneTang/2016-primary-election | 6bea9e0a2ec89b02d2d609d80d64c822c7cd13c4 | 20010c7642593ede780e4a7d48df6f305b5d884e | refs/heads/master | 2020-04-09T14:53:24.826547 | 2018-12-04T19:50:02 | 2018-12-04T19:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,047 | r | JFJFJ33.R | library(tidyverse)
Clean_data <- read_csv('./data/GaofengCleaning.csv')
all_state_wnh <- Clean_data %>%
group_by(state_abbreviation) %>%
summarise(white_nohisp = sum(white_nohisp*pop14)/sum(pop14)) %>%
ggplot(aes(x=state_abbreviation, y = white_nohisp)) +
geom_histogram(stat = "identity")
East_Coast <- c('FL... |
a652e17be1765c1fedf25caa422205af2abfa4c0 | bd74455b71f2d1d64ea199372dea5cc19b767b9f | /code/09_plot_figure3.R | d58b32227c567a207a5b792871d43310e24c9260 | [] | no_license | yxlaoban118/opioid_trends | e943a98e9b845b6e18dc8c4241a8f76ae4f804b7 | 5e988f348b5cfc02d90e0dd11d4b4aa7e7219e8b | refs/heads/master | 2022-08-04T16:08:51.054398 | 2019-11-25T15:01:46 | 2019-11-25T15:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,616 | r | 09_plot_figure3.R | ## Plot figure 2, rates for opioids by race and opioid type, 1979-2015
## Imports
library(tidyverse)
source("./code/mk_nytimes.R")
output_dir <- config::get()$output_folder
## Helper functions
import_results_data <- function(filename) {
df <- readr::read_delim(filename, delim = ";", escape_double = FALSE,
... |
a0bc59071685fdb79f12940b2170b4fecf35a519 | 4f04adf47ca5f37fb561703f1aa757e0bf116fe2 | /data-raw/ncm_base.R | 990a3bd8bf08e310a5e8f11f51c52314b358e78b | [] | no_license | transformauy/codigueras | 28b609b0d9c6152e58f0600232065068b35ad75e | 0c777b3654d8d4f150b36db09071b3c39050bfdd | refs/heads/master | 2021-11-24T11:47:23.327327 | 2021-10-25T21:29:51 | 2021-10-25T21:29:51 | 163,195,211 | 2 | 1 | null | 2019-07-12T17:00:53 | 2018-12-26T15:50:19 | R | UTF-8 | R | false | false | 1,292 | r | ncm_base.R |
# Codiguera completa (Sección, Capítulo, Partida, Subpartida) - archivo de la web en formato .xls que coincide con NCM adaptado a Uruguay.
# ncm_base <- file.path('data-raw', 'ncm_5.xls') %>%
# read_excel(skip = 2) %>%
ncm_base <- file.path('data-raw', 'ncm_aec-10-2018_vi-enmienda_ene2019.xlsx') %>%
read_excel(s... |
0867b2c3008da93c9da87131a8ae9b7c4b72f215 | 633e5d42e27a335926f57056f8097464ff2dfc61 | /sentiment.r | 9af8b3172b418dd09ed514056cd20409d042780e | [] | no_license | prokulski/twitter_graph | d464cad4c9ac0d0ca7e9b7d0013e1232f7525b67 | 50c5154b94003ff7c3f192f1de7b98c5402887a8 | refs/heads/master | 2020-09-28T11:11:20.170662 | 2017-01-22T14:58:18 | 2017-01-22T14:58:18 | 66,703,061 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 619 | r | sentiment.r | library(twitteR)
library(ggplot2)
library(dplyr)
# dostęp do API
source('twitter_api_access.r')
setup_twitter_oauth(consumer_key, consumer_secret, access_token, access_secret)
clinton_tweets = searchTwitter("Hillary Clinton+@HillaryClinton", n=200, lang="en")
trump_tweets = searchTwitter("Donald Trump+@realDonaldTr... |
a75cbb949bcb89664cd8f126b21e32c1f7aa1ce8 | b90fd1fbb011eac4a9ce6174bf1ca0225349077c | /cachematrix.R | f047354bced7371e4780bfc9a71ac4026e17d935 | [] | no_license | liangk7/ProgrammingAssignment2 | cd1e9c1a684f2f08e3d5de57575596665b907a2f | 77762cf4484dd038a01aec40936d8b44b61b18c9 | refs/heads/master | 2021-05-12T05:27:28.513777 | 2018-01-13T01:36:48 | 2018-01-13T01:36:48 | 117,194,232 | 0 | 0 | null | 2018-01-12T04:56:46 | 2018-01-12T04:56:45 | null | UTF-8 | R | false | false | 1,229 | r | cachematrix.R | ## [Put comments here that give an overall description of what your
## functions do]
## [Write a short comment describing this function]
## The following function creates a special matrix that can retain
## its inverse in cache
## Variables
## 'x' as the matrix, 'xinv' as the matrix inverse
## Functions
## 'set', 'get... |
fd6d5f6c24267e69fe8e2be93434eec93718c4de | 100ed9652d75f9889d1bff2be0fd82e18240b257 | /Scripts/Soclim/exploration.R | a7ba0a6cdc2fa215f535175bd878f5f853217850 | [] | no_license | Flavi1P/Phytofloat | 877129b0fa30111460c75b7239d12de7cc3a3ae9 | bf47dd5d6100010e13e6f8ce4832c85f67735c4d | refs/heads/master | 2020-12-23T14:06:45.975191 | 2020-03-27T16:12:22 | 2020-03-27T16:12:22 | 237,174,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 869 | r | exploration.R | library(tidyverse)
library(janitor)
map <- read_csv("map_vec")
btl <- read_delim("Soclim/data/data_btl_JULIA.csv",
"\t", escape_double = FALSE, trim_ws = TRUE)
btl <- clean_names(btl)
names(btl) <- c('station', 'date', 'lon', 'lat', 'depth', 'temp', 'sal', 'ox_mml', 'chl_fluo', 'bbp', 'cp', 'fluo_b... |
f083088889e1c809c1d3f340007f3fe686088e09 | a62921e670cc120b80f61471e16c871f79dfabe2 | /_shiny-app/data-raw/clean-locations.R | b927804b5e896e43179588552f5d60711e38d7ac | [
"CC-BY-4.0"
] | permissive | charliejhadley/idn_germanmigrantletters | 137e0fc7fa8bb5f62b0c8980248ec8bf6fd89185 | daca23448545c5bca5a504928871328c9601a3e2 | refs/heads/master | 2021-09-09T23:50:57.856905 | 2018-03-20T08:52:42 | 2018-03-20T08:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | clean-locations.R | library("tidyverse")
library("readxl")
all_locations <- read_xlsx("data-raw/unique-locations.xlsx")
colnames(all_locations) <- tolower(make.names(colnames(all_locations)))
all_locations %>%
mutate(new.location.string = location.string) %>%
filter(grepl(",", location.string)) %>%
separate(new.location.string,... |
0069cd2272bb9372b69e410a9cb5b89f0dfd865e | 3e14540a1ad52f1a26b2a6102c6d6e478bf2065a | /map_test_2.r | c55d4613d69cdc44dc4c5710b383d31fd91acbd6 | [] | no_license | vedapragna/germany_map | d4aeae9693317f48e933115d22161c9d02ba680c | cf3afbd3ce4dd7d9d9566e3a1abc89a8c214dfa1 | refs/heads/master | 2020-12-02T15:24:32.974788 | 2018-02-04T17:38:09 | 2018-02-04T17:38:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,559 | r | map_test_2.r |
rm(list=ls(all=TRUE))
#shapefile from https://datahub.io/de/dataset/postal-codes-de
#http://www.suche-postleitzahl.org/downloads?download=zuordnung_plz_ort.csv
#post questions here: http://gis.stackexchange.com/
library(choroplethr)
library(dplyr)
library(ggplot2)
library(rgdal)
library(maptools)
library(gpclib)
libr... |
0902704ca7c2ab11165fb3763339d304c6c25ce0 | fbe57536cc2d84e69a5bf799c88fcb784e853558 | /R/unitconversion.carat.to.milligram.R | 9450572997cb21a9dad047a3473272458a0338fb | [
"MIT"
] | permissive | burrm/lolcat | 78edf19886fffc02e922b061ce346fdf0ee2c80f | abd3915791d7e63f3827ccb10b1b0895aafd1e38 | refs/heads/master | 2023-04-02T11:27:58.636616 | 2023-03-24T02:33:34 | 2023-03-24T02:33:34 | 49,685,593 | 5 | 2 | null | 2016-10-21T05:14:49 | 2016-01-15T00:56:55 | R | UTF-8 | R | false | false | 635 | r | unitconversion.carat.to.milligram.R | #' Unit Conversion - Mass/Weight - Carat to Milligram
#'
#' Performs a conversion of weights from carats to milligrams.
#'
#' @param x Vector - Values in units of carats
#'
#' @return x, but converted to milligrams
#'
#' @references
#' NIST. Handbook 133 - Checking the Net Contents of Packaged Goods - Appendix E -... |
38c32367b9afed3a00d5b4747fba62ff553e7264 | c75ec355d2a0543884e808f03ed2bddaaf323888 | /examples/exo_1.R | ac29bb1d944435fad8a58d53c64ff0fcecab30ca | [] | no_license | pedroguarderas/KRIG | 208520db0bb32ac87db21bdbeadf42a332462bc6 | c8d8d896fc41b79db7a818baf6879303faeb2c37 | refs/heads/master | 2022-10-26T17:46:54.065846 | 2022-10-02T21:07:19 | 2022-10-02T21:07:19 | 21,835,411 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | exo_1.R | # Reading data -------------------------------------------------------------------------------------
# Loading libraries --------------------------------------------------------------------------------
library( data.table )
path<-'/home/aju/Documents/Lectures/spatial_statistics/data/'
# Simulated example
data_file<-... |
a57deeeb25159ffceb1b606283d08d753e059642 | b6311d0df0b150d3c01bc9e5257ca4ca8430eca4 | /man/rdevel.Rd | bca14dd2f4102aa124eb1605e9381af295657063 | [] | no_license | JoFrhwld/SQAwR | 5daa2702ccd14daa057b32e0d78c57e2f62586cb | 35606adb3bdb55a8db4f344ee71c246c1ca3e534 | refs/heads/master | 2020-05-18T11:54:29.391415 | 2012-05-02T23:26:37 | 2012-05-02T23:26:37 | 2,018,875 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 591 | rd | rdevel.Rd | \name{rdevel}
\alias{rdevel}
\docType{data}
\title{
Contributed Packages to \acronym{CRAN} over Time
}
\description{
The number of contributed packages to \acronym{CRAN} over time.
}
\usage{data(rdevel)}
\format{
A data frame with 20 observations on the following 3 variables.
\describe{
\item{\code{vers}}{R... |
dcb88865b7495007544a18da08f061ffd8e22591 | 33b1b3ceed523f43a3b3c8cedcba35982c19e96d | /man/models.Rd | 74b0290b8b74465074bd7a60b95d33cd3c8d8029 | [] | no_license | mcrucifix/iceages | 61d300f2394f66e9e05d7a2f4b07e57f29618c69 | 05404a1ecf64af72a08dbe84f786d4a07c664734 | refs/heads/master | 2022-12-22T03:26:40.889155 | 2022-12-20T15:04:15 | 2022-12-20T15:04:15 | 7,424,021 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,740 | rd | models.Rd | \name{models}
\alias{models}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
List of deterministic and stochastic ice age models
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
data(models)
}
\details{
List of models, as follows:
\itemize{
\item{\... |
ab54bb5b7ee93eb0d675c35ca0a85c2f33a08352 | 66105ec95e4c2c59214dd96a85b62143855da002 | /Rscript/mann_whitney_u_test_fun.R | 2a8d32264aaae6d47784f94cd11dc07cf6455d64 | [] | no_license | zhuangaabc/metda | 87354368a15fd7ca1d67299df9af6eb6899df455 | 0942ef0f69990c54f4990959fce89aea24249298 | refs/heads/master | 2020-05-24T07:07:27.980616 | 2019-04-22T22:10:25 | 2019-04-22T22:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,601 | r | mann_whitney_u_test_fun.R |
pacman::p_load(data.table)
# fwrite(data.table(p),"p.csv")
# fwrite(data.table(f),"f.csv")
# fwrite(data.table(e),"e.csv")
# return(p)
# dataset_input = fread("dataset_input.csv")
# dataset_input = as.list(dataset_input)
# p = fread("p.csv")
# f = fread("f.csv")
# e = fread("e.csv"); e = data.mat... |
8d3dc4564e3c9df09cec57bdace7d17e36e9abc4 | 7449d885c822e956deed1e6949477330a968348f | /Housing Correlations.R | 9a4831b0e67560416efad2ad8ba15217c034b56b | [] | no_license | ychennay/Data-Visualization | 049c4da4351bde00d03e8d9951ad6d2863db6abd | 61fb67a318f189ca39502fcba1241f739576d5d0 | refs/heads/master | 2020-06-28T16:04:06.942596 | 2017-12-29T19:26:24 | 2017-12-29T19:26:24 | 74,490,445 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,150 | r | Housing Correlations.R | #will open up a dialog box- pick the CSV file to upload it into R
df<- read.csv(file.choose())
#provides general summary statistics
summary(df)
#subset data to only numerical (vs. categorical columns)
numerical.df <- df[,sapply(df, is.numeric)]
#generate correlation matrix
cor(numerical.df, use="pairwise.complete.ob... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.