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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1d43a8caf26d2204ecea8b113e0f9dd7021fb24 | 9923e30eb99716bfc179ba2bb789dcddc28f45e6 | /openapi-generator/r/tests/testthat/test_dvir_base_next_driver_signature.R | e89301d4f8d1346dfd92c2545e4fb1812eb5923e | [] | no_license | silverspace/samsara-sdks | cefcd61458ed3c3753ac5e6bf767229dd8df9485 | c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa | refs/heads/master | 2020-04-25T13:16:59.137551 | 2019-03-01T05:49:05 | 2019-03-01T05:49:05 | 172,804,041 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,635 | r | test_dvir_base_next_driver_signature.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test DvirBaseNextDriverSignature")
model.instance <- DvirBaseNextDriverSignature$new()
test_that("driverId", {
# tests for the property `driverId` (integer)
# ID of the driver who signe... |
615d194f544ddd2659ffe660907ed760a77e613e | c33146c58a091216567a764332944909c25b6988 | /man/hier.part.internal.Rd | 46a8149219896ed2e37d86bbe20c1b0e0877a475 | [] | no_license | cran/hier.part | 116629f4dfb5d5e9c79d92c142b24b2c314b88bf | 79f96670a1750a659eb2dbfd829c45e89cdb848c | refs/heads/master | 2021-06-01T19:42:27.836337 | 2020-03-03T06:10:03 | 2020-03-03T06:10:03 | 17,696,643 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 196 | rd | hier.part.internal.Rd | \name{hier.part.internal}
\alias{combos1}
\alias{current.model}
\title{
Internal functions for hier.part package
}
\description{
Internal functions for hier.part package
}
\keyword{internal}
|
533f043d4d03d820ed5a645c469fae7e58c1cc41 | 1fafd1d1145f11c8ab3ca38aff4efecea1ad1d11 | /EDA Case Study/Uber Supply-Demand Gap.R | 68a05b72e3b3af6f34e11891005d3f805c99757e | [] | no_license | vijayapotturu/IIITB-PGDDA | c6861f94641dd991f817cf5575bd02700eff2324 | 37d6e86e34f4e73caa5a0eb9a414bbbf1995d9de | refs/heads/master | 2020-04-04T09:04:52.353185 | 2019-02-13T02:12:14 | 2019-02-13T02:12:14 | 155,806,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,396 | r | Uber Supply-Demand Gap.R | # creating & setting working directory
# setwd(file.path("/Users/raj/Documents/Vijaya/Upgrad/Course 2/", "Uber Case Study"))
# getwd()
# loading relevant packages
library(stringr)
library(readr)
library(tidyr)
library(dplyr)
library(ggplot2)
library(grid)
library(gridExtra)
library(lubridate)
# Loading Data
uber_re... |
b3d9554676f968fc392326a34883629ef3eccc4c | f307665431280b3534acaaa954a5a8e20f825225 | /1 - Intro to Data Science/assignment_1/assignment1.R | ac8aa1506883a2350a594e49fdb8e2432facf06f | [] | no_license | jessie-jensen/uw_data_science_cert | c17fd24e0d306a85ee690f4cc1f7d9679e105ad9 | b7aec0ab5f6bac2dd05769e3e4c1189646acc162 | refs/heads/master | 2023-06-27T08:45:46.281722 | 2016-11-02T22:10:37 | 2016-11-02T22:10:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,610 | r | assignment1.R | # 1 Download and Install R. Then download and install R studio. Calculate 2 + 3 in R studio . Type your name into the console. Take a screenshot of R-studio (not just the console) and name the screenshot file: RStudio.jpg or RStudio.png or RStudio.pdf. The format should be jpg, png, or pdf.
'Done'
# 2 Join the Link... |
e05951d3fb54a41a77c81e65f7f42afd3e61654b | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.end.user.computing/man/workspaces_update_connection_alias_permission.Rd | 08e872869ffef9ecaba8632dc852f873da2cb917 | [
"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 | 2,144 | rd | workspaces_update_connection_alias_permission.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workspaces_operations.R
\name{workspaces_update_connection_alias_permission}
\alias{workspaces_update_connection_alias_permission}
\title{Shares or unshares a connection alias with one account by specifying
whether that account has permission... |
ddf8519f0ea5cb9a614237671655e5f564ed39ad | 11394cd22cea3b4e644d20564ff4b500018d943e | /scripts/step6_split_norm.R | 71c99abeb0875c3e662d242441b5cb16d6e21e9c | [
"MIT"
] | permissive | shunsunsun/single_cell_rna_seq_snakemake | 3d153c9cb7db9988917aff38991217a35940aa64 | f275546eb3bd63d5d535a13407ce47ee36e94cae | refs/heads/master | 2023-04-17T08:44:13.954986 | 2021-04-27T08:13:50 | 2021-04-27T08:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,296 | r | step6_split_norm.R | suppressPackageStartupMessages(library(Seurat))
suppressPackageStartupMessages(library(future))
suppressPackageStartupMessages(library(future.apply))
input <- snakemake@input[[1]] ## filtered merged data as a seurat obj
outfile <- snakemake@output[[1]]
outdir <- snakemake@params[["dir"]]
if(!dir.exists(outdir)){
... |
8685d3b748b69d977acc90fae39f80ca4aa7209e | fa41498eb72267e705fcec152f4f93bd293ee0a4 | /OCR/bwbb ocr.R | 83d927f5efd36b27bcbe06d6fb2eaa9ef5d315b6 | [] | no_license | sidxi/week-six | 599fadbd447b9dee6541a442e98652d9b5e4c124 | dd93646bae4b3bd8239cd074ac8e2509b8962fe7 | refs/heads/master | 2022-11-05T20:53:51.709826 | 2020-06-17T04:55:27 | 2020-06-17T04:55:27 | 272,305,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 469 | r | bwbb ocr.R | library(magick)
library(magrittr)
library(tesseract)
text <- image_read("bwbb5July1992_Page_1_Image_0001.png") %>%
image_resize("2000") %>%
image_convert(colorspace = 'gray') %>%
image_trim() %>%
image_ocr()
write.table(text, "output.txt")
text <- image_read("bwbb5July1992_Page_2_Image_0001.png") %>%... |
ca955ed99b2ebf7ad61d9a08d13abfd47fd6d7ea | 953f9e769da44b32dbb628d2cf49a52cc300647c | /server.R | ebb86e127d98366472507596034daddd8cdea18a | [] | no_license | CarolinaBrinholi/projetoshinny | f333ef5eeda36536110658fa3b6b3e9ac4d6b91b | e5f62ee1d6db467ad470181644f26b95343379fa | refs/heads/master | 2020-04-28T05:57:43.786916 | 2019-03-11T17:34:53 | 2019-03-11T17:34:53 | 175,038,413 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,856 | r | server.R |
# install.packages("googleAnalyticsR")
getwd()
# setwd("C:/Users/CarolinaFagundes/Desktop/trainning_shinny")
#### FIRST TRY with ga data ####
# building the dataframe with the ga data
####################################
library(googleAnalyticsR)
library(ggplot2)
library(stringr)
library(dp... |
0894e9f45a4a9b30b47761f2dbf5ece0459b326d | e9a76b782286e21268bfa068f6d96f769176ec4b | /ui.R | 3bf6f4d947a8574feabbc5bcf226a2b01e7cf72b | [] | no_license | arbuci/DDP_Project | c458aa9ab766d99e783cb052e8efee7072fa743a | 3180e393b6ea0de3abf3690f0a03ebece1f6887e | refs/heads/master | 2021-01-20T05:20:53.659129 | 2017-08-25T19:26:31 | 2017-08-25T19:26:31 | 101,435,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,712 | r | ui.R |
library(shiny)
library(shinythemes)
shinyUI(fluidPage(
theme = shinytheme("cosmo"),
headerPanel("Rx Staffing Prediction"),
sidebarPanel(
h3("Parameters"),
h4("All parameters are required"),
numericInput('acute_census', 'Acute Care Census', 165, min = 0),
numericInput('icu_census', '... |
893461798c6ccb1326530dfaa86f3729a1221ef5 | 076c560b664792aa2c6f701fb6c5e8acc05469e1 | /SampleSpecificScoringandModelling.R | f4dab695255c0229247fc2e2883e4cfb358499ec | [] | no_license | ypriverol/TGEClassification | 80ed79a727f88e62ae2b12fe8a9c767d7890688b | 1201fb0e4ae871ab8e9e74f2424e6dcc8f6e2876 | refs/heads/master | 2020-04-20T20:05:21.223090 | 2017-10-20T12:59:51 | 2017-10-20T12:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,058 | r | SampleSpecificScoringandModelling.R |
args <- commandArgs(trailingOnly = TRUE)
args.length <- length(args)
if(args.length < 4){
print ("Error: Not sufficient parameters")
print ("Rscript SampleSpecificScoringandModelling.R coseq.train.tsv peptides.csv conseq.test.tsv conseq.test.sss.tsv")
}
conseq.train.file=args[1]
peptide.file=args[2]
conseq.test.f... |
9c32de42e9d95e0ad0f23dd3248142645f91a496 | b1b44c6570174adef2a32c550b88438de069f1cf | /courses/stat587Eng/labs/lab01/lab01.R | 2868dedff72e3738df9d5fbb464cc365cdd99996 | [] | no_license | AnnieLima/jarad.github.com | 49b8378b5d4d7b4cf17e0f39f20b325eb5009c54 | 07c6fea2842ad2085dfcb2d9d41b0a6c6e5b611c | refs/heads/master | 2023-08-18T11:03:51.491294 | 2021-10-13T16:34:28 | 2021-10-13T16:34:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,038 | r | lab01.R | ## --------------------------------------------------------------------------------------------------------------
a = 1
b = 2
a+b
## --------------------------------------------------------------------------------------------------------------
x = 1:10
y = rep(c(1,2), each=5)
m = lm(y~x)
s = summary(m)
## ---- eva... |
487cfe09394e1853b971186dc994cb57916ba667 | 27a831dc58b73697dca0dc9bb85f5c6cc7e13bfc | /R/EMNearestMeanClassifier.R | e38ab0b26a138f694069b58b664350dabdc340ad | [] | no_license | cran/SSLR | b113137a98d1410311c896980fbea325667b51e9 | 806b4f7c470c4a7615cadae0b15747aef80cc818 | refs/heads/master | 2021-08-17T22:53:29.136291 | 2021-07-22T07:10:07 | 2021-07-22T07:10:07 | 249,203,588 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,536 | r | EMNearestMeanClassifier.R | #' @title General Interface for EMNearestMeanClassifier model
#' @description model from RSSL package
#' Semi-Supervised Nearest Mean Classifier using Expectation Maximization
#'
#' Expectation Maximization applied to the nearest mean classifier assuming Gaussian classes with a spherical covariance matrix.
#'
#' ... |
1baf24588119468cb129efcc50e3d01eb64ff04e | d355cd356683aba70b3f38b57fefcc8a145831e4 | /2.R | 47c32d7d8d5f7bb3b5b1ac7d4d70a2b727eebc0e | [] | no_license | marylt/r | b383ac189152324125ee8b785578e067ab50141c | c107b18cfac1bab62030168523aaf50d456898e4 | refs/heads/master | 2021-05-25T22:39:01.646455 | 2020-07-27T15:48:27 | 2020-07-27T15:48:27 | 253,951,002 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,086 | r | 2.R |
# 4a) 16 columns, 26217 rows
# 4b) NA = 153 , 5 = 133
table(nassCDS$injSeverity)
# 4b) 3 = 8495 , 4 = 1118 , % = 36.667%
8495+1118
9613/26217 * 100
# 4c)
table(nassCDS$dead, nassCDS$seatbelt)
prop.table(table(nassCDS$dead, nassCDS$seatbelt))
# 4d)
summary(nassCDS$yearVeh)
sd(nassCDS$yearVeh, na.rm = ... |
8575868cbe6473f7353abfdb90df1cd2be6f44c7 | c6dced112ced3307f4a1a04b7b50f6464222adc6 | /aim_1/09_prep_disease_data.R | f2b861e33d4e5b51187dbb23b41a3ce7dd3fb5e9 | [] | no_license | mar13792/uw-phi-vax | d4f93e7b6a0062016e6f82fdd1995f5e5c8a3fee | 3606068316468808a92cc78cc99aee725f819799 | refs/heads/main | 2023-09-03T08:41:55.043257 | 2021-11-16T19:26:45 | 2021-11-16T19:26:45 | 428,534,120 | 0 | 0 | null | 2021-11-16T05:53:21 | 2021-11-16T05:53:21 | null | UTF-8 | R | false | false | 3,082 | r | 09_prep_disease_data.R | # Author: Francisco Rios
# Purpose: read and prep vaccine-preventable disease trend data
# Date: Last modified October 28, 2021
####### read in vaccine-preventable disease trend data
# Read in list of files to prep
file_list <- data.table(read_excel(paste0(g_drive, "data/list_of_data_used.xlsx")))
# subset files to... |
045e51a5ce064cc3bafdbc4f9e2450b91a0959fc | 619df0d3bb72bac2098e941062a4b4a588dd7ce1 | /CODES/merge_health_camp_details.R | 57e1083d57e7fcc9bb4d261e23c545b8490df674 | [] | no_license | piyushJaiswal/Knocktober | b73b038a15e04c4bb54863b87f92e25d43f76008 | 22e3b225b12e967a81c21e4ba12a1e014260361f | refs/heads/master | 2021-01-17T18:35:53.349607 | 2016-10-23T18:53:19 | 2016-10-23T18:53:19 | 71,532,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,070 | r | merge_health_camp_details.R | library(data.table)
train = read.csv("../DERIVED/train_with_Outcome.csv")
train = data.table(train)
any(is.na(train))
summary(train)
sapply(train,class)
train[,Registration_Date:=as.Date(Registration_Date)]
#.............................
test = read.csv("../RAW/Test_D7W1juQ.csv")
test = data.table(test)
any(is.na(tes... |
e1384e6bbadfb72203af7bf154abc4838ee1e74e | aaf995963a37ba9f7028ccc40a04bc8b4fe7ad48 | /man/make.landscape.Rd | 54d01f8bc092bb2ef1aa208278ef5588db787778 | [] | no_license | sokole/MCSim | b6791d6b8b8c40e5151f2493ce13f9962ac87468 | 37b12af90323efcb6b70d41709d7fec983edb8f9 | refs/heads/master | 2022-05-09T10:07:51.856441 | 2022-03-31T18:04:37 | 2022-03-31T18:04:37 | 17,027,948 | 6 | 6 | null | 2022-03-31T16:37:14 | 2014-02-20T16:55:17 | R | UTF-8 | R | false | true | 2,562 | rd | make.landscape.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make.landscape.R
\name{make.landscape}
\alias{make.landscape}
\alias{fn.make.landscape}
\title{Make a simulation landscape}
\usage{
make.landscape(JM = 10000, m = 0.1)
make.landscape(site.coords = c(1:10), m = 0.1, JM = 10000)
}
\arguments{
\... |
37b499357021cf2aeb7d0623ec3ead736ee1bac4 | d579f5507787282628c6427cd2377af3eb4021db | /R/FPS_imputation.R | e383cdf5bfe3c970190ef2b24d44a171936b98a4 | [
"MIT"
] | permissive | mscsep/SAM_FGT | d3c8d2790018705e81606dab62711f5af3566f6d | 865ecec9161c1f72774ae7f3ebd402e77a90020d | refs/heads/main | 2023-04-28T14:24:00.405788 | 2021-05-12T07:38:07 | 2021-05-12T07:38:07 | 366,632,177 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,333 | r | FPS_imputation.R | # Imputation Fear potentiated startle (EMG eyeblink) data from the Fear Generalization Task (FGT) in the SAM study
# Written by Rosalie Gorter & Milou Sep.
# NOTE: The function "Impute_FGT_EMG_SAM" is used twice in this script:
# 1) to impute individual trials (set sorttype to 'trials').
# - Note: trials will be... |
444c11b2c99c942ebbdc9e2174788bb83a0cbddb | f761c920dab7459abe3bbcf03224e2da8964e76e | /man/get_ondridf_column_names_by_CATEGORICAL.Rd | 3801a430abaa5d89163fb9f6b6ec0d9123875649 | [] | no_license | ondri-nibs/ONDRIdf | 92b6f9ad49f57546a1ddc2e57e7b559361eaae83 | 508077263ffb1592cc7bb85f4e6e9d15d5640628 | refs/heads/main | 2023-03-25T05:32:30.212498 | 2021-03-12T04:06:32 | 2021-03-12T04:06:32 | 341,672,213 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 396 | rd | get_ondridf_column_names_by_CATEGORICAL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{get_ondridf_column_names_by_CATEGORICAL}
\alias{get_ondridf_column_names_by_CATEGORICAL}
\title{Get columns names by CATEGORICAL}
\usage{
get_ondridf_column_names_by_CATEGORICAL(ondridf)
}
\arguments{
\item{ondridf}{the ONDRI_df... |
c5e30fb85bcb1145aab0bcad9d2ed74de72a8561 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/smog/man/plot.cv.cglasso.Rd | 867cd2496dfc94221561028aa0f5473791d4801c | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,318 | rd | plot.cv.cglasso.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cv_cglasso.R
\name{plot.cv.cglasso}
\alias{plot.cv.cglasso}
\title{plot method for objects of \code{cv.cglasso} class}
\usage{
\method{plot}{cv.cglasso}(x, ...)
}
\arguments{
\item{x}{An fitted object in "cv.cglasso" class.}
\item{...}{Other... |
befb5946639f9ffa33fd80b5e48aefef68a84798 | e14f7957195af2cadbf9b5102b9dfc7b62251cf5 | /peakAnalyzer/ChIPseqPipeline/peakOverlap/plotVenn2C.r | 33e2e9759d73b78797405db4b60bba3890436d82 | [] | no_license | zzz2010/basespace-ui | f8fcfe830de93f5ce31bf3d774a8c881a0048e80 | 663bb7607354465960fc8d1335275b5c7002a04d | refs/heads/master | 2021-01-10T20:26:26.757006 | 2014-03-18T02:50:12 | 2014-03-18T02:50:12 | 32,113,315 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,629 | r | plotVenn2C.r | venn.overlap <- function(r, a, b, target = 0)
{
#
# calculate the overlap area for circles of radius a and b
# with centers separated by r
# target is included for the root finding code
#
pi = acos(-1)
if(r >= a + b) {
return( - target)
}
if(r < a - b) {
return(pi * b * b - target)
}
if(r < b - a) {
return... |
64cc41c1bf7579adf039e434c4fd983081e0afbb | 12676471ec4e7015048e854817b3c253828df917 | /lab_07/lab_07_before.R | e40b6c0a7dbaf71bfd8c589442410f955289534a | [] | no_license | bdemeshev/coursera_metrics | 9768a61e31e7d1b60edce9dde8e52f47bbd31060 | a689b1a2eed26816b2c5e4fd795136d5f9d1bb4f | refs/heads/master | 2021-11-01T14:15:56.877876 | 2021-10-24T13:16:59 | 2021-10-24T13:16:59 | 23,589,734 | 19 | 58 | null | 2021-07-25T10:51:56 | 2014-09-02T18:07:06 | HTML | UTF-8 | R | false | false | 1,213 | r | lab_07_before.R | # Esli russkie bukvi prevratilitis v krakozyabry, to File - Reopen with
# encoding... - UTF-8 - Set as default - OK
# lab 07
# подключаем пакеты
library(mfx) # расчет предельных эффектов
library(vcd) # графики для качественных данных
library(reshape2) # манипуляции с данными
library(skimr) # описательные статистик... |
d9fd44ea8b5374e72dfcd138839c552c6906e4bb | a15b588f0417c4c3660abeec016ee0a4e076144b | /man/calculate.Rd | 5f2a94c1e0b27f5e6bbac62df9f6f888634c0da7 | [] | no_license | Hornet47/RProjektEWS | e062dabe9be7f369b6fa143d6b4f95611eb592f1 | ec6fc056bc6b3c76a84656f7624851f6e49f8c7c | refs/heads/main | 2023-03-04T12:29:22.298921 | 2023-02-15T07:34:31 | 2023-02-15T07:34:31 | 337,612,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 617 | rd | calculate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculate.R
\name{calculate}
\alias{calculate}
\title{Berechne die numerische Zusammenfassung}
\usage{
calculate(data = getFromAPI())
}
\arguments{
\item{data}{die Daten, auf den die Berechnung basiert.}
}
\value{
ein tibble von der numerisch... |
ca28e7dbcd264901932488e1f39f93cbfe9d74b0 | 8391972afa0eb226c18f9dd0c3f594798107da2f | /plot2.R | 51ee84de63e5734981ad82d2d9dbca93349df90f | [] | no_license | maelfosso/ExData_Plotting1 | b20e03ab2cc9a5c78aec7c508f5967722d452169 | 2657f18191d454032210326992c46d7e364b68b0 | refs/heads/master | 2021-01-15T10:36:52.530651 | 2014-10-14T14:01:18 | 2014-10-14T14:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 650 | r | plot2.R | # Read data
hpc <- read.table("household_power_consumption.txt", header = T, sep = ';', na.strings = '?')
# Convert date column as a date
hpc$Date <- as.Date(hpc$Date, format = "%d/%m/%Y")
# Convert time column as a time
hpc$Time <- strptime(paste(hpc$Date, hpc$Time), format = "%Y-%m-%d %H:%M:%S")
# Subset the data
shp... |
5e9479443718c0cf9657b27b7f8ad2aa8d4fbca9 | fe612f81a3118bf3ebef644bae3281bd1c156442 | /man/h2o.cross_validation_holdout_predictions.Rd | 5b9777aa9bd0765449311a5e2529317a62338673 | [] | no_license | cran/h2o | da1ba0dff5708b7490b4e97552614815f8d0d95e | c54f9b40693ae75577357075bb88f6f1f45c59be | refs/heads/master | 2023-08-18T18:28:26.236789 | 2023-08-09T05:00:02 | 2023-08-09T06:32:17 | 20,941,952 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,108 | rd | h2o.cross_validation_holdout_predictions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/models.R
\name{h2o.cross_validation_holdout_predictions}
\alias{h2o.cross_validation_holdout_predictions}
\title{Retrieve the cross-validation holdout predictions}
\usage{
h2o.cross_validation_holdout_predictions(object)
}
\arguments{
\item{o... |
2ed597a702eb996dd0b13627f308c29d2b949f70 | b80f3c28e96b28ef04f2f31381e01c789443a882 | /afl_read.R | ce9f224581176bf340d1ba8c3adb3690b121e253 | [] | no_license | BFTimClarke/AFL_modelV2 | 7ccd52348f93039637c9ac1cff229c9fd17a4e85 | f0e1de38e500598bb8f91e867a24f24cec7ab256 | refs/heads/master | 2020-05-28T08:21:57.453558 | 2019-05-28T02:09:05 | 2019-05-28T02:09:05 | 188,936,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 246 | r | afl_read.R | #IMPORT CSV FILES TO R
library(BradleyTerryScalable)
afl_odds=read.csv("afl_odds.csv")
afl_footywire_data=read.csv("afl_footywire_data.csv")
afl_results_data=read.csv("afl_results_data.csv")
afl_tables_data=read.csv("afl_tables_data.csv") |
fdae123064a20d903f0d5af0d9b0487ad298c996 | 3f2ba0b5c2a72d90246dff3005ad9c3049123550 | /R/mftools.R | 4144719af29c08667018e1ab595564399ac356cc | [] | no_license | asgr/mftools | 7ee52f62c74959eb59fc35b61ae92257ab98a3f3 | 0db4226539ee6b299497cd5ff53e4814476205e9 | refs/heads/master | 2021-01-21T18:11:02.794420 | 2017-05-22T06:52:21 | 2017-05-22T06:52:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 527 | r | mftools.R | #' Fitting mass and luminosity functions
#'
#' \pkg{mftools} optimally fits galaxy mass functions (MFs) to a set of astronomical data points with/without measurement uncertainties. No binning of the data is used in the fitting. The package can also be used to fit related functions such as halo MFs and luminosity functi... |
500645d48d1d23b1be863b47fddf38a012eb37d7 | f33558b6920844e4fe2ebf561cd36cb2bd95ecde | /InterfaceWeb/src/1nn.R | 7b51d9e3afb221707bf601a4d378a991dfc74103 | [] | no_license | rouillal/classificationImage | 006bd336caba26f2cec7ddfc582235e7dcf58d5a | fe88bae6ac36c78e1475ff31a8e7d72e713a341d | refs/heads/master | 2021-03-13T04:08:58.228159 | 2017-03-09T15:26:21 | 2017-03-09T15:26:21 | 84,456,033 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 978 | r | 1nn.R | #!/usr/bin/R
# ${1} feature vectors file on which the centroids are computed (ideally subset of ${5})
# ${2} codebook size
# ${3} directoy where we want to save the results
# ${4} number max of iteration for clustering
# ${5} feature vectors file of the whole corpus on which the mapping is applied
# R --slave --no-sa... |
2fbd3386a4ea8ad4b2520c3215bfdaa2cf2bb7aa | ebee9629abd81143610a6352288ceb2296d111ac | /man/pcf_anisotropic.Rd | 0e794cd22ccacfbcb4fcd7644e010f233b791f9c | [] | no_license | antiphon/Kdirectional | 76de70805b4537a5aff0636486eb387cb64069b0 | 98ab63c3491f1497d6fae8b7b096ddd58afc4b29 | refs/heads/master | 2023-02-26T02:19:41.235132 | 2023-02-12T13:07:11 | 2023-02-12T13:07:11 | 37,183,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,386 | rd | pcf_anisotropic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pcf_anisotropic.R
\name{pcf_anisotropic}
\alias{pcf_anisotropic}
\title{Anisotropic pair correlation function}
\usage{
pcf_anisotropic(
x,
r,
u,
h,
stoyan = 0.15,
lambda,
lambda_h,
renormalise = TRUE,
border = 1,
divisor =... |
538a490c69630abba69d7f1ebd9cc5a32a5014ce | 6dfd9fdc04641ec8e8fa931d88c32ac4d543d587 | /Clustering/Clustering_25_01.R | 81a08a4b94732a21b8856250893c3e80f2ef4f8a | [] | no_license | remyJardillier/seminaire_ECP | ff961b2a40c2fa3f14a42e1d903ff363ae5d019b | d93c978e3a5af37f216da61aaf910174340530e1 | refs/heads/master | 2021-01-13T14:55:52.497751 | 2017-03-22T21:30:00 | 2017-03-22T21:30:00 | 79,353,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,849 | r | Clustering_25_01.R | setwd("/Users/lucieraguet/Documents/R/Seminaire_ECP/Fiches_Sinistres")
# library importations
library(tm) # Framework for text mining.
library(RColorBrewer) # Generate palette of colours for plots.
library(qdapDictionaries)
library(qdap) # Quantitative discourse analysis of transcripts.
library(dplyr) # Data wran... |
575fc39bc3496cac7b28f00745664a585530087f | f3478cb86d8167f4f098a8b0ca253e53625e7db8 | /Age_distribution.R | 56868900079255259fda02fb610532abc195a8b3 | [
"BSD-3-Clause"
] | permissive | jutzca/Corona-Virus-Meta-Analysis-2020 | 65de503df6ded85bdde297094d205bb873a555f1 | e8a44f354b0aa81bf42c12dfc95e4cd50fa21b29 | refs/heads/master | 2023-02-25T22:21:11.282292 | 2021-01-27T20:26:23 | 2021-01-27T20:26:23 | 250,991,019 | 2 | 0 | null | 2020-11-03T16:39:49 | 2020-03-29T08:59:15 | R | UTF-8 | R | false | false | 18,834 | r | Age_distribution.R | #--------------------Forrest Plot for Age Groups------------------------------------------------------------------------------------------------------
#Clear working space
rm(list=ls())
#Install libraries if required
if(!require(ggplot2)) install.packages("ggplot2")
if(!require(plyr)) install.packages("plyr")
if(!requ... |
ca14ff718669705fa22da94fee41a124eaa5c6a3 | be7adf829c6ed5b24e5218f390178bab81a2d72b | /CollectMergeWeather/FinalProjectWeatherData.R | 5a99109add2b1c58fcc596317e204750373fac34 | [] | no_license | OutlawSapper/ANLY512_FinalProjectSubmit | a08facffdfc63781935927f53e6cb90bc9b361c3 | df43d5d7681f91d0c3d15713251c7365878ed166 | refs/heads/master | 2022-05-22T00:29:13.997535 | 2020-04-30T17:54:25 | 2020-04-30T17:54:25 | 258,589,679 | 0 | 1 | null | 2020-04-24T23:14:36 | 2020-04-24T18:19:04 | HTML | UTF-8 | R | false | false | 3,199 | r | FinalProjectWeatherData.R | # Load all the necessary packages
library(urltools)
library(httr)
library(tidyverse)
library(tidyr)
library(chron)
# COLLECT WEATHER DATA
# Define the query path to the weather API
#query_path <- 'https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata/history?aggregateHours=1&startDateTi... |
3c57116d793fd868248dd014fb8e17bd11911d12 | 44ecda341c627537356e097624724ab6eb35c437 | /benchmark_3.R | 063d8d87c7cfdd4083128de5171c0f6fbf8deb09 | [] | no_license | dylansun/Ali_recommend_2015 | 9661e3c731908786c90d0a4145c1aebb61c2d07c | aebb15c547607eebbc7c4523bd737120244d7f0d | refs/heads/master | 2020-04-06T07:00:32.990485 | 2015-04-07T06:14:41 | 2015-04-07T06:14:41 | 33,399,394 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,501 | r | benchmark_3.R | ## benchmark
##
train.user <- read.csv("data/tianchi_mobile_recommend_train_user.csv")
data.12.18 <- subset(train.user, substr(train.user$time,1,10) == "2014-12-18" )
data.12.18.add <- subset(data.12.18, data.12.18$behavior_type == 3)
data.12.18.buy <- subset(data.12.18, data.12.18$behavior_type == 4)
user.item.add... |
9d7361d4aaa885fcc13f2c99f10ca5760245dab7 | 5c63ee58040fc970fc4eb88d2022d5cc9b53f8e9 | /man/guitar_plot.Rd | c72b62244834ea833bad374531c235551b11447d | [] | no_license | ZW-xjtlu/exomePeak2Test | 566f3ee92fe209b816512fc630063a9479321ccf | 57aef76b7ea004bda8ed5603d8e061c2ecf49fd2 | refs/heads/master | 2020-03-23T22:08:34.786207 | 2020-01-05T12:54:17 | 2020-01-05T12:54:17 | 142,155,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 266 | rd | guitar_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guitar_plot.R
\name{guitar_plot}
\alias{guitar_plot}
\title{Produce code for guitar plot}
\usage{
guitar_plot(pkc_rds_file, front_name, ...)
}
\description{
Produce code for guitar plot
}
|
f80de60a21432cce342ac3f3eacb01a4bc55944a | 62ec89b6d425b18ff1ff5be2b9649785282d7865 | /inst/snippets/Example8.3.R | 33f2b1bcc8c01734fa7c5aff4afbf90dea7ebede | [] | no_license | klaassenj/Lock5withR | 8cf9bab45ba1d87db77713b8c9b6826b663363c3 | f2773d9f828b72882ed1c4d6b3b2e539a3b3b24a | refs/heads/master | 2023-08-02T15:20:09.975771 | 2018-03-14T22:48:09 | 2018-03-14T22:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 74 | r | Example8.3.R | Ants.Model <- lm (Ants ~ Filling, data = SandwichAnts)
anova(Ants.Model)
|
7efe15ae2f19ecbe37c52b95d97087851b61765a | f21f68f0e73f76e509c4332831a08b53430d03dd | /rsrc/modalSurface.R | 01210f9429afaaf9d2e614f5a36a3b372327ca86 | [
"MIT"
] | permissive | joelfiddes/topoMAPP | 7949967d2031f6ee8e90a9fbf577e2ac3c177a1d | 1a4747034ecc56277f8b3313150e1db188f26d47 | refs/heads/master | 2021-07-12T11:34:31.904518 | 2019-02-07T15:46:06 | 2019-02-07T15:46:06 | 104,479,339 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 920 | r | modalSurface.R | #====================================================================
# SETUP
#====================================================================
#INFO
#DEPENDENCY
require(raster)
#====================================================================
# PARAMETERS/ARGS
#===============================================... |
472fb51a1c0df4593124a1f629a5c9f976bd5fb9 | 2ede3a798b6f535fc131ae294f9fd01a7210f175 | /Day_4.R | 375f727002263d68314d29ef2ca10ef4e12dfa4a | [] | no_license | jessecolephillips/BioStats_2021 | e41251ed92ea486ecd03dfab880bdfe03ff2a0a1 | 96a29b58a0ac65d751bfe02983516c936c566ada | refs/heads/master | 2023-04-13T08:42:13.981867 | 2021-04-22T10:59:14 | 2021-04-22T10:59:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,476 | r | Day_4.R | #BioStats 2021
#Day 4
#22/04/2021
#Jesse Phillips
#Packages
library(ggplot2)
library(tidyr)
library(rcompanion)
# Confidence Intervals ----------------------------------------------------
# Calculatin confidence: Bootstrapping
Input <- ("
Student Sex Teacher Steps Rating
a female Jacob 8000 7
b ... |
3a8e16b7794f52e0cf8815cca5e121b5d1622512 | ab25a481816f258a9ae1cc5e6484fc020acae0bc | /man/loadAffyLibraries.Rd | 1edcb0441500edb7b0f4cf3f916270971dbecfc4 | [
"BSD-2-Clause-Views"
] | permissive | coreymhudson/AffyDistance | aad5ed9191c337a74dd471b7e9e183e800d3c62f | a3a0acf14348495641993664a4e68eb927d8c6bb | refs/heads/master | 2021-01-18T22:48:44.915222 | 2016-06-07T21:42:25 | 2016-06-07T21:42:25 | 32,289,280 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 491 | rd | loadAffyLibraries.Rd | \name{loadAffyLibraries}
\alias{loadAffyLibraries}
\title{
Function to load necessary libraries
}
\description{
Function to load all the libraries that this package needs.
}
\usage{
loadAffyLibraries()
}
\details{
Function to load all the libraries that this package needs.
}
\value{
None
}
\references{
}
\author{
Corey... |
e3480db4f20058bce91a2c8f55dfb6f2f6e86599 | 83ba9d26655808ca7c6d41177e4b51521eeb5016 | /plot3.R | f3a899346dc2e88e4e4042df9ed10a2b1567bc5e | [] | no_license | mesuarezgn/ExData_Plotting1 | 01fee4791a664d20c3b3d05e976768f51a26a5da | e763a8820fea39a06180c7c56cfd80ba8e3bfe7a | refs/heads/master | 2021-01-15T18:59:31.069073 | 2016-02-29T03:00:22 | 2016-02-29T03:00:22 | 29,084,038 | 0 | 0 | null | 2015-01-11T06:55:47 | 2015-01-11T06:55:47 | null | UTF-8 | R | false | false | 1,230 | r | plot3.R | # Loading the packages
library(data.table)
library(plyr)
# Loading the data
pdata <- fread("household_power_consumption.txt")
# Subsetting the data
pdata <- subset(pdata, Date == "1/2/2007" | Date == "2/2/2007")
# Using the date format
pdata <- mutate(pdata,
datetime = strptime(
... |
7d40b5552ad44e7a3f8acb1b97b93074b4c498d2 | d320e73415f0e4886cbc5c68cf105ef946143aa6 | /man/FCFE_Basic.Rd | fec5022e7209889e45966319b334b4733bd4fce6 | [] | no_license | JancoS/EquityR | 3858bdbd6eb139de0568ad71e0556d0b7b0ce056 | 5f64126f5cd0073c8d896749d22a635cbe17f69e | refs/heads/master | 2020-03-28T23:58:08.125190 | 2018-09-18T17:17:41 | 2018-09-18T17:17:41 | 149,318,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 543 | rd | FCFE_Basic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FCFE_Basic.R
\name{FCFE_Basic}
\alias{FCFE_Basic}
\title{FCFE_Basic}
\usage{
FCFE_Basic(Ticker, Req, year, growth_rate)
}
\arguments{
\item{Ticker}{Ticker of the company to be evaluated}
\item{Req}{Required rate of return}
\item{year}{Year ... |
bcc79996fc0f47888647a9c6a8897ceefbf1953b | 6b85f742f818f07b1dd383dc448c41ced550bbab | /R/Combined_Model/fr_fit.R | bf1579848a47f3a0d066178e14d40353de3a2ca6 | [] | no_license | cmhoove14/Prawn_fisheries_Public_health | 3048489116fa9d0ef3e7f9d4add731d288aa1aff | 075ad4d66d339acdb27f8c1ef3139cfd8626e3f2 | refs/heads/master | 2020-05-21T04:23:12.401490 | 2019-04-28T17:47:05 | 2019-04-28T17:47:05 | 61,903,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,788 | r | fr_fit.R | ## Fitting alpha and Th functions based on data from Sokolow et al. 2014
#Attack rate model
a_points = read.csv("Data/a_points.csv", header = FALSE)
x = c(0:500)
plot(a_points[,1], a_points[,2], xlab = "Prawn-to-snail biomass ratio", ylab = "Attack rate", pch = 16,
xlim = c(0,500))
#logarithmic function
a_mode... |
bd0e386d6435c3a44faadc5012d1d57012a603ca | e161195a09e161f978e8610a345bd8320806a692 | /R/loglikihgcov.R | 829c71dda38304f7b0c1b79a9e50d4711943c945 | [] | no_license | cran/CUB | 835be9f64528f974025d8daaff7cc1f99f2eae1a | 7c47f960512aa90db261ba9ed41006a191440c1a | refs/heads/master | 2020-04-06T21:07:58.688216 | 2020-03-31T14:30:19 | 2020-03-31T14:30:19 | 48,078,715 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 791 | r | loglikihgcov.R | #' @title Log-likelihood function for the IHG model with covariates
#' @aliases loglikihgcov
#' @description Compute the log-likelihood function for the IHG model
#' with covariates to explain the preference parameter.
#' @usage loglikihgcov(m, ordinal, U, nu)
#' @keywords internal
#' @seealso loglikIHG
#' @param m Nu... |
ac39a4f030ed12c7cf5e72895c2ce3488a634648 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/coefplot/examples/extract.coef.glm.Rd.R | fd81c5d479830d8dd9fa5db3b35c7ba31529f2b6 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 336 | r | extract.coef.glm.Rd.R | library(coefplot)
### Name: extract.coef.glm
### Title: extract.coef.glm
### Aliases: extract.coef.glm
### ** Examples
## Not run:
##D require(ggplot2)
##D data(diamonds)
##D library(coefplot)
##D mod2 <- glm(price > 10000 ~ carat + cut + x, data=diamonds, family=binomial(link="logit"))
##D extract.coef(mod2)
## E... |
c5efe00081206b7f47f28ae894e23e1bacbc445d | 94f13e24d28c676532080db7e06617525ce18cf1 | /read_files.R | 3f88be23630a59216797c5f679812035edf0c3b7 | [] | no_license | Kita2015/basic-scripts | f0e19b5b99dd3d4757216e5353e29f5def81a400 | 9f79e78c3d42b2e975d4e0ee6f727ba63895ad77 | refs/heads/master | 2020-03-07T18:44:05.548142 | 2018-04-01T18:07:30 | 2018-04-01T18:07:30 | 127,650,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 641 | r | read_files.R | #read file from Dutch Excel
as10_ds06 <- read.csv2("\\\\alt.rivm.nl/users/home/blokhuic/Documents/Data-analyse_airsenseur/Data/as10_fixed_copy/DataSet_000006.csv_fixed.txt", sep = ";", dec = ",", header=FALSE, stringsAsFactors = FALSE, quote="")
#assign names to columns raw data
colnames(as10_ds06) <- c("Unixdate","Se... |
0c2be12bdb147bff31b97c38408cbf10e38e2c6d | b60483cd3af69ebcb1a07dcee6486644896ca327 | /R/scores.R | 80a4a893eaa6296e145bfe638aab12fe6132388d | [] | no_license | cran/EMJumpDiffusion | 98e85ff7b06d6ae67c88598693373a7237ea5c67 | 418e3b59dd91070d2fe07e25dc765bc2daab7e41 | refs/heads/master | 2020-12-25T19:26:24.285948 | 2009-05-05T00:00:00 | 2009-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 494 | r | scores.R | `scores` <-
function(org, calc)
{
hit<-0
miss<-0
total<-0
toomuch<-0
T<-length(org)
for (t in 2:(T-1))
{
if(org[t]==1)
{
total<-total+1
if(calc[t]==1)
{
hit<-hit+1
}
else
{
miss<-miss+1
}
}
else
{
if(calc[t]==1)
{
toomuch<-toomuch+1
}
}
}
cat("Comparison of original jumps with estimated j... |
e282b70f191b0679d4dacf8060ef39485beffba8 | 9491ed950b0d8d8774d49e1865652c7267ea885a | /R/vis.r | 1cb55e42773a51b6b2d1affb6a4c116811560ef8 | [] | no_license | vlpb3/faradr | 722a294359bee23722117bb1e89feab1fc9e30e0 | 1bde734c6c6211ddf68bdc58318b57d3091112bb | refs/heads/master | 2021-01-20T10:54:25.687362 | 2016-08-16T13:06:42 | 2016-08-16T13:06:42 | 18,512,476 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,335 | r | vis.r | #' Plot aligned reads over annotated region.
#' @param aln read alignments in GAlignments objet (GenomicTRanges)
#' @param annots genome annotations in GRanges object
#' @param plotfile path for output plot
#' @importFrom ggbio autoplot tracks
#' @importFrom ggplot2 aes
#' @export
PlotAlignAnnot <- function(aln, annots... |
b0a6ca47f33aedfd2f849fe1e816e4986033733c | 202e50539b75772f097e2df774bba7357724f233 | /Tarea_D/Tarea_D.R | 42d90b407c647079425cf43ac44a431531447a53 | [] | no_license | MickAmest/Tareas-BioinfRepro2020_MickAmest | 31dca19befdf4a0cdbf0159e879e6066b0fe1e68 | 66981c093e53c5171c132c56f2d38259a3524d86 | refs/heads/master | 2020-12-14T15:39:41.231361 | 2020-06-04T19:57:14 | 2020-06-04T19:57:14 | 234,791,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | Tarea_D.R | ### Tarea D. Script to plot iris data on separete boxes.
### Miguel Amaro, Mar 2020
library(ggplot2)
## See data
head(iris)
## Plot
ggplot(data=iris, aes(x= Sepal.Length, y=Sepal.Width)) +
geom_point(aes(color=Species)) +
facet_grid(cols = vars(Species)) + ## Vertical panels, by species.
labs(x="Largo del sépalo"... |
0d17d50fbacdb375ff0daa238d63dc592aad86f4 | 914f3d50eb45e209b7fa64c753dbb7ce162360a0 | /99_ect/using_github_source_code.R | b1282a988d631b290bd4b5b6546e4fbf9b6deff2 | [] | no_license | snapbuy/R_edu | afbbe86670f28ee6a5fb421b52797a4d2c7f4f54 | 39080dc55f48503778ae27e0890e89d9daf12788 | refs/heads/master | 2023-08-17T15:50:27.921589 | 2021-09-15T16:19:16 | 2021-09-15T16:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | using_github_source_code.R | source_from_github = function(url){
library("RCurl")
url = gsub(pattern = "//github", replacement = "//raw.githubusercontent", x = url)
url = gsub(pattern = "/blob/", replacement = "/", x = url)
script = getURL(url, ssl.verifypeer = FALSE)
eval(parse(text = script))
}
url_mine = "https://github.com/encaion... |
0cb88c6aadaac9620efd29934d91ba0fde925176 | f48e25ade098aef7aa6f9fde4927bbf2b2092d14 | /man/dasl.tuition_all_schools_2016.Rd | fb4f8cb937018c7dbb1e9b799fb7b345216c9bbd | [] | no_license | sigbertklinke/mmstat.data | 23fa7000d5a3f776daec8b96e54010d85515dc7d | 90f698e09b4aac87329b0254db28d835014c5ecb | refs/heads/master | 2020-08-18T04:29:05.613265 | 2019-10-17T11:44:57 | 2019-10-17T11:44:57 | 215,747,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 659 | rd | dasl.tuition_all_schools_2016.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dasl.R
\docType{data}
\name{dasl.tuition_all_schools_2016}
\alias{dasl.tuition_all_schools_2016}
\title{Tuition All Schools 2016}
\format{7703 observations}
\source{
DASL – The Data And Story Library: \href{https://dasl.datadescription.com/da... |
5b0f2f4d7ebab613bbe66a1d9dd879f764946621 | 2a674de39135d3111a2df016884039cdf4b485d9 | /plot3.R | 52456f21fee7f819f177471270b56e4634fdf4e2 | [] | no_license | gahpeng/ExData_Plotting1 | a0baebfb0b7801d8c8058fbbe7637ff2af0622e1 | 53a4c59447c5ff3718d3a78bc8c94b672fead4ac | refs/heads/master | 2021-01-15T17:07:28.811666 | 2015-08-07T17:39:30 | 2015-08-07T17:39:30 | 40,346,191 | 0 | 0 | null | 2015-08-07T07:02:04 | 2015-08-07T07:02:04 | null | UTF-8 | R | false | false | 1,144 | r | plot3.R |
setwd("C:/gahpeng/coursera/04_Exploratory Data Analysis/Course Project 1")
#load data to R
datafilename <- "./household_power_consumption.txt"
data <- read.table(datafilename, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
#using data from the dates 2007-02-01 and 2007-02-02
data$newdate<-strptime(data$Date,... |
687ea95eb21c65bf9043f96baa5c56bde48dabc5 | 08546210198bfcf0a3b4c2718113e94c3cc6c3c3 | /traits/R/OldCode/CN Leaves.R | d381e1d7bf0f326b5a84e1d6986a081eb50b591a | [] | no_license | chencaf/PFTC_1_2_China | bdbbccd9b588abf8f395cf362e0faa5a0d431570 | 1a0002bfb3f324c6c4c998bacbe535ffa647c5f0 | refs/heads/master | 2022-10-15T13:28:14.921764 | 2020-06-09T07:44:59 | 2020-06-09T07:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 376 | r | CN Leaves.R | library(readxl)
CNLeafs <- leafarea2015 <- read_csv(file = "CNAnalysis.csv")
Annjeanette <- read_excel(path = "ChinaLeafTraitData_senttogroup.xlsx")
Annjeanette <- Annjeanette %>%
select(Full_Envelope_Name, `stoich vial label`)
ddd <- CNLeafs %>%
left_join(Annjeanette, by = c("Full_Envelope_Name")) %>%
sort(... |
2a4eed0e970ed753d9b6f18aa1ab8f01e0d28c5e | 2ef5781f16b0aa68471519dfc26a2491b5a574dc | /Sentiment analysis_AFINN.R | b77ac3e1f77420a3888710dc177c9bbe0720e212 | [] | no_license | bhavanaramesh/Text-Analytics-on-tweets | 88f04949ce2c006d1d7f9ab93b567f76506c6243 | 380b5caefc11f14a852fd3b936d1d7e433479ea9 | refs/heads/master | 2020-06-12T02:40:03.436517 | 2019-06-27T23:02:01 | 2019-06-27T23:02:01 | 194,171,030 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | r | Sentiment analysis_AFINN.R | library(tidyverse)
library(tidytext)
library(glue)
library(stringr)
library(tm)
filepath <- scan("Sentiment_Analysis_corpusdata.csv", what= "character", sep=NULL)
docs <- Corpus(VectorSource(filepath))
inspect(docs)
fileName <- trimws(docs)
tokens <- data_frame(text = fileName) %>% unnest_tokens(word, text) %>% anti_j... |
1a1b141f4b8d17bee44dfc73fdb85baae61f0f02 | 1e620d83967acb48dfba21436d88bf4697904ba0 | /scripts/05-integr_singlecell_cbps.R | 960c13550cc1429beb0f18f4e5a59f6582dbd71f | [
"MIT"
] | permissive | umr1283/LGA_HSPC_PAPER | e6c32af5fd7303dd93b802b7a2d04704d421b305 | 5ff879dc64d555452d8ee980b242a957f412b6c6 | refs/heads/main | 2023-04-17T15:57:57.025596 | 2022-07-18T15:27:35 | 2022-07-18T15:27:35 | 404,302,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,178 | r | 05-integr_singlecell_cbps.R | #integr CBPs datasets thanks to hematomap
out<-"outputs/05-integr_singlecell_cbps"
dir.create(out)
source("scripts/utils/new_utils.R")
source("../singlecell/scripts/utils/HTO_utils.R")
library(Seurat)
####QC filtering and Demultiplexing data ####
# remove low quality/outlyers cells (doublet with nGene/RNA hi/lo or pe... |
53e69363c5d3331cca83570097677fb428d90ecf | 6d6996ac49c162217dfaf177d7c403402ebc312c | /Part9_Dimensionality_Reduction/Section34_Principal_Component_Analysis_PCA/pca.R | 23941bd862e73d91de47c96677b31dfaf0181ad7 | [] | no_license | skols/machine-learning-a-to-z | 8b8c777f53a7d04ad672dd676e0527472c5c48ba | 524de4c65240f4a1ad961377d10623bf4023e1cb | refs/heads/master | 2021-07-12T16:33:51.608303 | 2017-10-15T15:57:45 | 2017-10-15T15:57:45 | 103,762,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,873 | r | pca.R | # PCA - Principal Component Analysis - Unsupervised (DV is not considered)
# Importing the dataset
setwd("C:/Development/Courses/Kirill Eremenko Data Science Courses/Machine_Learning_A-Z/Part9_Dimensionality_Reduction/Section34_Principal_Component_Analysis_PCA")
dataset <- read.csv("Wine.csv")
# Splitting the dataset... |
2fad9995b3c2fb1a52330285c6ee853791bfa6bd | e1cbbf8791b0ac6d40f6d5b397785560105441d9 | /man/add.log.axis.Rd | 888d0aa8b527caa5bc72ab0e4be59e50f8fb9341 | [] | no_license | wasquith/lmomco | 96a783dc88b67017a315e51da3326dfc8af0c831 | 8d7cc8497702536f162d7114a4b0a4ad88f72048 | refs/heads/master | 2023-09-02T07:48:53.169644 | 2023-08-30T02:40:09 | 2023-08-30T02:40:09 | 108,880,810 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,939 | rd | add.log.axis.Rd | \name{add.log.axis}
\alias{add.log.axis}
\title{Add a Polished Logarthimic Axis to a Plot}
\description{
This function provides special support for adding superior looking base-10 logarithmic axes relative to \bold{R}'s defaults, which are an embarassment. The \bold{Examples} section shows an overly elaborate version m... |
6c54be881c1971286bf99b5d3df660d2951500d1 | 10fdbe892deaceeca599af2a9f0aa93b83f44086 | /run_analysis.R | dc5d9d30f6417dafe480e5baa53a46a511438eff | [] | no_license | interzone2001/getcleandata | b6ad3b058c7d39b0671bb540c25165588853de5e | 0b33f871891dd15d97895fc270d462833013eae6 | refs/heads/master | 2021-01-20T03:22:00.499407 | 2017-04-26T21:19:49 | 2017-04-26T21:19:49 | 89,527,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,156 | r | run_analysis.R | library(tidyverse)
# Read in test files
x_test <- read.table('X_test.txt',stringsAsFactors = FALSE)
y_test <- read.table('y_test.txt',stringsAsFactors = FALSE)
# Read in training files
subject_test <- read.table('subject_test.txt',stringsAsFactors = FALSE)
x_train <- read.table('X_train.txt',stringsAsFactors = FALSE)
... |
c5f803fd766153cb3a96aae9515d0a70d68db60f | fedf6e987e8c945d8137f929d2d9fcfde85d4e5e | /man/inferGenotypeBayesian.Rd | d92a4643768a45a36e083e74f7f0ad1dfb312e3d | [] | no_license | cran/tigger | e34468f5a6642230099f46bbe1d2fd275365934b | 8b2e2afbd9069e0d4fd52e27e8b916716c71a565 | refs/heads/master | 2022-10-07T22:50:30.430691 | 2022-09-20T20:50:02 | 2022-09-20T20:50:02 | 60,682,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,328 | rd | inferGenotypeBayesian.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bayesian.R
\name{inferGenotypeBayesian}
\alias{inferGenotypeBayesian}
\title{Infer a subject-specific genotype using a Bayesian approach}
\usage{
inferGenotypeBayesian(
data,
germline_db = NA,
novel = NA,
v_call = "v_call",
seq = "s... |
8afc509a6e23c16d4250838c7f1e694aa815cfdd | 04da270e474aa91a8d4660685ec62c6388646276 | /man/fpl_get_player_all.Rd | 5323977608456eee5b465459d17c24dfa51166bf | [] | no_license | maskegger/fplr | e4a6a2fa296fbda4dbcb6dbe301d7eb3053fde69 | a78418630fd60707ad04794aea48ee5cf3a47d5f | refs/heads/master | 2022-04-17T21:05:46.504678 | 2020-04-13T14:18:56 | 2020-04-13T14:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 446 | rd | fpl_get_player_all.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/players.R
\name{fpl_get_player_all}
\alias{fpl_get_player_all}
\title{Get data on all players}
\usage{
fpl_get_player_all()
}
\value{
a tibble
}
\description{
Retrieve player data for the current FPL season, obtained via the
\href{https://fan... |
f775ffbc5373d11cc387ba172da7cf5c906d7cbe | 19667baea785a5181c29daaea9799435107e91c3 | /data/r/dfd846852499df6dcf35d9db1273408d_forecastTBATS.R | 386dc2efdc2b81e0a958d49fb7e0f123c5e066a5 | [
"Apache-2.0"
] | permissive | maxim5/code-inspector | d71f024390fe5a5f7c1144b289e0e22b59dbb2c7 | 14812dfbc7bac1d76c4d9e5be2cdf83fc1c391a1 | refs/heads/master | 2021-09-10T19:23:39.324768 | 2018-03-31T17:17:27 | 2018-03-31T17:17:27 | 115,271,942 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,066 | r | dfd846852499df6dcf35d9db1273408d_forecastTBATS.R | #' @rdname forecast.bats
#' @export
forecast.tbats <- function(object, h, level=c(80, 95), fan=FALSE, biasadj=NULL, ...) {
# Check if forecast.tbats called incorrectly
if (identical(class(object), "bats")) {
return(forecast.bats(object, h, level, fan, biasadj, ...))
}
# Set up the variables
if (any(class... |
a9c7e4190b5d3cd7be055889912b7e0e89ef1fd2 | 82fee0c3a5fc6467717f8145012c770eeaa5ac24 | /Labs/Lab04/BARFIELD_Lab04.R | 804ad380b2a6159b731e045421ccdca647061ab3 | [] | no_license | amybarfield/CompBioLabsAndHomework | 5adf59ee6d645ba63ec529744259eb0f535fa9e9 | 013ea1464bb3ed843ef2cac56272b60788905964 | refs/heads/master | 2020-04-18T15:04:22.673070 | 2019-05-04T04:19:45 | 2019-05-04T04:19:45 | 167,604,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,525 | r | BARFIELD_Lab04.R | ##Part I##
#Step 1
#Write "for loop" that prints hi 10x
for (i in seq(1,10) ) {
print("hi")
}
#Step 2
#Write "for loop" to determine how much money Tim will have in 8 weeks
cash <- 10 #Tim's starting money
allowance <- 5 #amount of money Tim gets weekly
gum <- 2*1.34 #cost of 2 packs of gum
time <- (1:8) #weeks
f... |
c894cf8dfbe941237b01a4f96da5eebee9fe151d | 209b83dc4e85f63caa7a714ffc6a61948a9a0c05 | /tests/testthat/testmanyttestsIS.R | d76f79d1d496c9d3f44a6c2ffec3f423bcb839a6 | [] | no_license | MAgojam/manytee | 96e67e8a39e259f83f303f08fa68c4f42d48c8ef | 201e06944813ccf9bf5f0475e10580a970529760 | refs/heads/master | 2022-10-15T10:02:51.995261 | 2020-06-10T22:13:08 | 2020-06-10T22:13:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,901 | r | testmanyttestsIS.R |
context('manyttestsIS')
test_that('manyttestsIS sunny works', {
set.seed(1337)
N <- 100
df <- data.frame(
y = rnorm(N),
x1 = sample(LETTERS[1:2], size = N, replace = TRUE),
x2 = sample(letters[1:3], size = N, replace = TRUE)
)
result <- manyttestsIS(df, vars(... |
d05f3c6faf4489e067c52e2dd9fa9766cb3b910c | f4f8dcc179c9516dab48bbbb7455a75f2e7c08e7 | /resources/analytics/Portuguese/ui.R | 0fedfc9fda4f7974aad0c1a325ac79262e880a0d | [
"MIT"
] | permissive | manuelvarzen/danielmarcelino.github.io | 7f755e2bc872d421ceb15f85cc38b18b98ae2291 | 35def12cf9ceee46315a994bb4c265bcd1cc6bbc | refs/heads/master | 2020-03-07T12:53:00.023144 | 2017-11-12T17:14:53 | 2017-11-12T17:14:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,159 | r | ui.R | # Example borrowed from jcheng5 @ github
library(shiny)
library(ggplot2)
dataset <- diamonds
shinyUI(pageWithSidebar(
# Title appearing at the top of the page
headerPanel("Diamonds Explorer"),
# The sidebarPanel specifies the options presented to the user.
# Inputs come in various forms. In this ... |
7701a2c3b7a5052b468a4152d7ef733a165094a1 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /mlr3proba/man/mlr_pipeops_trafotask_survregr.Rd | 124915a14c2b050d2f6e9e07d871e13d219b3ecf | [] | 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 | true | 8,446 | rd | mlr_pipeops_trafotask_survregr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PipeOpTaskSurvRegr.R
\name{mlr_pipeops_trafotask_survregr}
\alias{mlr_pipeops_trafotask_survregr}
\alias{PipeOpTaskSurvRegr}
\title{PipeOpTaskSurvRegr}
\description{
Transform \link{TaskSurv} to \link[mlr3:TaskRegr]{TaskRegr}.
}
\section{Inpu... |
54b5bd4e3fff9f8c5f62c45d6fd3cdfdb41a7375 | 287ba6b30c4c8bff1e28160ab6168f703d3d3ee9 | /plot4.R | c711ab31125b3e62bb2cb813e839215a6162894a | [] | no_license | tmawyin/ExData_Plotting1 | a7d0a8d56908152658962a10988e96224faf54af | 056cf0a6f058bf4ab025c80e330d1410449190f4 | refs/heads/master | 2020-12-25T13:23:51.548497 | 2015-08-05T02:49:07 | 2015-08-05T02:49:07 | 40,220,872 | 0 | 0 | null | 2015-08-05T02:45:47 | 2015-08-05T02:45:47 | null | UTF-8 | R | false | false | 1,358 | r | plot4.R | ## Exploratory Data Analysis
## Project 1 - Figure 4
## by Tomas Mawyin
## This generates 4 subplots to show different results
## Loading the file
source("load.file.R")
df <- load.file()
## Setting up the subplot, we will keep the default margins
par(mfcol = c(2,2))#, mar = c(5,4.1,2,4))
## Let's generate the first... |
9a31e99a6fc1c56fe15af7d7b4fd942add5595e7 | db50861ffa9476c537645c671ce1f401eb9f3aed | /plot1.R | f974e37ca01a25244440f81b6773722dce220af6 | [] | no_license | andyras/ExData_Plotting1 | f2c923c04f2f4a48ba9bc2652db4ab42ff95ce06 | 5c81bc983ef5887b6c06fd9c8d29d90870257a08 | refs/heads/master | 2020-04-29T14:16:42.381166 | 2016-01-10T18:56:16 | 2016-01-10T18:56:16 | 49,277,583 | 0 | 0 | null | 2016-01-08T14:49:32 | 2016-01-08T14:49:31 | null | UTF-8 | R | false | false | 786 | r | plot1.R | require(sqldf)
if (!file.exists("household_power_consumption.zip")) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "household_power_consumption.zip", method = "curl")
unzip("household_power_consumption.zip")
}
if (!exists("elData")) {
elData <- read.csv.... |
b9cd233a3d61d4504603df77642b04b912d052f4 | 6afd9380dadfa5a428a8f93d44c303c147a46865 | /rplots/demo_pheatmap.R | 6dead8210787f19a3b4185f5474773f451fc7d45 | [] | no_license | 1156054203/scripts | 403535cf3e8cef3e29cac2ae1103029bde3108bf | 63541fc1b4819e792b0b8538cd3d4eb2fb39f087 | refs/heads/master | 2021-12-23T19:20:43.038437 | 2021-11-01T03:47:35 | 2021-11-01T03:47:35 | 148,399,604 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,497 | r | demo_pheatmap.R | library(pheatmap)
#library(pheatmap)
#pdf("pheatmap.pdf",width=6,height=15)
#png("pheatmap.png",width=480,height=480)
#pdf("pheatmap.pdf",width=6,height=15)
p <- read.table("test.xls",header=T,sep="\t")
rownames(p)=p$EnsemblGene_GeneSymbol
colnames(p)=head(p,1)
p <- p[,-1]
p_matrix <- as.matr... |
dbdfaac842c2f2c674566aa9c007a8648df25a4d | 6da672676b4e7023db0c00978bce2588c2b18beb | /R/prefixes.R | 46925b9862d42c48dc3f4700ca88885956799eca | [] | no_license | cran/sitools | 707209bdb38c1a8545af7ac5358e1524da99efe5 | e84ffa3518b8c2befac9b2e87c2d5d00f15e3b34 | refs/heads/master | 2020-05-16T21:51:18.559142 | 2012-08-21T00:00:00 | 2012-08-21T00:00:00 | 17,699,692 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 268 | r | prefixes.R | yotta <- 1e24
zetta <- 1e21
exa <- 1e18
peta <- 1e15
tera <- 1e12
giga <- 1e9
mega <- 1e6
kilo <- 1e3
hecto <- 1e2
deca <- 1e1
deci <- 1e-1
centi <- 1e-2
milli <- 1e-3
micro <- 1e-6
nano <- 1e-9
pico <- 1e-12
femto <- 1e-15
atto <- 1e-18
zepto <- 1e-21
yocto <- 1e-24
|
ab2521aeefae0dadb8edf13c0fc69809290f2026 | 01a4035babde87ed8aa9dea267d49cbc98072d3f | /tests/testthat/test-deferred-then.R | f6058e75ca5e032fdcd83e60e0574a53240006b9 | [
"MIT"
] | permissive | behnido/async | 852770ccc9f609f5b2249b94decf878ff4e5a151 | 73309161e353d917a34b51fa5484d23f1a4ab565 | refs/heads/master | 2021-08-18T18:51:35.647183 | 2017-11-23T14:57:27 | 2017-11-23T14:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,329 | r | test-deferred-then.R |
context("deferred then")
test_that("HTTP HEAD & synchronous then", {
skip_if_offline()
do <- async(function() {
result <- await(
dx <- http_head("https://eu.httpbin.org")$
then(function(value) value$status_code)
)
expect_equal(result, 200)
expect_equal(dx$get_value(), 200)
expe... |
6cfbf5d4fd204931f4612e643104de8cdf14017a | 2975fba6bf359214c55e7d936f896a5a4be3d8f5 | /R/sim.synth.R | c5560ce989b06e6c4a946b066fa501bcda4d9b12 | [] | no_license | tagteam/riskRegression | 6bf6166f098bbdc25135f77de60122e75e54e103 | fde7de8ca8d4224d3a92dffeccf590a786b16941 | refs/heads/master | 2023-08-08T03:11:29.465567 | 2023-07-26T12:58:04 | 2023-07-26T12:58:04 | 36,596,081 | 38 | 14 | null | 2023-05-17T13:36:27 | 2015-05-31T09:22:16 | R | UTF-8 | R | false | false | 1,830 | r | sim.synth.R | ### sim.synth.R ---
#----------------------------------------------------------------------
## Author: Thomas Alexander Gerds
## Created: Jul 7 2022 (13:33)
## Version:
## Last-Updated: Jul 7 2022 (14:26)
## By: Thomas Alexander Gerds
## Update #: 9
#-------------------------------------------------... |
f5d572410e671afcd151fc73fd7d8237a5847dc2 | bddc51485e55158c0d84ba8bd6c4f0a86de115d4 | /R/func_process_aircraft2.R | 36126dbc51796d9dff8327d7b627aa9b44181465 | [] | no_license | willdrysdale/wsdmiscr | 4b74ea6d6e0999f36013d8edef55125568b94586 | 60d548c5816e18b03abd6b26ad9c6e0892e797e1 | refs/heads/master | 2023-08-27T08:13:43.162945 | 2023-08-08T12:30:56 | 2023-08-08T12:30:56 | 86,581,767 | 0 | 2 | null | 2017-05-25T10:32:06 | 2017-03-29T12:52:59 | R | UTF-8 | R | false | false | 1,253 | r | func_process_aircraft2.R | #' Process Aircraft Data2
#'
#' Reads in an AQD NOx aircraft file and runs aircraft_cal_flags, prodcuing quicklook and full outputs
#' Used on Files after flight C019
#'
#'
#' @param fn file to read
#' @param dir_out output directory
#' @param flight_id ID of flight
#'
#' @return Saves two csvs into the output dire... |
a110546fd7c593ddbb0577a3805713c0736b5c84 | b9841a1faf323c23306c4d75dbbc2b82ae48c4e8 | /Localize.r | 290bce1b0c54372d8b2e05fa847bb61d81d63c79 | [] | no_license | steventroughtonsmith/SimpleText | 4f2401b4d4960768efbd3d4fc1ccd50bf6adf88b | d389f4679bdd731c80541e1dbf4edcc9a0c0f06f | refs/heads/master | 2020-06-04T12:32:33.392136 | 2015-01-14T00:56:49 | 2015-01-14T00:56:49 | 29,219,728 | 13 | 0 | null | null | null | null | MacCentralEurope | R | false | false | 26,463 | r | Localize.r | /*
File: Localize.r
Contains: all strings for SimpleText that need to be localized.
Nothing in a .r file outside of this file should be language specific.
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc.
("Apple") in consideration of your agreement to the following ... |
97edf3079ddd2aa381ac6b68cce73082e980862b | 7ccf42893e1c4e2ac20d7e06e018e593ef77d42e | /man/bkfilter.Rd | 9d95ef4b4f529cf71d5f6d71bd1aefec7b87a0ea | [] | no_license | cran/mFilter | 56e1081ccfb23b96aae6814acdcadf1935fb6457 | 6fb48d9017a835f5dd719c991867f1c521b43d53 | refs/heads/master | 2021-05-15T02:01:21.277659 | 2019-06-04T21:20:12 | 2019-06-04T21:20:12 | 17,671,609 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,846 | rd | bkfilter.Rd | \name{bkfilter}
\alias{bkfilter}
\title{
Baxter-King filter of a time series
}
\description{
This function implements the Baxter-King approximation to
the band pass filter for a time series. The function computes cyclical
and trend components of the time series using band-pass
approximation for fixed and va... |
122a90e2af46181180e8a1c376bb429d2577a541 | d6b2a61d012c4ea25414604140ba1806afca12c9 | /server.R | ed0f88831861ec47ada6c9091f5605cf462f75e9 | [] | no_license | hsiujho/test1 | 5d9d22e44f6ec13495f84e9046286b32464bf19e | 001a452c1e5f50b4b5e848856a2f62e640d1e576 | refs/heads/master | 2021-01-01T15:55:14.112578 | 2016-12-12T00:44:18 | 2016-12-12T00:44:18 | 31,342,758 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,825 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
shinyServer(function(input, output) {
pie_fn=function(sampleid,lv,top){
z1=ya[[lv]][,c("shortname",sampleid),with=F]
setnames(z1,c("sho... |
b1890bd752e06e64701d14c82cfc0a0f0aff8f50 | d3c8517180f3a2691c45b6d63781af9fbcc17ffc | /base.R | 2d645bbc07c6325d4ac4aafb9cadfd9086f9751f | [] | no_license | riglerandras/DevelopingDataProducts | 652e71f9d59d4752d89f83b92e165747c6e4b459 | daef82f0366ddf057ac0c27e6a1e45a240c464e3 | refs/heads/master | 2021-01-10T05:10:39.436648 | 2015-11-07T14:45:02 | 2015-11-07T14:45:02 | 45,735,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 692 | r | base.R | data(mtcars)
myValue = 6
filtBy <- "All"
d <- mtcars
fit <- lm(mpg~wt, data=d)
predVal <- predict(fit, newdata=data.frame(wt=myValue))
plot(d$wt, d$mpg, col="steelblue", pch=19, cex=.9,
main = paste0("Prediction of MPG based on car weight\n",
"Filter by transmission: ", filtBy ),
cex.m... |
dc333a2b6f1ad34eb57945484af9787c8860a13f | e10912d219907eb91d3e5fb34d6a62966d080d79 | /run_analysis.R | 83d5d8bcf5bde6607d4279af1822b3832fad8142 | [] | no_license | ckwong338/GCDAssignment | fffdfafb9bf3d6a114b0befb1cf45701669b4790 | 5fdd68fbe2c820171fd587c6d654ae716852ab5f | refs/heads/master | 2021-01-01T19:20:48.708810 | 2014-09-20T15:55:11 | 2014-09-20T15:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,419 | r | run_analysis.R | library(reshape2)
## read activity labels
activity_labels <-read.table("UCI HAR Dataset\\activity_labels.txt")
## read train data set
initial <- read.table("UCI HAR Dataset\\train\\X_train.txt", nrows=100)
classes <- sapply(initial, class)
X_train <- read.table("UCI HAR Dataset\\train\\X_train.txt", colClasses = clas... |
b32f309df91394cc6fff07cf2bd8c487d3867be6 | 139e93dc5ad1f30938195671caf4aefce99f188d | /R/map-raw.R | 3568b435f653b0bfc1577bf1d3d805bc51123ef1 | [
"MIT"
] | permissive | tidyverse/purrr | 7b94592b1eb6f4e6db8d83fc307465ce7b65b520 | ac4f5a9b9ff2b5b36770c4c5e064547264544fd2 | refs/heads/main | 2023-08-28T01:39:40.614443 | 2023-08-10T14:13:52 | 2023-08-10T14:13:52 | 27,309,729 | 901 | 265 | NOASSERTION | 2023-09-03T11:49:30 | 2014-11-29T17:33:40 | R | UTF-8 | R | false | false | 1,150 | r | map-raw.R | #' Functions that return raw vectors
#'
#' @description
#' `r lifecycle::badge("deprecated")`
#'
#' These functions were deprecated in purrr 1.0.0 because they are of limited
#' use and you can now use `map_vec()` instead. They are variants of [map()],
#' [map2()], [imap()], [pmap()], and [flatten()] that return raw ve... |
e259f329dda313445e2a09bb186f059292e53d7d | 678c7a152cc00df4d1c38fae6c59511b417aef54 | /tests/testthat/test-resDS.R | 73c4bbf454f60475556be6a382567acb14967974 | [] | no_license | GabrielHoffman/muscat | 368c21e3caae95abe29d6b2be79b174ed4ef79c0 | 93a3d88fd4a6bacb92811f12af10b5895b912bd7 | refs/heads/master | 2023-08-24T10:27:27.795931 | 2021-10-14T17:04:31 | 2021-10-14T17:04:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,214 | r | test-resDS.R | # load packages
suppressMessages({
library(dplyr)
library(purrr)
library(SingleCellExperiment)
})
# generate toy dataset
seed <- as.numeric(format(Sys.time(), "%s"))
set.seed(seed)
x <- .toySCE()
nk <- length(kids <- levels(x$cluster_id))
ns <- length(sids <- levels(x$sample_id))
ng <- length(gids <- leve... |
b7b15dc9a7dcc8487d7d25433f353f5e11d1e57b | fb0fd8d83376bf697ff6d5e582774745681dd5f4 | /tests/testthat/test-square.R | 89bc2e8b1b6ed63c05582c1d4578a19ae926b7bb | [
"CC0-1.0",
"MIT"
] | permissive | goldingn/greta.funprior | 616c9b7d7f1d94c61b837c57ee225be05feff8be | b5eba6fc33694eec12381ee8b95c68c74b5ae811 | refs/heads/master | 2020-06-14T22:10:58.735993 | 2019-07-04T02:14:00 | 2019-07-04T02:14:00 | 195,141,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 431 | r | test-square.R | test_that("square gives the correct answer", {
check_tf_version <- greta::.internals$utils$misc$check_tf_version
skip_if_not(check_tf_version())
x <- variable(dim = c(2, 3))
y <- square(x)
# compute the square in greta/tensorflow
x_value <- matrix(rnorm(6), 2, 3)
y_value <- calculate(y, list(x = x_... |
132210448b135e6f1ba9403d00cf246b95e8d3f5 | c91568c244942325a47e126fbb8def6d15c79218 | /QR/modules/LoginModule/LoginModule.UI.R | 30525f907283421120f448b90aaedb937fa42704 | [] | no_license | CrisBMoya/DisenoProyect | 5c0a2eb25a78beeb45e3997266c4fd797814b700 | 6334265577fdc76cdfee3cbe51143fe842a0799d | refs/heads/master | 2020-04-30T11:27:31.460498 | 2019-05-11T00:39:19 | 2019-05-11T00:39:19 | 176,801,705 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,111 | r | LoginModule.UI.R | LoginModule.UI=function(id, label="LoginModuleUI"){
ns=NS(id)
tags$div(id="LoginUI",{
fluidPage(
tags$hr(),
column(3,
textInput(inputId="Usuario", label="Usuario", value=""),
passwordInput(inputId="Clave", label="Clave", value=""),
splitLayout(cellWid... |
cb0c2abc0efad8c376bb47e6ed060376510f10cd | 23c3a18aca004781e0376a86d7f55df278d598fa | /_targets.R | d07b9abcae8d757e2eab35fa58407edab18f129c | [
"MIT",
"CC-BY-4.0"
] | permissive | jixing475/canary-ngos | 677d66f512aa0237f87927bef75017ada887e3df | a155d85f76d1681093693aced0cbcb5b6eca734a | refs/heads/master | 2023-03-31T00:21:08.077536 | 2021-04-08T12:55:41 | 2021-04-08T12:55:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,386 | r | _targets.R | library(targets)
library(tarchetypes)
library(tibble)
# General variables
csl <- "pandoc/csl/chicago-author-date.csl"
bibstyle <- "bibstyle-chicago-authordate"
suppressPackageStartupMessages(library(brms))
# By default, R uses polynomial contrasts for ordered factors in linear models
# options("contrasts")
# So make... |
92e5e28b80e2c7ef8c1a22070b9a238bfa76fc76 | 7e3f188372012ed9635facb1a2a3b0bab71cef48 | /R/variable_description.r | 3f753a813a098c8485e7974e22801f8cd70a02a8 | [] | no_license | skranz/RTutor | ae637262b72f48646b013b5c6f89bb414c43b04d | f2939b7082cc5639f4695e671d179da0283df89d | refs/heads/master | 2023-07-10T03:44:55.203997 | 2023-06-23T05:33:07 | 2023-06-23T05:33:07 | 11,670,641 | 203 | 61 | null | 2020-06-17T16:11:34 | 2013-07-25T20:47:22 | R | UTF-8 | R | false | false | 4,257 | r | variable_description.r | make.var.txt.from.df = function(df, cat=TRUE) {
restore.point("make.var.txt.from.df")
var = colnames(df)
content = rep("", length(var))
if (!is.null(attributes(df)$var.labels)) {
content = attributes(df)$var.labels
}
names(content) = var
empty = which(nchar(content)==0)
content[empty] = var[... |
e89501d4e4119c82f77872cdb670a8ff5e70d09b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/assertive.matrices/examples/is_diagonal_matrix.Rd.R | dd5a298161833b46fa6a2aa042eb2bcfe23374f1 | [] | 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 | 341 | r | is_diagonal_matrix.Rd.R | library(assertive.matrices)
### Name: assert_is_diagonal_matrix
### Title: Is the input a diagonal matrix?
### Aliases: assert_is_diagonal_matrix is_diagonal_matrix
### ** Examples
x <- diag(3)
is_diagonal_matrix(x)
x[1, 2] <- 100 * .Machine$double.eps
is_diagonal_matrix(x)
x[2, 3] <- 101 * .Machine$double.eps
is_d... |
b7c30d18f33ef1acc549eb1d1f7b33d45977e2ac | 01e473d07ba9e8353a22c39647d78c8eee272ec2 | /man/apply_attrition.Rd | ec8243420fdf91a7839546bbe99545d66d54b290 | [
"MIT"
] | permissive | bailliem/pharmavisR | 36bc8ca2c79a1ce361a57955aa1e64b6c50422dc | 3d0a1bf63c05543b9757096dc1fce0f4d9850dbe | refs/heads/master | 2023-07-20T21:56:18.811707 | 2022-08-19T06:01:46 | 2022-08-19T06:01:46 | 212,809,031 | 1 | 0 | null | 2019-10-04T12:23:17 | 2019-10-04T12:23:17 | null | UTF-8 | R | false | true | 1,005 | rd | apply_attrition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apply_attrition.R
\name{apply_attrition}
\alias{apply_attrition}
\title{Apply list of inclusion/exclusion criteria to a patient-level dataframe}
\usage{
apply_attrition(data, criteria_conditions)
}
\arguments{
\item{data}{\code{data.frame}. D... |
62d131d6c8f9467d456746e4097ffd249553f07e | 16b05f4c1440d8bacdca6fc1b1d2cf71db6a9f63 | /download/download_data.R | fb967013692c4447e4cd67ac566114c17ef4c8b1 | [] | no_license | stats4good/veraz_files | 55f84c4b42bb950d8dd0191a138216ea7055525a | 3cdd14dc94c0a8fd21d8773657912f4c4230879b | refs/heads/master | 2020-03-08T10:27:20.803194 | 2018-08-30T23:54:47 | 2018-08-30T23:54:47 | 128,073,804 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,580 | r | download_data.R | download_perfil <- function (dir = NULL, sec, subsec, subsubsec, year, month, day = NULL)
{
# Check inicial:
today <- c(format(Sys.Date(), "%Y"), format(Sys.Date(), "%m"), format(Sys.Date(), "%d"))
if (any(year < 2011 | year > as.numeric(today[1]))) stop("This Date is not available")
if (any(month < 1 | month >... |
aa67a4e3a03e567b894991bc2530d1804906a584 | 9532a3053f6faf961ac3b2dd23aa90eece38f4cd | /man/list_members.Rd | 2dfd0659ff244867edbd93258729c5f54124ad0b | [] | no_license | luke-a/rtweet | fc4912c81f57d4d6e05f74ad07a072fb1926b210 | 13b3fa7a892bb25c6937d8939846a8dcf1b23d2a | refs/heads/master | 2021-01-23T12:06:30.908231 | 2017-10-28T12:09:00 | 2017-10-28T12:09:00 | 102,648,243 | 0 | 0 | null | 2017-09-06T19:13:17 | 2017-09-06T19:13:17 | null | UTF-8 | R | false | true | 1,510 | rd | list_members.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/list-members.R
\name{list_members}
\alias{list_members}
\title{GET lists/members}
\usage{
list_members(list_id, slug = NULL, owner_user = NULL, count = 5000,
cursor = "-1", token = NULL)
}
\arguments{
\item{list_id}{required The numerical i... |
b60e495ab3c95581db24a7092e9a24ad4c1ce573 | 9453e9af1c3914b730df7737511ef970a45ad1f7 | /man/breakEdges-methods.Rd | 7d31cc51227985d62d1f80ba79c413af20ce3948 | [] | no_license | rmflight/categoryCompare | 1ce09c3ffb9ef7d5810222425419c59a2f51bca8 | 1accf65ec434a4b0a25e87aa3e3586f1085da396 | refs/heads/master | 2021-01-10T19:27:44.064062 | 2018-04-30T14:41:38 | 2018-04-30T14:41:38 | 4,077,158 | 3 | 2 | null | 2015-05-13T20:20:44 | 2012-04-19T15:58:52 | R | UTF-8 | R | false | false | 1,602 | rd | breakEdges-methods.Rd | \name{breakEdges-methods}
\docType{methods}
\alias{breakEdges}
\alias{breakEdges-methods}
\alias{breakEdges,ccCompareResult,numeric-method}
\alias{breakEdges,numeric,numeric-method}
\title{ Methods for Function \code{breakEdges} in Package \pkg{categoryCompare} }
\description{
Methods for function \code{breakEdges} in... |
8fce94eb1deedb517c2f69d6d64da2b4b4c6264e | d9f2ebf9eb28c5d698fd5d00965ceaa2657d91d0 | /man/is_case_weights.Rd | 03fdf32e8d2bd086046ddee7a7cd82d63bb7eee9 | [
"MIT"
] | permissive | tidymodels/hardhat | 6c813c76e314d97966304872b3b5074bffc7a0b1 | ac2dfd06e52bed75e4bca35fa1df0d93f3575a85 | refs/heads/main | 2023-06-22T12:18:11.297361 | 2023-03-30T12:27:21 | 2023-03-30T12:27:21 | 170,162,478 | 95 | 13 | NOASSERTION | 2023-03-29T13:52:03 | 2019-02-11T16:31:00 | R | UTF-8 | R | false | true | 648 | rd | is_case_weights.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/case-weights.R
\name{is_case_weights}
\alias{is_case_weights}
\title{Is \code{x} a case weights vector?}
\usage{
is_case_weights(x)
}
\arguments{
\item{x}{An object.}
}
\value{
A single \code{TRUE} or \code{FALSE}.
}
\description{
\ifelse{htm... |
e8703521cb058f7465eafb428028f0ebf0d4ec85 | b4e334a51917f17b4e06a24495c029b7be22ce51 | /man/calc_taxa_means.Rd | 0084aefe1957aa394dca6646b5e4926d21ff32dc | [] | no_license | jdiaz4302/mctoolsr | 2615e31045eda693d2d42440b76e965bcabfced2 | 4cb0db0b4f028452026f8b8e38e73f50f64d542d | refs/heads/master | 2020-12-13T18:25:48.324268 | 2016-03-31T01:53:45 | 2016-03-31T01:54:19 | 55,293,111 | 0 | 0 | null | 2016-04-02T12:23:25 | 2016-04-02T12:23:25 | null | UTF-8 | R | false | false | 851 | rd | calc_taxa_means.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/normalization.R
\name{calc_taxa_means}
\alias{calc_taxa_means}
\title{Calculate mean taxa values across a specified factor}
\usage{
calc_taxa_means(input, summarize_by_factor, metadata_map)
}
\arguments{
\item{input}{The input dataset... |
91c79389b7a4dd3695ac1ae25911790bbf767364 | b280969ad6a27fbfac95ee5978acb0bfa3a9ece5 | /man/clean.Rd | 5ca50e3798005ed40bfb64b659bf0c78245c31b2 | [] | no_license | valeriastay/quanteda | a8029553edb4c093786e35c472a3bd18f740b842 | f61275be77f5ed2a8f96d80231c3ef1665b13394 | refs/heads/master | 2020-04-06T06:26:26.583457 | 2015-07-23T07:36:05 | 2015-07-23T07:36:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,674 | rd | clean.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/clean.R
\name{clean}
\alias{clean}
\alias{clean.character}
\alias{clean.corpus}
\alias{cleanC}
\title{simple cleaning of text before processing}
\usage{
clean(x, ...)
\method{clean}{character}(x, removeDigits = TRUE, removePunct = TR... |
cc2f87b12d9db659d173ca60905b60f3f776a43c | f22407c2401719a7e55cc2fae296b301df0f032b | /Assginment-Text-Mining-Twitter.R | 959f0e020bfaee06fdbd1099def2e59ae1a56ca4 | [] | no_license | AnuradhaNagar/DS_Rcode | c813ba1cad264ad9e44c1604bf59283776d929c6 | b385933b8ef67b0514e19ae08fbc2e1553c7d522 | refs/heads/main | 2023-01-08T02:31:07.334382 | 2020-11-07T12:06:01 | 2020-11-07T12:06:01 | 310,835,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,740 | r | Assginment-Text-Mining-Twitter.R | library(tm)
library(readr)
require(graphics)
library("ROAuth")
library("twitteR")
cred <- OAuthFactory$new(consumerKey='2NFXXXXXXXXBb2Gdar',
consumerSecret='Z6h7aXXXXXXXX04kWznH0XrZ638PdM6Ix',
requestURL='https://api.twitter.com/oauth/request_token',
... |
71f3ad7cf6f1d767d5d1b3bb2da4d0ec0d8b375e | ef3c8b0609b38ab0388babe411eb4eccaa4d94b4 | /HarmJanMatrix.R | 39c8fc40bf14e44bb8fec314dd720d5edb567ded | [] | no_license | DannyArends/ludeCode | d540c1a1d3e9373fe2beaf69a80390c483eb01c0 | ff109c9fd5fa4204805e3ea672c749189d6ed670 | refs/heads/master | 2021-01-10T19:36:54.675900 | 2013-07-19T13:07:05 | 2013-07-19T13:07:05 | 10,618,682 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | HarmJanMatrix.R | setwd("~/Github/Juha/")
ExpCorMatrixHJ <- read.csv("EGCUTEndophenotypesValidSamples-NoSex.txt-asLoadedByNormalizerEndophenotypeVsExpressionCorrelationMatrix-Ensembl.txt", sep='\t', row.names=1)
TScores <- read.csv("TScores5CellTypes.txt", row.names=1)
ExpCorMatrixHJ <- ExpCorMatrixHJ[which(rownames(ExpCorMatrixHJ) %i... |
2eb757326975de2a05885dc0ebf801b7639d0bc1 | 8f9501ff4cf822ae70daca3fff81139dead6f4b9 | /Hypothesis2.R | 355956544cf203e5430f76a40d2398cd43824c46 | [] | no_license | Sharath2596/Hypothesis | 579c2af404fa29de4c2f189080223c898e089ba5 | 050041392b2459c086966d6f7cc9a91c654c7800 | refs/heads/main | 2023-08-09T20:30:45.802291 | 2023-07-24T11:41:38 | 2023-07-24T11:41:38 | 338,017,093 | 0 | 0 | null | 2023-07-24T11:25:24 | 2021-02-11T12:02:49 | Jupyter Notebook | UTF-8 | R | false | false | 1,803 | r | Hypothesis2.R | # A hospital wants to determine whether there is any difference in the average Turn Around Time (TAT) of reports of the laboratories on their preferred list. They collected a random sample and recorded TAT for reports of 4 laboratories. TAT is defined as sample collected to report dispatch.
# Analyze the data and de... |
23ccabb35bbdebabc975bf88b28db59a5e75ab32 | 0217dd9843c9462108ebf43d5b5f6feff1bbb65c | /man/api_get_cohorts.Rd | e702c47bed4c4ca44625c3ac2333ba6a55cd20c9 | [] | no_license | aneuraz/DWHtools2 | 44f833f07dc15735d4134e57ce119a90949ec38c | 4c3eb585c331c680b4212352215708a763a54c71 | refs/heads/master | 2021-03-30T17:20:43.931314 | 2019-09-06T09:55:33 | 2019-09-06T09:55:33 | 90,238,636 | 0 | 1 | null | 2019-09-06T09:54:38 | 2017-05-04T08:18:04 | R | UTF-8 | R | false | true | 241 | rd | api_get_cohorts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dwh_api_client.R
\name{api_get_cohorts}
\alias{api_get_cohorts}
\title{api_get_cohorts}
\usage{
api_get_cohorts(base_url, token)
}
\description{
api_get_cohorts
}
|
cac85ca4865de20f0f1ca98ee05d88aa4f82698b | dab7e577d31db1854b831c8c9bdfa9d1f9f5345b | /exercise-2/ui.R | 7a629d4a0372aa422c7366b04a72c94581bea152 | [
"MIT"
] | permissive | ZKeiLin/m18-shiny | 7656def03e0be6154e37bc7db9beb9922a8272e9 | 00577b1a11355a4f8d0bcdc23835027faac7bf4d | refs/heads/master | 2020-12-30T16:45:41.639321 | 2017-05-11T22:18:23 | 2017-05-11T22:18:23 | 91,021,940 | 0 | 0 | null | 2017-05-11T20:45:10 | 2017-05-11T20:45:10 | null | UTF-8 | R | false | false | 492 | r | ui.R | # UI for scatterplot
# Create a shinyUI with a fluidPage layout
shinyUI(fluidPage(
# Add a numbericInput to choose the number of observations
selectInput("# Observations", label = h3("100"),
choices = list("100" = 1, "200" = 2, "300" = 3),
selected = 1),
hr(),
fluidRow(colum... |
1800f1ca55e62325e0a9516ae48916e9fa267280 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610030994-test.R | 90bee3084ceb83098240c5092a1575abcfb1c90d | [] | 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 | 309 | r | 1610030994-test.R | testlist <- list(id = integer(0), x = c(1.34497461904945e-284, 4.82194077500418e+233, 2.29982995267468e-312, 2.12199575391035e-314, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), y = numeric(0))
result <- do.call(ggforce:::enclose_points,testlist)
str(result) |
6b20dd357b438c02f74928634bec7c0c627ed6b7 | a0aa511780814e67695203dec46022eda1c75467 | /man/chclass.Rd | 3ee16c430190b4887a4f2babdf78ce6075b09177 | [] | no_license | leonpheng/xptdefine | ab031216806bbb22e8fbf7b5b56ac5fcfba726a3 | 62388d9927436fac5df9a05305bf6bffc2124e56 | refs/heads/master | 2020-04-05T02:29:19.060784 | 2019-11-19T15:39:29 | 2019-11-19T15:39:29 | 114,052,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 261 | rd | chclass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{chclass}
\alias{chclass}
\title{chclass}
\usage{
chclass(data, var, class = "char")
}
\description{
internal used function.
}
\examples{
chclass()
}
\keyword{chclass}
|
984e5fd5eb11dfe149d74530289ee443318d48f9 | 9dce2b270982265965679dda60996f5130eb1442 | /Pocket_Nutritionist_Better_More_Interactive/server.R | 1fe8435c1ff3e34ceabc4c994174ab7f3e51a770 | [] | no_license | matthew-boccio/Pocket_Nutritionist_2 | 8c70fcf5c52b2ca82fa3b67ab90082a550a3f7df | d62b2abad102f65273eb4ae603613227f6029706 | refs/heads/master | 2022-05-25T12:50:48.762901 | 2020-04-28T19:59:07 | 2020-04-28T19:59:07 | 259,152,759 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,800 | r | server.R | function(input, output, session) {
food_choice = reactive({
food_full %>%
filter(Food == input$Food) %>%
filter(Type == input$Type) %>%
filter(Preparation == input$Preparation) %>%
filter(Additions == input$Additions)
})
output$Food_Pick = render... |
54a785903e0618460cf02db5dcb030f0f1f6f9c5 | 3fc582b5ab0a1d2f778fd2582ce7c0bb670aa11d | /man/RootDevelopment.Rd | 545c19aa85f8d5423ab3a898d7803f40ababf6e3 | [] | no_license | bluegulcy/aquacrop | 43b56a8becb9244fe3028af853f3c19c99bdd5dd | 50a1d815d04259e8792aba763fc53e0f896bf1a0 | refs/heads/master | 2020-09-02T10:55:40.510230 | 2019-10-08T10:03:12 | 2019-10-08T10:03:12 | 219,206,208 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 694 | rd | RootDevelopment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RootDevelopment.R
\name{RootDevelopment}
\alias{RootDevelopment}
\title{Calculate root zone expansion}
\usage{
RootDevelopment(Crop, Soil, GroundWater, InitCond, GDD, GrowingSeason)
}
\arguments{
\item{Crop}{Parameters for a given crop}
\ite... |
c24039a06bd838e4ff58e3f39745733c50eb9b76 | 0b4e456aed1637f0cb6e08ad49b7392867b9aec8 | /man/generateRandomPrimers.Rd | 0c5b6f5a3bb23d9f1ecee5af1b5b9677694331bd | [] | no_license | sherrillmix/ampCountR | 88854a1a9e24f77a27b42a0ee1e9dd7a02bcd3a8 | 2c7eb3a8d19f6221a73459ad6fb81f93e0e18875 | refs/heads/master | 2020-12-25T22:08:22.048533 | 2016-10-21T11:07:32 | 2016-10-21T11:07:32 | 37,539,674 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 646 | rd | generateRandomPrimers.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/ampCounter.R
\name{generateRandomPrimers}
\alias{generateRandomPrimers}
\title{Generate random primers for testing}
\usage{
generateRandomPrimers(genomeSize, frequency)
}
\arguments{
\item{genomeSize}{Max position for primers}
\item{... |
3e15d6a1594cc02658a4686b0bf2b27ef404f9ca | 30687b56de537b3f05886f2326eeb26e0f166459 | /BMI_analysis.R | d704f25582b100ef36ca62f787c799db35bf9c54 | [] | no_license | caiyuntingcfrc/TwinCity | 088754650125ad2648722aeef9fc9ef8a44b0fc1 | 1e1950d40fb35f8756861daba5eb2cdc58035796 | refs/heads/master | 2021-07-23T17:40:42.492939 | 2020-05-07T22:47:14 | 2020-05-07T22:47:14 | 163,916,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,739 | r | BMI_analysis.R |
# Prep and Options --------------------------------------------------------
# rm
rm(list = ls())
# set working directory
setwd("D:/R_wd/Twin Cities/")
# list of packages
list.packages <- c("tidyverse", "magrittr", "haven",
"gridExtra", "summarytools", "tabulizer",
"la... |
eef78d2475873b97599a2b8405e8ddf0f35ff6d4 | de1d0064b49664f711f217028046cc73007d5d9f | /R/mutes_users_list.R | 3c8e2e8d85fa5c7d167e74a974614f08e21f467a | [] | no_license | yutannihilation/twihttr | aeeab32c31372dc345e5a008127ca02e6bf3a4f9 | 5bf5b7a7792c7e82e5865310e668e6b96a89bcc4 | refs/heads/master | 2021-01-20T21:06:10.949602 | 2016-11-30T03:16:14 | 2016-11-30T03:16:14 | 65,869,824 | 0 | 0 | null | null | null | null | ISO-8859-4 | R | false | false | 1,247 | r | mutes_users_list.R | #' GET mutes/users/list
#'
#' @seealso \url{https://dev.twitter.com/rest/reference/get/mutes/users/list}
#' @param cursor
#' Causes the list of IDs to be broken into pages of no more than 5000 IDs at a time. The number of
#' IDs returned is not guaranteed to be 5000 as suspended users are filtered out after c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.