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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d52cd58c9cac807c6a1cf3fddc66b9bd56941ba3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ACSWR/examples/ps.Rd.R | 56d432008cefa89318ed1b0179d08d87b3e0151b | [] | 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 | 607 | r | ps.Rd.R | library(ACSWR)
### Name: ps
### Title: Simulated Sample from Poisson Distribution
### Aliases: ps
### Keywords: maximum likelihood estimator
### ** Examples
data(ps)
n <- 10
sample_means <- colMeans(ps)
poisson_score_fn <- function(theta,xbar) n*(xbar-theta)/theta
theta <- seq(from=2,to=8,by=0.2)
plot(theta,sapply(... |
757c0eae40220204847dd33d6bf7bd43ecc018bf | e1f069cb783bb03230f0680a722a425cac31d7a3 | /Project/nn_v2.r | c42922af4ed9ed0cdedbeef546e822e38de45982 | [] | no_license | iZome/MachineLearning-1 | 9cda4d974e5f274173c468deee784f9499fb1b8c | 4c23d2a1da4aea7f1679e3993c32ae6a2e9cdfac | refs/heads/master | 2021-08-15T11:29:29.948639 | 2017-11-17T18:53:35 | 2017-11-17T18:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,233 | r | nn_v2.r | rm(list=ls())
library(mxnet)
library(caret)
input <- read.csv("Train_Digits_20171108.csv")
input$Digit <- input$Digit%%2
input$Digit <- as.factor(input$Digit)
#Split to training and test set
sample <- sample(nrow(input)*0.8)
train <- input[sample,]
test <- input[-sample,]
nzr <- nearZeroVar(train[,-1],saveMetrics=T,... |
bcafba605e6e8f304b0fc51f4312d9d15306f27b | fe864041ef16b3cab0202f96e204e2c8af7f5950 | /DHARMa/man/testZeroInflation.Rd | 5efbce4e744cd1bedf5e2752c04f2cb291f5533a | [] | no_license | PasqualeDente/DHARMa | 2bfa352829c442569df08065d5e15a4fff0c58bd | 525d04ba22c6d146c38c4f403a7ca7f01e36a17a | refs/heads/master | 2021-01-01T15:56:06.470762 | 2017-05-09T08:17:58 | 2017-05-09T08:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 944 | rd | testZeroInflation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testsResiduals.R
\name{testZeroInflation}
\alias{testZeroInflation}
\title{Tests for zero-inflation}
\usage{
testZeroInflation(simulationOutput, plot = T, alternative = "more")
}
\arguments{
\item{simulationOutput}{an object with simulated re... |
ddac7f3c4a73a9aca90ffa54bc75add2815d1af4 | a01970998d9ecd2a59d64d4b23889267b32f14cf | /manuscript/scripts/data_s1_ad.R | 2d06fb95e3daa849666146e16a6564ea2fd70607 | [] | no_license | kgweisman/dimkid | 5ff19c13ff56c4e9a1d3a4a886ae59d1135d1bd9 | b03281ac5cd1ab5c5f57a87339d211289cd522ee | refs/heads/master | 2021-07-17T17:25:48.247433 | 2021-07-10T20:03:27 | 2021-07-10T20:03:27 | 60,885,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,799 | r | data_s1_ad.R | # STUDY 1: ADULTS
# read in & tidy data
d1_ad <- read.csv("./anonymized_data/study1_adults_anonymized.csv") %>%
mutate(study = "Study 1: Adults",
age_group = "adults") %>%
mutate_at(vars(ethnicity, religionChild, religionNow),
funs(gsub(" +$", "", .))) %>%
mutate_at(vars(ethnicity, religionC... |
9b50e7d9de71fabd6cce067872d0b1c578f6e3bf | 6c5d30f9722967d9a40f76a4397728efe9b52d4c | /R/scale_colour_eyp.R | ea8107e1b4575ef9550eccde192935640fa39738 | [] | no_license | tim-dim/rlytics | 1944fc713a558462f1a349c06b1ee0752f1d0945 | 526e575f287b23850656fb130243443c0dbe26d9 | refs/heads/master | 2021-01-19T05:18:34.283457 | 2019-02-28T16:05:40 | 2019-02-28T16:05:40 | 100,576,586 | 1 | 1 | null | 2018-05-14T08:44:42 | 2017-08-17T07:48:46 | R | UTF-8 | R | false | false | 648 | r | scale_colour_eyp.R | #' EYP Color Palette (Discrete) and Scales
#'
#' An 8-color eyp safe qualitative discrete palette.
#'
#' @rdname eyp
#' @references
#' Umrechnung EYP-Farbschema in Hex-Werte.pptx
#'
#'
#' @export
#' @inheritParams ggplot2::scale_colour_hue
#' @family colour
#' @example inst/examples/ex-eyp.R
eyp_pal <- function() {
m... |
cf411699726955a7a80ef47cea3a91c3d4f4988a | 0a32ba09b10150aac5c37e4a0dd0e01655cca62b | /man/CAFdist.Rd | 25b5f49a27a695cba3efa0dc72bfe9ee94334aa3 | [] | no_license | sn248/RcppCAF | 64ac3aff4d7e85c22cb80ef216aacede9ec6e926 | 83776df8e5c846db393e6f4805d3ea042d1110f7 | refs/heads/master | 2021-01-16T22:50:28.385972 | 2015-10-06T16:52:33 | 2015-10-06T16:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,148 | rd | CAFdist.Rd | \name{CAFdist}
\alias{CAFdist}
\title{Parallel Distance Matrix Computation}
\description{
This function computes and returns the distance matrix computed by
using the specified distance measure to compute the distances between
the rows of a data matrix, mimicking the structure and return value
of the built in \... |
9aca5a2dcb4449587d624a1d5e09a714885bf68b | cddc85b8555390e5c0fbc81a3c500529a6a2599c | /beta_div.R | ec32125ad0cee51ea2fa570002797bc1592a9221 | [] | no_license | guigotoe/16Srlib | 5c045a05744651519918f19495e6bf76b1ccde62 | 688ef5b76936ae7050fbf74e81b2078db28e1865 | refs/heads/master | 2020-12-25T14:23:32.002348 | 2016-10-20T10:20:27 | 2016-10-20T10:20:27 | 67,235,337 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,174 | r | beta_div.R | ####################################################
# By Guillermo Torres PhD.c #
# Institue of Clinical Molecular Biology (IKMB) #
# Christian-Albrechts-Universitat zu Kiel (CAU) #
####################################################
# Last update: September 2016
# Created: Se... |
ee2b1948992877432e009c86ef897b569cc0d4d7 | 7c1c4f8059bfa81f25950412b5d24dc8a84ef399 | /edit_text_variables.R | 87c7beed9ab183ba3ebf5b984d62d7fa4594b214 | [] | no_license | JackJianKuang/data_analysis_note | a509c5a780952733b70e2d20f2def1acbc70989c | f7fab5ee9e559896e8053ade12353cff5ab404e9 | refs/heads/master | 2021-01-10T16:27:16.270492 | 2015-12-04T05:29:08 | 2015-12-04T05:29:08 | 46,682,452 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 946 | r | edit_text_variables.R | if (!file.exists("./data")) {
dir.create("./data")
}
fileUrl <- "https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD"
download.file(fileUrl, destfile = "./data/cameras.csv")
cameraData <- read.csv("./data/cameras.csv")
# Fixing character vectors
## tolower(), toupper()
names(... |
0bc597001c237ed9dc8cba867edff802c0efc622 | 511687b0dcfcc27ff4f0bfe403b89dad04b74e46 | /rankhospital.R | c21f4abd45bf893ab3b8258e50c6f72ab1c0f567 | [] | no_license | skirmer/R_Programming | a3501b65834d03a70e06279b43809e93a643bba8 | 61d9060a01061f9cde28554b189f2c7ebd59621c | refs/heads/master | 2021-01-22T05:24:34.842808 | 2015-07-24T18:00:10 | 2015-07-24T18:00:10 | 39,648,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,341 | r | rankhospital.R | # Assignment3 Part 2
#Get into the right directory
getwd()
# setwd('Assignment3')
#open up the source data
hospitals <- read.csv('hospital-data.csv')
outcomes <- read.csv('outcome-of-care-measures.csv', header=TRUE,
na.strings="Not Available")
#Create a subset of the original datasets to make ... |
e91b64cde6d93342e13d5e8cfb0efe69d708e249 | 8886a2a44be4e9eee6fff0e8868de9ef73cee5a5 | /R/mixpack-package.r | 894abbafcab7122355ce084021d9468bcd7bfc90 | [] | no_license | cran/mixpack | cf0bfb57d453d1125adc7b09cb0dd24163baa422 | 698333c0c4aeb113f4b952f0b6bb0a36b8dcdbe4 | refs/heads/master | 2021-01-10T13:14:56.851207 | 2017-01-27T09:18:30 | 2017-01-27T09:18:30 | 48,084,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 63 | r | mixpack-package.r | #' mixpack.
#'
#' @name mixpack
#' @docType package
NULL
|
020ad2520a240f5cb9f99d8c69ea13336641cc7e | 2b4e13cf56d27be0e3e791a9c59d1c43665df452 | /R/GetBounds.R | d84cc3c653cba58b8ef45ded1ae9bfc32a0ab050 | [] | no_license | IanMadlenya/rcss | dc16f85956cc9f8c05881965225d12107c183a79 | f6463a8a218c72ddbb773db14b956b82aab72d57 | refs/heads/master | 2020-05-24T18:07:57.996818 | 2017-01-27T22:12:16 | 2017-01-27T22:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 621 | r | GetBounds.R | ## Copyright 2015 <Jeremy Yee> <jeremyyee@outlook.com.au>
## Obtaining confidence intervals after performing diagnostic checking
################################################################################
GetBounds <- function(duality, alpha, position) {
n_path <- dim(duality$primal)[3]
primal <- mean(dua... |
c1e4c73a0dc33333e470ee9a09db25ca4ad122fc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RandomFields/examples/RFgetModelInfo.Rd.R | 149db9a0e7b5f0c81ce8c74e8f9568b2fa73ed31 | [] | 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 | 656 | r | RFgetModelInfo.Rd.R | library(RandomFields)
### Name: RFgetModelInfo
### Title: Information on RMmodels
### Aliases: RFgetModelInfo RFgetModelInfo_register RFgetModelInfo_model
### Keywords: spatial
### ** Examples
## Don't show:
StartExample()
## End(Don't show)
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## ... |
6d42aac92957f0a30321524532a862b6dfc993c2 | d365fec6f30c1e294aa99e19b0a17fd0eeafbb96 | /tests/testthat/test-scrape_entry.R | 99b0659185d5a7a295e43bda370e6bf6e71c4687 | [] | no_license | sefabey/eksiR | 3cc91da12a523fac8ead67ef795bf9e00437ed11 | d7eb350a8a7a9bd9972c49f6ed557899bdd34c88 | refs/heads/master | 2020-03-27T07:22:08.044721 | 2018-09-22T12:43:30 | 2018-09-22T12:43:30 | 146,185,282 | 2 | 0 | null | 2018-09-21T20:56:01 | 2018-08-26T13:59:41 | R | UTF-8 | R | false | false | 1,438 | r | test-scrape_entry.R | context("eksi_scrape_entry ")
test_that("scraping an existing entry works as expected", {
# test 1=====
library(tidyverse)
result1 <- eksi_scrape_entry(1) %>%
select(text)# first ever written eksi entry from the year 1999, 'pena'
check1 <- readRDS('test_data/result1.rds') %>%
select(text)#
expect_equal(... |
8e2ec8e555020a065737a95b7ceb93e605dd883e | 30897ac2c0439caa254c09b06f6d7028da2e227a | /man/geom_volcano_text.Rd | 8fa2c272b6bd00da010ab105f6c5fbc3d1edc3a1 | [] | no_license | xiayh17/RNAseqStat2 | 41e824cbddf6cc717ded754f8333234af7a2c20a | 4ae8e3a7a3062c3be0ecfea7811320c7f17bfc17 | refs/heads/master | 2023-05-23T22:27:06.868461 | 2023-05-10T12:47:34 | 2023-05-10T12:47:34 | 458,684,900 | 9 | 6 | null | null | null | null | UTF-8 | R | false | true | 621 | rd | geom_volcano_text.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Visualization_DEGvolcano.R
\name{geom_volcano_text}
\alias{geom_volcano_text}
\title{A preset geom of \code{\link[ggrepel]{geom_text_repel}}}
\usage{
geom_volcano_text(
data,
mapping = NULL,
nudge_x = NULL,
nudge_y = -1,
hjust = 0,
... |
0a79a46a5473b93d7f7a833c433da913457ffa99 | 999b24cc5fa218e80af339f4952e6a62d561f781 | /ggplots.R | 8d062851040cf50dadd1c561d55ec088fbb18a18 | [] | no_license | ShivKumar95/Learning-R | 81d0fef098a724ef9be6c2ba0d75aa1cd02f3841 | ea36c1d9453e3a645470eaf50c794f042963e085 | refs/heads/master | 2022-07-17T02:18:59.493185 | 2020-05-21T06:00:23 | 2020-05-21T06:00:23 | 261,987,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,604 | r | ggplots.R | # ggplot
# components to remember
# 1.Data : The data set being summarized
# 2. Geometry: The type of plot(scatterplot, boxplot, histogram, qqplot, sooth density, etc.)
# 3. Asthetics maping: Variables mapped to visual clues, such as x-axis and y-axis values ad color
# There are additional components such as sca... |
f6aded6c7eb08d67123eecc1a4a03a3f56f0643c | 3a41e94e107c49296c95b855606d8f27b175a66a | /02A.2mis_prg1_181K_data check.R | 15d37c8bb60c640ec679ad546315b556d2e88407 | [] | no_license | arnelpocsedio/MSc-Plant-Breeding-Massey-University | aea361c4f42315a5c9082d811b08b44143f2ae21 | 51c3ff078d0aaa97e530e9877c37cb277a52dc8e | refs/heads/master | 2023-06-21T09:40:08.533630 | 2021-03-25T08:00:15 | 2021-03-25T08:00:15 | 351,351,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,687 | r | 02A.2mis_prg1_181K_data check.R | #'Data quality check of the initial vcf file
#'violin plots of read depth
#'heat map of missingness and allele
#'PCoA looking at (non)clustering of pop/gen, batch and checks
#'
#'Missing data
#'
#'Set up and load the data
setwd("~/Thesis2/Data analysis/Data")
library(vcfR)
prg.vcf <- read.vcfR("arnel_out.re... |
68a4b49de2e84a86d62276f8765589a9f8e8160a | 5c9f9e93106a21bb1c1937c9dd972c2ad21ae4cc | /R/print.countgmifs.R | 6f91f54a3d34eab869ffd8c85d6c3e04cc318222 | [] | no_license | cran/countgmifs | f308da0c8baf395cfb6a2f671eab24f7b6113826 | f0b61cd6fc04b5845d0f84fae318cdf89fe34644 | refs/heads/master | 2020-03-27T03:55:49.565073 | 2020-01-08T13:20:02 | 2020-01-08T13:20:02 | 145,899,296 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 360 | r | print.countgmifs.R | #' Print the Contents of a Count GMIFS Fitted Object.
#'
#' This function prints the names of the list objects from an \code{countgmifs} fitted model
#' @param object an \code{countgmifs} fitted object.
#' @param dots other arguments.
#' @keywords methods
#' @export
#' @examples
#' print.countgmifs()
print.countgmifs ... |
e50c02494637537a5ce5fcc2663e77cf2660b5be | 5bde2a086c2bafc585e94459bbab2fdb65cc8b55 | /R/classVarImp.R | 0d757cf412dae64aef2eec85201b41efb1972600 | [] | no_license | cran/fscaret | 39d7c662a7fba40b4952017036f1ffca4a9971e8 | 1c56431c2fb5106d560999e5197797fc589a2409 | refs/heads/master | 2021-01-01T06:18:37.237720 | 2018-05-08T07:15:17 | 2018-05-08T07:15:17 | 17,696,153 | 1 | 4 | null | 2015-12-05T19:07:38 | 2014-03-13T04:44:47 | R | UTF-8 | R | false | false | 7,908 | r | classVarImp.R |
classVarImp <- function(model, xTrain, yTrain, xTest, fitControl, myTimeLimit, no.cores, lk_col, supress.output){
resultVarImpListCombCLASS <- NULL
resultVarImpListCombCLASS <- list()
myTimeLimitSet <- myTimeLimit
fitControlSet <- fitControl
lk_col <- lk_col
supress.output <- supress.output
no.cores <- no.cores
cl... |
c0bdf61c46545da6d0b7e9d8f94c5d68ef4897dd | 6badea3fb8aa18e620b582a2fee9b595462ca588 | /man/geom_two_group_within.Rd | 67457d69c444b5af79a4bb19c6d267f30c64a0ba | [] | no_license | dstanley4/ggpsyc | e2a0acee544ced1d90b40a576a4085df41abc65d | a91a33e868f32af6012f4b75e1901cecfe3c24f4 | refs/heads/master | 2020-06-04T15:43:38.360448 | 2019-06-26T14:50:40 | 2019-06-26T14:50:40 | 192,087,754 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 372 | rd | geom_two_group_within.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_combine.R
\name{geom_two_group_within}
\alias{geom_two_group_within}
\title{Create a plot for paired groups t-test as per Introduction to the New Statistics}
\usage{
geom_two_group_within()
}
\description{
Create a plot for paired groups... |
8bb789bd4d0d078c15a037edf2d5e87401c9ae8c | cf95921d48afc1cb174cbdbd25f19b3528b2d393 | /R/interactive_plot.R | e2d47cc08150e8da54279474da47f5fa7a99a6f8 | [] | no_license | tbstockton/gisdtR | 0a4dd21c38305c4abd21363a83e303c1bfe04640 | 1e27801b53c0f363c4953f8a06116c46ef938b7e | refs/heads/master | 2021-01-21T19:05:32.299497 | 2017-05-23T00:40:46 | 2017-05-23T00:40:46 | 92,110,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,829 | r | interactive_plot.R | interactive_plot.fn = function(data.obj=gsd.df,gsd.version = "v2.009 CaseC",
response="MaxI129_SectorB_20ky[pCi/L]",
predictor="Reducingmiddle_concrete_kds_redKd_Dist[I][mL/g]",
group=NULL,
ylab="Max I129 SectorB 20ky [pCi/L]",xlab="I Reducing middle concrete Kd [mL/g]",
legend.columns=3,pd.col="dar... |
61e4cd35f0a40dec77af4f0f90bcadc937f9c986 | a28f6e0a0b5e0a41d5c8b49c8b2df2203fa9ff43 | /R/R_reference.r | b322c448d0f3d2ff958cd83891849e11c1927aa6 | [] | no_license | stanleysfang/code_reference | 7005dba9ec6cf1c45f32d29f0c06ee36bda8dd6d | de0b399d97a045734de14d36bc6d8da8932e27c6 | refs/heads/master | 2021-09-08T16:47:26.101827 | 2021-09-06T18:25:05 | 2021-09-06T18:25:05 | 248,426,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 132 | r | R_reference.r |
#### Common Commands ####
#### Installing R kernel for Jupyter Notebook ####
install.packages('IRkernel')
IRkernel::installspec() |
2f6af48212bf1f38e5e57775c5d7c0c266b30009 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/etm/R/plot.etmCIF.R | c003bc39deb187a3e9645f6215e46844d83448f0 | [] | 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 | false | 4,499 | r | plot.etmCIF.R | plot.etmCIF <- function(x, which.cif, xlim, ylim,
ylab = "Cumulative Incidence", xlab = "Time",
col = 1, lty, lwd = 1, ci.type = c("none", "bars", "pointwise"),
ci.fun = "cloglog", ci.col = col, ci.lty = 3,
legend = TRUE, le... |
b768d2668985ff6bf66793ca6238d85f7b74f39a | 818dd3954e873a4dcb8251d8f5f896591942ead7 | /Monika/clustering.R | 271408a2c66b6481bc730e7ebe1314537ab49434 | [] | no_license | DannyArends/HU-Berlin | 92cefa16dcaa1fe16e58620b92e41805ebef11b5 | 16394f34583e3ef13a460d339c9543cd0e7223b1 | refs/heads/master | 2023-04-28T07:19:38.039132 | 2023-04-27T15:29:29 | 2023-04-27T15:29:29 | 20,514,898 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,801 | r | clustering.R | setwd("D:/Edrive/Horse/DNA/SNPchip_Monika_Feb19")
mdata <- readLines("HorseBreeds_SNPchip.txt")
splitted <- lapply(mdata, strsplit, "\t")
header <- splitted[1:3]
splitted <- splitted[-c(1:3)]
nRow <- length(splitted)
nCol <- length(splitted[[1]][[1]]) - 5
mData <- matrix(NA, nRow, nCol)
nItems <- length(splitted[[1]... |
aee7eee8697b3d2b7719cf3eb2f0bc4cc955a49a | 92f9858a118acf0921b252da7ea86a76ea9c0a73 | /bootstrap/initial/software/utilities/SAN_Age0_consitecy_area1_and_2.R | c0f7b9f1fe9ae41a0aaa99ca166dddbea40dcc84 | [] | no_license | Scruff92/Sandeel_TAF_DTU | 2275723cdcb001bc6abf2a55da59b890a9a5817b | 869e1e0350a8f12c570e42bb3353309b8e48797a | refs/heads/master | 2020-09-14T15:55:54.935498 | 2020-01-29T15:42:48 | 2020-01-29T15:42:48 | 223,175,558 | 0 | 1 | null | 2019-11-21T14:49:34 | 2019-11-21T13:03:21 | Smarty | UTF-8 | R | false | false | 1,029 | r | SAN_Age0_consitecy_area1_and_2.R |
d11<-sub('area-2','area-1',data.path) # path to sandeel area 1
d1 <- read.table(file.path(d11,'summary_table_raw.out') ,header=TRUE, sep="", na.strings="NA", dec=".", strip.white=TRUE)
d2 <- read.table(file.path(data.path,"summary_table_raw.out"),header=TRUE, sep="", na.strings="NA", dec=".", strip.white=TRUE)
... |
e9d5cb1d0c052f43d25290aae9d7937bca2a427b | 983d5d1a6b95050d2d68df08de6a4726f7891d8a | /code/functions/hex-color.R | 564a096e5f517b13944aa904118f35ab9114058f | [] | no_license | CoraBai/Workout02 | dfafe76e414dfa211a573e762add7f5494595c43 | 18687842fcd665beb6282033bd902cbf70a2baed | refs/heads/master | 2020-04-04T13:12:07.676312 | 2018-11-03T21:58:11 | 2018-11-03T21:58:11 | 155,952,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 796 | r | hex-color.R | #' @title Is Hex
#' @description test if the input string is a hex color without alpha transparency
#' @param string x
#' @return logical value of if the input is a hex color without alpha transparency
is_hex = function(x){
if(!(is.character(x) && length(x) ==1)){
stop("invalid input; a string was expected")
}
... |
b515173d335c26ad1ec4f397dd9a56c7cdbbd0a7 | f5511623880f9baaf7549fd7c44dcf3f3417d927 | /test.R | 222ec49dc985eb88b25bab19ed1a832f9bd89b9a | [] | no_license | dvdcprague/Movie_Project | bcecd779f64584080db9c77d2ed61041ae9e093e | 333637249fb6deab0481dc3f032887409183faae | refs/heads/master | 2021-07-19T16:49:50.251169 | 2020-04-24T22:56:44 | 2020-04-24T22:56:44 | 141,197,171 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50,776 | r | test.R | # Load required libraries
require(data.table)
# library(sqldf)
library(dplyr)
library(DT)
library(rCharts)
library(ggplot2)
library(ggcorrplot)
library(tidyr)
library(reshape2)
library(lubridate)
library(GGally)
library(plyr)
library(gridExtra)
library(Matrix)
library(glmnet)
# Read data
load("movies_merged")
data = m... |
cc6b594ce8266753191501372ffea531c4931d81 | 01a7679dcb4e444a071da478e4f4a988b9808754 | /engagement_correlations.R | 05fb93f8a9eba3c37e7e845b07042dad5a4d3011 | [] | no_license | nripeshtrivedi/Engagement_Analysis | 866da2f1eea4df5ce306e65cb49b64ba0130bf1f | 2c6c3ecf618206eb65f2fece142a42c7cb7b8bab | refs/heads/master | 2020-12-24T07:03:17.908226 | 2016-11-20T07:30:20 | 2016-11-20T07:30:20 | 73,382,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,986 | r | engagement_correlations.R | library(ggplot2)
library(scales)
source('../multiplot.r')
## Filter away data where signupdate and lastlogin is NA
members <- members[!duplicated(members$memID),]
members <- unique(members)
m <- members[logged_members,]
m <- m[(which(is.na(m$signupDate) == FALSE)),]
m <- m[(which(is.na(m$lastLogin) == FALSE)),]
m <- m... |
8662ef5a66abcca44559b147987b7c0d8b742146 | 57744ab6fedc2d4b8719fc51dce84e10189a0a7f | /rrdfqb/R/qb.add.prefixlist.to.store.R | 54e9d22867717c083be68b98b5ff07e2541b6cc0 | [] | no_license | rjsheperd/rrdfqbcrnd0 | 3e808ccd56ccf0b26c3c5f80bec9e4d1c83e4f84 | f7131281d5e4a415451dbd08859fac50d9b8a46d | refs/heads/master | 2023-04-03T01:00:46.279742 | 2020-05-04T19:10:43 | 2020-05-04T19:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 751 | r | qb.add.prefixlist.to.store.R | ##' Add prefixes to a rrdf store and returns list of prefixes
##'
##' Sideeffect: the prefixes are added to the store
##' @param store A rrdf store, if NULL then not added to a store
##' @param prefixes A data.frame with column prefix and namespace
##' @return The list with member names prefixUPPERCASEPREFIX and namesp... |
0253f12b6393c312fd4ae7be09d3e4a91b12e3ef | d08e69198fbd60086aa35d765c7675006d06cf3f | /man/GetBiplotScales.Rd | 36324a104c2327f7be67ee28a07eaa6fcc4b60c3 | [] | no_license | villardon/MultBiplotR | 7d2e1b3b25fb5a1971b52fa2674df714f14176ca | 9ac841d0402e0fb4ac93dbff078170188b25b291 | refs/heads/master | 2023-01-22T12:37:03.318282 | 2021-05-31T09:18:20 | 2021-05-31T09:18:20 | 97,450,677 | 3 | 2 | null | 2023-01-13T13:34:51 | 2017-07-17T08:02:54 | R | UTF-8 | R | false | false | 2,212 | rd | GetBiplotScales.Rd | \name{GetBiplotScales}
\alias{GetBiplotScales}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Calculates the scales for the variables on a linear biplot
}
\description{
Calculates the scales for the variables on a linear prediction biplot
There are several types of scales and values that can be ... |
30090b2a135c88073008fcf48a70cda4610b88c0 | ed0651dc37740c45798b4c6ff7c34e5937da989d | /BBS_Hierarchical_Model.R | 5c978b6683772fca61ae82ffce1545a55126d82b | [] | no_license | Tglaser178/BBS_Analysis | a013d6a3752ac937fb8c6f2a812cef75ddc918bc | e389ea01386b81735a1018fb0f885eb7c760ce96 | refs/heads/master | 2022-07-17T21:21:39.804527 | 2020-05-12T20:28:13 | 2020-05-12T20:28:13 | 250,376,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,673 | r | BBS_Hierarchical_Model.R | ##############################################################################
# Analysis of bbs data to get trends by BCR
# Created by T. Glaser April 09 2020
# Based on code sent by Jim Sarroco for WIWA BBS analysis (wiwa_network_bbs_model1.R)
# which was in turn based on code from J. Sauer
########################... |
a4e673da2ccf61560196f670bdfe0cfe2d247572 | 15221096e68c551499d8df7e54b25e4ec302f27f | /assignment_3/best.R | 65c5e5a225193a39cbd51908581f3004c8df208f | [] | no_license | abhinaykr/JHDS_Rprogramming | 793131fc4b9fd5e914d80511175ec110c80c9b27 | 8c595669e2d615289c7c9d8c5679108b7d3f05de | refs/heads/master | 2016-09-11T08:57:02.497768 | 2014-12-12T20:36:58 | 2014-12-12T20:36:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,147 | r | best.R | best <- function (state,outcome){
## Read outcome data
data <- read.csv("data/outcome-of-care-measures.csv", colClasses="character")
s <- state
o <- outcome
## Check that state and outcome are valid
isostate <- which(data$State == s)
if (length(isostate) <=0) stop("invalid state")
... |
6ba1fc9d98df6436660b022ddf7f8e2fb577dbd7 | 05884bd8afb3222aec86c6a2b363e67ed3c64590 | /toolbox/R/spiderBDA.R | c44c25937616b2c4e5371ac20c6d3a8fbb8e4f68 | [] | no_license | nmarticorena/mineria_datos | bcfbea31e6de6f292e4404068b360638ab8a3cbb | 6e3f22c2fb79fe551a5d8c94136f495638088813 | refs/heads/master | 2020-03-09T00:36:28.806062 | 2018-06-14T03:12:35 | 2018-06-14T03:12:35 | 128,492,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,226 | r | spiderBDA.R | #'Spider charts BDA
#'
#'Make awesome spider charts
#'@param centroids dataframe, centroids to plot as rows and variables as columns.
#'@param show.max boolean, show the maximum vlaues of each variable in the plot?
#'@param show.values boolean, show the centroid's value of each varaible in the plot?
#'@param sho... |
97c5e22beed5917e2190cdc8036be853d146af38 | f2bf9e707872a91d60461dd6dfd551221e13bf9d | /code/merge_matches_with_ess.R | 4ada24a54e97d9a954dec8280bc86539828ec84b | [] | no_license | jvieroe/IntMatches | 3654ca1942bb126bf45c9f408f041514f44d5167 | 671e66bfb03be6011ddd5f19a74a278c4f336199 | refs/heads/main | 2023-07-03T00:50:56.826704 | 2021-08-10T16:57:00 | 2021-08-10T16:57:00 | 394,699,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,283 | r | merge_matches_with_ess.R | # ---------------------------------------------------------
# Preamble
# ---------------------------------------------------------
rm(list=ls())
library(rio)
library(tidyverse)
library(knitr)
library(haven)
library(lubridate)
library(survival)
library(janitor)
library(tidylog)
library(fixest)
setwd("/Users/jeppeviero... |
c70084d05e3a5f128b8c6dcf06ed9573e44ef583 | 58a338ec973eb9a451e96b8114d3aabeb97a5268 | /plot2.R | 396e7db11bad3cde6854bf37169b88d9db83f9c7 | [] | no_license | FilipeLima/ExData_Plotting1 | 028e3191f11fca07b0211daf5b12d5b2bdeca356 | 81f4e8efcebfd97ccccff07c573ed4c666420914 | refs/heads/master | 2022-10-31T07:38:51.496943 | 2020-06-18T21:02:56 | 2020-06-18T21:02:56 | 273,251,558 | 0 | 0 | null | 2020-06-18T13:52:21 | 2020-06-18T13:52:20 | null | UTF-8 | R | false | false | 555 | r | plot2.R | names_df <- read.table("household_power_consumption.txt",nrows=1,sep=";",na.strings="NA")
df <- read.table("household_power_consumption.txt",skip=66637,nrows=2880,sep=";",na.strings="NA")
names(df) <- names_df[1,]
View(df)
df$Date <- as.Date(df$Date,"%d/%m/%Y")
df$Time <- as.Date(df$Time,"%h:%m:%s")
df$DateTime... |
725219038e41889d49b85100b68fc0df66971c30 | 9e87d7b269fbd2adb83ca0b2302378b23cf47fd8 | /R/frequentist.R | 6f075d01b36ce08c040eeacef1b739465611339e | [] | no_license | alhostat/perinataldep2019 | 6d58d98481f84cb5be1ef889c414e982fb46db42 | 39aa44158b601bd7c846ce12ff72b308698e701f | refs/heads/master | 2020-06-29T07:57:06.078272 | 2019-09-01T01:16:33 | 2019-09-01T01:16:33 | 200,479,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,651 | r | frequentist.R | # utf-8 encoding
"
@title: Meta-analysis
@author: Alan Ho
@date: 17-11-2018
#description: Generates the forest plot + all associated statistics
"
# LIBRARIES ----------------------------------------------------------
library(meta)
library(metafor)
library(metaviz)
library(rlist)
# FUNCTIONS ... |
7097f69d47047a851284d988039dc2fc0ac3778a | fe87f6ab9a32b3bfbe20f5ffa852cbd338fc19c0 | /Intro_to_Programming/Week_3_In_Class_Codes.R | 8b60c122f3a30edb2c033ebc83fbff1b5a9e52ed | [] | no_license | priyaankasaxena/Notes | 42208f587629dddff490e8e1289a4d3139cb9b1b | 33bdd733ee0e296808e6122fcb0b80d61509d688 | refs/heads/master | 2020-07-12T02:47:57.659088 | 2019-04-10T17:03:49 | 2019-04-10T17:03:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,259 | r | Week_3_In_Class_Codes.R | # Comparison of logicals
TRUE == FALSE
# Comparison of numerics
-6 * 14 != 17 - 101
# Comparison of character strings
"useR" == "user"
# Compare a logical with a numeric
TRUE == 1
#2. Greater and Less Than
# Comparison of numerics
-6 * 5 + 2 >= -10 + 1
# Comparison of character strings
"raining" <= "raining dogs"
... |
704e68c86d2f8dd52a746c3209e53230fe45c9dc | 394b0b27a68e590165d0dfb9243e7b2d5deaf4d5 | /man/batchFlattenSelf.Rd | 5b3b59e9d1b4913197c75cdc0b346a2726c20671 | [
"MIT"
] | permissive | NastashaVelasco1987/zoomGroupStats | 5b414b28e794eecbb9227d4b1cd81d46b00576e4 | 8f4975f36b5250a72e5075173caa875e8f9f368d | refs/heads/main | 2023-05-05T18:23:17.777533 | 2021-05-24T16:08:23 | 2021-05-24T16:08:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,422 | rd | batchFlattenSelf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/batchFlattenSelf.R
\name{batchFlattenSelf}
\alias{batchFlattenSelf}
\title{Wrapper to run the flattenSelf function on a batch of meetings}
\usage{
batchFlattenSelf(inputData, inputType, meetingId, speakerId, gapLength)
}
\arguments{
\item{inp... |
36d64888a049ddfd1fae0cb11e53ecc3ef5968a4 | 51267717b05c34e4df3a66ca9958d9d94d490f2a | /DatosMiercoles_week10.R | 1f479423e109a8ee969fd6c0b2e6cf5d61da7455 | [] | no_license | gonzalofichero/DatosDeMiercoles | 969d4a9eadea8874d6b4544ba6df797182d1ae1d | 8195c76022e864806d9f3151a424bada3dfe3d98 | refs/heads/master | 2020-05-15T09:02:23.121987 | 2019-06-26T20:32:06 | 2019-06-26T20:32:06 | 182,169,806 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,090 | r | DatosMiercoles_week10.R | # Cargo las librerías a utilizar
library(tidyverse)
library(ggplot2)
library(readr)
library(stringr)
# Levanto los datos
rating_vinos <- readr::read_csv("vinos.csv")
glimpse(rating_vinos)
# Pasando a factores
rating_vinos$pais <- as.factor(rating_vinos$pais)
rating_vinos$provincia <- as.factor(rating_... |
20020979732e4510b297628b30cf38ab7bc6f9bf | 3b603bda5876a277d40c782d823d9ba87bf9a300 | /man/compute_equivrelation.Rd | 762412c701518241923a69aa5f160fb11f3d8fa3 | [] | no_license | KonstantinRK/tempnetwork | 65815a7c05c0253a8cb73a7a932acea00368840a | 58897c2b8bcb19b938f031ee6e1a990cb1dd9480 | refs/heads/master | 2020-11-27T11:24:14.780416 | 2019-12-21T11:41:15 | 2019-12-21T11:41:15 | 229,419,117 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,789 | rd | compute_equivrelation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tempnetwork-getter.R
\name{compute_equivrelation}
\alias{compute_equivrelation}
\title{Computes a default equivalence relation under the assumption that the vertex sets are identical.
That is, it starts by creating a list indexed by the names... |
c39cbe6d46059983023f0376133a3df8a3f702d6 | 9a6b362e947082f68fa190f7bb9f67c0f57f869d | /man/complete_time.Rd | 1ae31d12b28da0e7dabf0a2ea37c92ff1dab9add | [] | no_license | WillemSleegers/eyepatch | 4b26974b87f05de128a7faa2edf7fcebb57d3e78 | 1a06b168089ef0632a04ec76b74995c1852cc9bc | refs/heads/master | 2021-08-14T23:14:48.878488 | 2021-08-02T07:53:13 | 2021-08-02T07:53:13 | 172,603,004 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,220 | rd | complete_time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/complete_time.R
\name{complete_time}
\alias{complete_time}
\title{Complete time}
\usage{
complete_time(data, time, difference)
}
\arguments{
\item{data}{The data frame containing the timestamps.}
\item{difference}{The supposed difference bet... |
e840b7cd657bec5d250a8420a560b6f47ad08410 | bd142e7cf42dba3058791b4b4b80577f31c15641 | /R/print_plotSmooth.R | e6cc0cc6a86c3955c614a820b12b65e99a1802c9 | [] | no_license | valnoacco/mgcViz | 5a8b3e1651219e3ca4c1e13dfae2385bc86064ee | d50e8e4cc1f59b59397c4a696a2c012ecf8ab0a6 | refs/heads/master | 2020-03-24T07:17:19.099233 | 2018-06-30T17:31:25 | 2018-06-30T17:31:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 423 | r | print_plotSmooth.R | #'
#' Printing plots of smooth effects
#'
#' @description This method prints objects of class \code{plotSmooth}.
#' @param x an object of class \code{plotSmooth}.
#' @param ... currently unused.
#' @return Returns \code{NULL}, invisibly.
#' @name print.plotSmooth
#' @rdname print.plotSmooth
#' @export print.plotSmooth... |
fbf7552308f46446fccbcb4008bf1743d99fd562 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Numerical_Methods_For_Engineers_by_S._C._Chapra_And_R._P._Canale/CH6/EX6.11/Ex6_11.R | 8f349e7c1d98b15cce2842bebc83ea82a12f22ac | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 413 | r | Ex6_11.R | u <- function(x,y) {
x^2+x*y-10
}
v <- function(x,y) {
y+3*x*y^2-57
}
x=1.5
y=3.5
e<-c(100, 100)
while (e[1]>0.0001 & e[2]>0.0001){
J=matrix(data = c(2*x+y, x, 3*y^2, 1+6*x*y),nrow = 2,ncol = 2,byrow = TRUE)
deter=det(J)
u1=u(x,y)
v1=v(x,y)
x=x-((u1*J[2,2]-v1*J[1,2])/deter)
y=y-((v1*... |
8366180dff837459fdcff003d9cba0d03d7ec69c | 6af188c45ed21260e94f099f06318f50fbe319e4 | /packages.R | c8b39011765541d18423ff27cc1f53fb6fa3d93d | [] | no_license | rmflight/mapart | 1a88d78e423870d0911557d103a0b291d10ca359 | 7f2b437f9dbf0ff8faf3709f1fa0152c7e2e25f9 | refs/heads/main | 2023-03-16T22:04:41.026186 | 2021-03-22T00:41:22 | 2021-03-22T00:41:22 | 350,159,066 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 185 | r | packages.R | ## library() calls go here
library(drake)
library(osmdata)
library(dplyr)
library(ggplot2)
library(tigris)
library(sf)
library(jsonlite)
library(purrr)
library(osrm)
library(lubridate)
|
e5614ba187ca9797cf0a130a2ee07e603c2e082f | da240952753caf3a3b79e777b1bfe24140aaba86 | /ZAnc/plot_slope_elev.R | 45dabaae865f834d77ff24a46eff7c3674762cd7 | [] | no_license | cooplab/hilo | ea5ea9d472ee7cf2cab17aa83e8f568c54fce34c | 64483aaf0abd40d25846969b8732e07abf9b7667 | refs/heads/master | 2023-08-18T13:03:07.458675 | 2021-09-20T20:12:10 | 2021-09-20T20:12:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,958 | r | plot_slope_elev.R | #!/usr/bin/env Rscript
library(dplyr)
library(ggplot2)
# this script plots slope from lm ancestry ~ elev across the genome,
# and calculates FDRs to show outlier loci
# load variables from Snakefile
# prefix = "HILO_MAIZE55_PARV50"
# K = 3
zea = snakemake@params[["zea"]]
# zea = "maize"
colors_file = snakemake@input[... |
2056525132ca0f2f83f93b7b4f86c17ea919e2c2 | 2995eba3e39521845263e55777beb80cb702b60c | /Excel_help.R | 4e6f98af803a82025610b7b7916511291edc1d84 | [] | no_license | VictorMartinezRech/TFG_R | 074c669e603d217ebd28b5991da4b25d97ed2d9d | 62b3d29d26f1b877889d1634cf657d2148a7e511 | refs/heads/main | 2023-06-07T11:41:45.891096 | 2021-06-27T22:24:43 | 2021-06-27T22:24:43 | 380,693,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 138 | r | Excel_help.R | #Citation packages
citation("RDota2")
#Check data
install.packages("RDota2")
library(RDota2)
data()
data("B00data")
B00.teams |
0a002f3d51e027d708b06fe38fb44d722cbd70c0 | a3c78700a65f10714471a0d307ab984e8a71644d | /apps/api/R/general.R | 5f5c9ec36b2bbdadbc7517c5a27ae4358263275b | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PecanProject/pecan | e42a8a6a0fc9c0bb624e0743ab891f6cf131ed3f | ce327b92bf14498fa32fcf4ef500a7a5db5c9c6c | refs/heads/develop | 2023-08-31T23:30:32.388665 | 2023-08-28T13:53:32 | 2023-08-28T13:53:32 | 6,857,384 | 187 | 217 | NOASSERTION | 2023-09-14T01:40:24 | 2012-11-25T23:48:26 | R | UTF-8 | R | false | false | 987 | r | general.R | #* Function to be executed when /api/ping endpoint is called
#* If successful connection to API server is established, this function will return the "pong" message
#* @return Mapping containing response as "pong"
#* @author Tezan Sahu
ping <- function(req){
res <- list(request="ping", response="pong")
res
}
#* Fun... |
64ba13ed5552b797929364dcfe767a31b86a716a | b2d394dbc7335cccaf559d9d6fcc4c2272cc8e25 | /R/underscoreReplacements.R | a1bda65dfc7deb6e4f3536d22d1a22a7429b7989 | [] | no_license | NanaAkwasiAbayieBoateng/replyr | 7e52bfceb96b5dba9f068b4d824abf90d26d7333 | 7d4f2ed8924c4a4f463ea1bf768713fd953bdb88 | refs/heads/master | 2021-07-25T07:37:07.734022 | 2017-11-07T15:31:01 | 2017-11-07T15:31:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,736 | r | underscoreReplacements.R |
# replacements for a few of the underbar/underscore forms form dplyr 0.5 and earlier
#' Rename a column
#'
#' @param .data data object to work on
#' @param ... force later arguments to bind by name
#' @param newName character new column name
#' @param oldName character old column name
#'
#' @examples
#'
#' d <- data... |
41c3bc3544a0c43e26283343b04cea2bac764122 | ea0635e26b53007212f87178aad1ed0ee378623e | /code/tools.R | 114f7dfc072169fdfb4e8a2f6293af7081779798 | [] | no_license | mqwu/project-fitcar | 5c505c5f2a19b485d1c36a65795cc8bbfd9329ba | 3aed3d8950ded26a34298352f94327e4db4e8308 | refs/heads/master | 2021-05-07T00:41:39.285889 | 2017-12-07T21:49:46 | 2017-12-07T21:49:46 | 110,168,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,922 | r | tools.R |
#--------------------------------------------------------
# Tools: collection of useful functions
#--------------------------------------------------------
load_libs <- function(requiredPackages) {
# load all required libs, if they are not installed try to install them automatically
#
# Args:
# requi... |
8b12f377fe83306aae5e92057c4e68ec4c98dbf9 | a81e1ca6fe4c13be28d29f639ec768b51d016501 | /R/get_estimates.R | 26ca6b2ece96d32c58b01d6eabef4d394d937e13 | [] | no_license | cran/bain | d5f139bd8e644ffc339f8e6eea9c702cddfa5329 | 5bfb947c1569788eb959f5b45a39126b7f9b0ed6 | refs/heads/master | 2021-12-25T13:33:41.105293 | 2021-12-06T12:20:02 | 2021-12-06T12:20:02 | 169,492,749 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,184 | r | get_estimates.R | #' @importFrom utils tail
rename_function <- function(text){
fulltext <- paste(text, collapse = "")
new_names <- names_est <- text
#if(grepl("[\\(\\)]", fulltext)){
# text <- gsub("\\(", "___O___", text)
# text <- gsub("\\)", "___C___", text)
#}
text[text == "(Intercept)"] <- "Intercept"
if(g... |
b699290ce2f42f9f4323f4100367b0350fd0c53d | eeb8dea0dc1ff39545996395f8d4d36290edfb8e | /man/sgdm.best.Rd | debe74fbc9cdab68b98223027296f3e0173ada28 | [] | no_license | steppebird/sparsegdm | e71c66fbf11aee1fe61b0e86f655ebb9a216e938 | 16280b2b7bd2c1e08c460f1e01a15a37cb49894e | refs/heads/master | 2021-04-30T08:19:37.879407 | 2017-02-23T09:18:01 | 2017-02-23T09:18:01 | 121,371,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,290 | rd | sgdm.best.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sgdm.best.R
\name{sgdm.best}
\alias{sgdm.best}
\title{Retrieves the best SGDM model, SCCA canonical components or SCCA canonical vectors, as resulting from the SGDM parameter estimation}
\usage{
sgdm.best(perf.matrix, predData, bioData, outpu... |
b203e5cd1fed36182e857ed4d5bca89d16cefc29 | 7f386b1678e1a09050ade6b571cb0718e4c0f072 | /man/junit_reporter.Rd | ec5432b2443815977abd448fc323e4fe5656a120 | [] | no_license | MultiBUGS/multibugstests | cd7ba608b00d3cc47fa713d58bedd1bb03c58c2e | 47609931fe0fa40dae4a4e493f9d540cd22ee71b | refs/heads/master | 2020-04-12T10:26:36.572757 | 2020-02-18T15:02:45 | 2020-02-18T15:02:45 | 162,429,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 510 | rd | junit_reporter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/junit.R
\name{junit_reporter}
\alias{junit_reporter}
\title{Report result of test for junit}
\usage{
junit_reporter(type, ...)
}
\arguments{
\item{type}{One of \code{"pre"}, \code{"post"} and \code{"wrapup"}
specifying the stage that needs re... |
6cc534b466fd4ad09ec1cd09b736caa44bedb525 | 1ca95bcfeb6c33a310544efbab4dcf326dca30d7 | /man/today.Rd | b5295e5cbb04ee1ef4b68d89329df6ec9637d4ab | [
"MIT"
] | permissive | reconhub/epirisk | ea180c4802b29a7b2cbde0eaf29802b0adff4187 | b4de6b6fea543b068bcb0a14c17ee53272a63ff4 | refs/heads/master | 2020-05-03T03:21:06.311933 | 2019-03-29T16:47:26 | 2019-03-29T16:47:26 | 178,395,646 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 240 | rd | today.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/today.R
\name{today}
\alias{today}
\title{Return current date}
\usage{
today()
}
\description{
This function returns the current date, as a \code{Date} object.
}
|
b0c0e05bfa97b8a97204d758c5831f721232c02b | 2aad4a718def7f616426e80b0bb7b38c34b97384 | /naivebayes.R | 61bcb799601681113988ef9b8dd49242aed7eda6 | [] | no_license | anniepan21/Machine-Learning-in-R | 1997239caba861f4038ff6af522d50c53cf048b9 | 5aa2e85e0aabda52e8c94a6ea44508d1f9d27ec5 | refs/heads/master | 2021-08-07T16:16:08.236098 | 2017-11-08T14:31:32 | 2017-11-08T14:31:32 | 106,716,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,383 | r | naivebayes.R | ### Lab – Chapter 4 Probabilistic Learning – Classification Using Naïve Bayes
### Read data
eegIDRecord_raw <- read.csv("eegIDRecord.csv")
str(eegIDRecord_raw)
### Normalize all 12 columns
normalize <- function(x) { return ((x - min(x)) / (max(x) - min(x))) }
eegIDRecord_n <- as.data.frame(lapply(eegIDRecor... |
bcfeda9d3b37fff3cfc45ac14a4005ffe9a41c01 | 351fe3d417a5cb5f5b3c8c9d291e6f55df93ec19 | /analysis/two_part_mixed_with_smote_category_code.R | 7486ec1149766a28201226958590ce004a48d2de | [
"MIT"
] | permissive | desaip2468/deguri | 7b47378027d3f51284eb9d1bbc421a7c5dbeb585 | a75c2a6f40674e0e91d27c88f3e12b2bc0ed8d47 | refs/heads/master | 2020-05-02T05:37:13.152683 | 2019-10-02T05:54:36 | 2019-10-02T05:54:36 | 177,775,748 | 3 | 0 | null | 2019-06-13T08:55:11 | 2019-03-26T11:35:21 | HTML | UTF-8 | R | false | false | 1,536 | r | two_part_mixed_with_smote_category_code.R | # select, filter, %>%
library(dplyr)
## Loading DMwR to balance the unbalanced class
library(DMwR)
## Train test split
library(caTools)
data <- read.csv('data/payments_ppdb_app_g2_category_code_aggregated.csv')
x <- data %>% filter(age >= 50 & approval_real_price_sum_by_by_approval_type_LT01 < 800000)
target <- x %... |
fd2b3fd263a63cf61b30b014d20262daa16ae735 | 145e98e2c62ff472b7f20cab718f772d911fa6ee | /PBSawatea/man/plt.quantBio.Rd | dcdaf5fccd9f9f9a866ff7cb4f39c7f18faa03a0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | pbs-software/pbs-awatea | f69546fedd94945bba4162ea36b88c7a10adc0c3 | a895bb969a3e24ab55dd854dcccd73252af0eddb | refs/heads/master | 2023-07-09T20:16:48.449213 | 2023-07-04T17:30:58 | 2023-07-04T17:30:58 | 37,491,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,404 | rd | plt.quantBio.Rd | \name{plt.quantBio}
\alias{plt.quantBio}
\alias{plt.quantBioBB0}
\title{
Plot Quantile Boxes of MCMC and Projected Biomass
}
\description{
Plots MCMC and projected biomass as quantile boxes, the former in black, the latter in red.
}
\usage{
plt.quantBio(obj, projObj=NULL, policy=NULL,
p=tcall(quants5)... |
1ff350e857f9033bf16eb676afc2a61c9ffe76a5 | b0e9772ea69ac06e39cade7ac2d60fc256317eef | /inst/scripts/population.R | ef3f94a4df42394e231dce8b47fb05fed6545437 | [] | no_license | UCLouvain-CBIO/rWSBIM1207 | 69d302f70d05592c1abce3979c6260cecc1ec372 | 43745eae061dbb193d39a2f1f58a74d02fe29fec | refs/heads/master | 2023-07-20T19:00:59.404868 | 2023-07-19T07:09:48 | 2023-07-19T07:09:48 | 164,664,929 | 0 | 1 | null | 2019-02-16T21:19:34 | 2019-01-08T14:21:51 | R | UTF-8 | R | false | false | 1,754 | r | population.R | ## Data downloaded from the Belgian statbel.fgov.be page describing
## the population density on 2023-07-18.
##
## https://statbel.fgov.be/fr/themes/population/structure-de-la-population/densite-de-la-population#figures
library(readxl)
library(tidyverse)
## sheet names
sheets <- readxl::excel_sheets("../extdata/Popul... |
13f3dce69caa8dede9fc26b6985c67ae882676b5 | 3ca1380eefc7eaba25fc6149e32ea8fc088babf8 | /man/butter_classify.Rd | f04e0f9cf2b7ded77363ce8fa9f0e93e256b0add | [
"MIT"
] | permissive | skannan4/singleCellNet | a52341f029d5c7f74c36a0ffd28989a9ee557eff | 2c91d3a05bbbb5857c6af9a4cc691124b977b1ca | refs/heads/master | 2020-04-19T07:11:07.169109 | 2019-01-28T22:58:50 | 2019-01-28T22:58:50 | 168,039,964 | 0 | 0 | MIT | 2019-01-28T21:24:54 | 2019-01-28T21:24:54 | null | UTF-8 | R | false | true | 378 | rd | butter_classify.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/butter.R
\name{butter_classify}
\alias{butter_classify}
\title{classify}
\usage{
butter_classify(washedDat, classList)
}
\arguments{
\item{washedDat}{result of wash()}
\item{classList}{result of pipeButter()}
}
\value{
matrix of classifier r... |
806002cb3e1696993e201f3cf8d4b0e93706dde4 | 2fe9c1959aec00d2cfd7f9ec417a28ba5c92a9f9 | /sw/FIgraph/FIG/man/FItable.Rd | cdb1b9993d4f6f5d31204b2f084e04e57470d044 | [] | no_license | BitlDku/home | 0cd8cbf0c9d75e30d0a965a49668bb72a2831e34 | 6593826c872fb72891fcaa7c6030de635dc38d1d | refs/heads/master | 2022-03-10T05:59:33.976156 | 2022-02-15T07:52:03 | 2022-02-15T07:52:03 | 154,793,577 | 2 | 1 | null | 2021-07-26T11:40:39 | 2018-10-26T07:19:22 | HTML | UTF-8 | R | false | true | 1,575 | rd | FItable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FItable.R
\name{FItable}
\alias{FItable}
\title{Create a feature interaction table}
\usage{
FItable(
model,
train,
target.name,
grid = 50,
task = "regression",
interaction_type = "OH2",
all.class = TRUE
)
}
\arguments{
\item{mod... |
c264337ca38fcff0a77192a9109d6a759b9022a6 | acca4ebb9fec1728a5a9004193b98b830c0c74ac | /r10_control.r | b430feb94fc7018b201b864b30f4ee14bc9a5921 | [] | no_license | Minki96/lab-r | 8e43bcff537319511e6a2694bd0afb885370333b | c274088237e99057f8c9fa6b2e6b6bb98b686948 | refs/heads/master | 2022-06-17T06:10:15.525771 | 2020-05-06T01:48:18 | 2020-05-06T01:48:18 | 261,624,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,253 | r | r10_control.r | # Control Statement (제어문)
# 1) 조건문
# if(조건식) {
# 조건식이 참일 때 실행 할 문장들.
# } else {
# 조건식이 거짓일 때 실행 할 문장들.
# }
x <- 11
if (x > 0) {
print("Good") # 0보다 클때
} else if (x < 0) {
print("Bad") # 0보다 작을 때
} else {
print("zero") # 그 외 나머지
}
v <- c(1, -2, 0)
v =! 0
# >, <, --, !=
# if - else 문에서 조건... |
d6f95e364273dc9381ea9fc14485974eba948912 | 98882947bd6b74ac8645a3d1c8843d953f1a808c | /FeatSel.R | d9d5d3371429e46cf55ed22792504a0fdc5db054 | [] | no_license | dakshasrani/Horcruxes | 393be9851af6710b783ed3ec837da6cd094d1107 | 9628689060ff1ba225de38298a34994d5862dd08 | refs/heads/master | 2021-01-22T01:55:11.421432 | 2015-03-13T19:49:34 | 2015-03-13T19:49:34 | 32,130,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | FeatSel.R | library(CORElearn)
estReliefF <- attrEval(Cover_Type ~ ., train1, estimator="DistAUC")
Elevation, Soil_Type, Horizontal_Distance_To_Roadways, Wilderness_Area,
Horizontal_Distance_To_Fire_Points,
Horizontal_Distance_To_Hydrology, Hillshade_3pm, Hillshade_9am, Cover_Type))
test1 <- subset(test, select=c(Elevation, ... |
84e6b798102977c98d181a018247f72ad092d4f6 | 16d40a7332a4bcfebcc2d21842f0fc71cef36e46 | /Análisis Exploratorio de Datos/Clase 1/Clase 1.R | 5b361be781ead8e10002e2c0187c973b0e8dac7c | [] | no_license | primo1594/Maestr-a-en-Ciencia-de-Datos | bce42981d6d2dadf9c2947bc6b4e21f554542a81 | 3f2c10db047f5a349661731fddaea640bd9e1e0e | refs/heads/master | 2020-04-16T07:57:16.657613 | 2019-05-11T15:52:23 | 2019-05-11T15:52:23 | 165,405,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,001 | r | Clase 1.R | data<-read.table("custdata.tsv", sep = '\t', header = TRUE)
head(data)
plot(data)
summary(data)
library(dplyr)
data2<-filter(data,data$health.ins==F)
summary(data2)
library(ggplot2)
ggplot(data, aes(x=" ",y=data$income))+
geom_boxplot()+
geom_jitter(width=0.2)+ylab("yearly income in thousands")
+xlab("# of customer... |
872bcc4a8742be2cb457433a24017b7b0a53bc6b | a1241d111c801c927dc800722e82efd2329c1474 | /man/visit_occurrence_data.Rd | c17516deafe2936bae931a0914db045e0c235dd1 | [] | no_license | zkzofn/GEMINI | 819203296a8e6181aac2e8dfae868ee7a3e6c69b | 90cea036dc9fe851032c53dd3e85fb922aac7f6f | refs/heads/master | 2020-05-16T15:58:49.945475 | 2019-03-28T01:54:38 | 2019-03-28T01:54:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 313 | rd | visit_occurrence_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visit_occurrence_data.R
\name{visit_occurrence_data}
\alias{visit_occurrence_data}
\title{visit occurrence data}
\usage{
visit_occurrence_data()
}
\description{
This function extract data from visit occurrence table
}
\keyword{gemini}
|
0a0dbfa34beba7f377f0f634cbb2e3200382ab9d | d80c94901adad9211f8cffb782d0e91e9860299b | /man/goccu.Rd | ef9f08c2111a9bc4ed69571be2d82dd69dd5d607 | [] | no_license | rbchan/unmarked | b104daaa4d05178e5be74a509cc771ae5f246e55 | ac40eede793b0997209117080912a866a2ff18ae | refs/heads/master | 2023-08-16T22:44:39.138574 | 2023-08-11T20:21:52 | 2023-08-11T20:21:52 | 564,481 | 30 | 36 | null | 2023-08-11T20:21:53 | 2010-03-16T03:57:15 | R | UTF-8 | R | false | false | 3,062 | rd | goccu.Rd | \name{goccu}
\alias{goccu}
\title{
Fit multi-scale occupancy models
}
\description{
Fit multi-scale occupancy models as described in Nichols et al. (2008) to
repeated presence-absence data collected using the robust design. This model
allows for inference about occupancy, availability, and detection probability.
}
\usa... |
db5b8c08d510f1ab74a7ddac1602ddcc5b4d8011 | 3a7274f84c17fbaf0d27c791bcc217a9bfba1bef | /4.28.R | 624d2b1077674550f61225e785a0436dcc353753 | [] | no_license | kyh31876/R-studio | 75f5fbcb4fd7331668f45b6b0bba81a7a4f7a29c | 6408b5cd5df45b431049d0e20aea399b640082fb | refs/heads/main | 2023-05-09T14:09:15.314846 | 2021-06-02T04:08:45 | 2021-06-02T04:08:45 | 346,007,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,780 | r | 4.28.R | install.packages("readxl")
library(readxl)
install.packages("dplyr")
library(dplyr)
#4번
exam_4 <- read_excel("C:/Users/OWNER/Downloads/smoke.xlsx")
#a)
table(exam_4$Gender)
#b)
exam_4$BMI=(exam_4$Weight/((exam_4$Height)^2))
mean(exam_4$BMI)
sd(exam_4$BMI)
#c)
exam_4 %>%
filter(Age >30,Gender=="F") %>%
group_... |
6d43df78db9259d57fda586610c7d5abf83bdbb9 | ab61691ce9b799bb097e5f2233140bb6350ae51b | /man/get_avatar.Rd | a7df4bf45d2652627b7bde6d995de1afa17f01b0 | [] | no_license | klapaukh/tumblR | a4c929de30574484bdf907a31ccc9b81b3d675ad | 7a98ca33c18e141c0c2433e58da2435ea7a25acb | refs/heads/master | 2021-01-19T16:59:03.471819 | 2014-02-22T03:25:31 | 2014-02-22T03:25:31 | 16,942,229 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 429 | rd | get_avatar.Rd | \name{get_avatar}
\alias{get_avatar}
\title{Get an blogs avatar}
\usage{
get_avatar(blog, size = 64)
}
\arguments{
\item{blog}{The blog url}
\item{size}{Size of the image to get (16, 24, 30, 40, 48
,64, 96, 128, 512)}
}
\description{
Get the avatar of a blog in a range of sizes. The allowed
sizes are 16, 24, 30,... |
1755a3fc94058155fc56561a75841f621d01cb14 | 186908f9645ce49d0e008968a57db6a9989c79ba | /inst/doc/estimate_RACS_properties.R | 32b46876bc5c5cd84f5faba136366a48d4071edb | [] | no_license | cran/lacunaritycovariance | 93cc93364dfd128ededd21c4b6dc21000edea5d1 | 6ad7f8fca8b8608c3a0336a744ffd533c2eca2b0 | refs/heads/master | 2023-03-06T04:51:29.485917 | 2023-02-08T07:12:33 | 2023-02-08T07:12:33 | 198,593,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,590 | r | estimate_RACS_properties.R | ### R code from vignette source 'estimate_RACS_properties.Rnw'
###################################################
### code chunk number 1: loadbinarymap
###################################################
library(lacunaritycovariance)
load(system.file("extdata/egbinarymap.RData",
package="lacunaritycovariance"))... |
180849843c6f29ce6bb5db59ae15c5c68f5a5ee4 | 43f6d2a89e611f49d1bff870e6381fa182184ce2 | /man/calc_AICc_vals.Rd | 1e91813315c58e9ed4ef874cf1bb241a8bc189bb | [] | no_license | pedroreys/BioGeoBEARS | 23bab5299c44b4cfa2ab0e9dbe0de4ecf2196f69 | 9aef25ebf57b854e6f02d5a3a2ca420e31833123 | refs/heads/master | 2021-01-17T17:12:08.479890 | 2013-08-04T02:35:28 | 2013-08-04T02:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,018 | rd | calc_AICc_vals.Rd | \name{calc_AICc_vals}
\alias{calc_AICc_vals}
\title{Calculate AICc values for a list of models}
\usage{
calc_AICc_vals(LnL_vals, nparam_vals, samplesize)
}
\arguments{
\item{LnL_vals}{A vector of log-likelihoods (typically
negative, but may not be for continuous data).}
\item{nparam_vals}{A vector of the numbe... |
3b78993d74f07e4ff47d0180f7006f639a10c049 | ef2bbc765a62c44ca93a586fbc6b0e8232048bfe | /height_predictor.R | 34763f907a7026d8a0765b2a3e779d20b2849434 | [] | no_license | jayzuniga/R | 460e814bd193907770b037871b963b19c485b06a | 7f62122bb73f6eb75ae4a98cd3e9c9c32d93b9f3 | refs/heads/master | 2021-07-17T18:25:45.326958 | 2017-10-25T18:58:22 | 2017-10-25T18:58:22 | 106,640,679 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 527 | r | height_predictor.R | predict_height <- function(sex,
dad_height,
mom_height) {
total_height = dad_height + mom_height
if ( sex = "M") {
total_height = total_height + 5
} else {
total_height = total_height -5
}
return total_height/2
predict_height <- function(sex, dad... |
5df1c14aa63af6cacfb7040ad88de9f9b64bf611 | 62504fe2d38b03b23010d79a33be8e775d3ccbdf | /scripts/heatmap_subset_of_Results.R | ebe4fe551539bf66827fe1eb4f0ce5577a5f732c | [] | no_license | orshalevsk/GWAS_project | fa6531b6bdd807b623ea094e66f19ffa3619de9a | 4333bc668174d85a7b985eb90fe6455829471c95 | refs/heads/main | 2023-08-06T11:14:56.844273 | 2021-10-08T08:58:41 | 2021-10-08T08:58:41 | 371,060,239 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,862 | r | heatmap_subset_of_Results.R | '''
Presenting significant results in heatmap, clustered by the collection of strains of interest.
'''
library("devtools")
library("lme4")
library("lmtest")
library(ggplot2)
library(MASS)
library(FSA)
library(agricolae)
require(vegan)
library(multcomp)
require(nlme)
library(randomForest)
library(tidyr)
library(treeWAS)... |
6652be9e3e662dc01e5a56f3dc48af72fbc9c0a9 | e6f4bf5ad733a79c4743440010c771b5171ccbae | /Documents/DataScience/GandC/run_analysis.R | 090135f3da95cfb30c7dbe083b32462604df9ae4 | [] | no_license | gmlander/getting-and-cleaning-data-project | 8008f36e85d1689cfd274aff25707773be4d6194 | 4cd0baf68cc5acfa01a2e810ceca3234b6e83ba8 | refs/heads/master | 2021-01-10T10:48:28.352577 | 2018-05-27T05:35:09 | 2018-05-27T05:35:09 | 51,799,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,227 | r | run_analysis.R | # READ each of the 8 txt files into individual data.frames
#Training datasets
xTrain <- read.table("UCI HAR Dataset/train/X_train.txt")
yTrain <- read.table("UCI HAR Dataset/train/y_train.txt")
subjectTrain <- read.table("UCI HAR Dataset/train/subject_train.txt")
#Testing datasets
xTest <- read.table("UCI HAR Dat... |
c0e56934e577a6c33be4e9d852e748933949cc17 | 2b5728585d67ad9f0210a21189459a1515faa72f | /R/scatterPlot.R | af1c50d7f027e4cb8696bc3bb7dbae95e8808872 | [] | no_license | Matherion/userfriendlyscience | 9fb8dd5992dcc86b84ab81ca98d97b9b65cc5133 | 46acf718d692a42aeebdbe9a6e559a7a5cb50c77 | refs/heads/master | 2020-12-24T16:35:32.356423 | 2018-09-25T06:41:14 | 2018-09-25T06:41:14 | 49,939,242 | 15 | 9 | null | 2018-11-17T10:34:37 | 2016-01-19T08:50:54 | R | UTF-8 | R | false | false | 4,222 | r | scatterPlot.R | #' Easy ggplot2 scatter plots
#'
#' This function is intended to provide a very easy interface to generating
#' pretty (and pretty versatile) \code{\link{ggplot}} scatter plots.
#'
#' Note that if \code{position} is set to 'jitter', unless \code{width} and/or
#' \code{height} is set to a non-zero value, there will st... |
0493e19c75c7d1dd22e76a1b0715d33c044f6722 | b139c8d1d44220e6f1d609c14891462d6899e255 | /theapp/man/redisSetThis.Rd | 40ee93b9f781cb71e1d7b0f1b151a57652049e5a | [
"MIT"
] | permissive | Pivot-Sciences/positive-possum | 0f8fc8a939c4c0a75532bdf7c1860590ca6e6dab | 251158bfe759a5950da1835e7cf90f96dd7fc0ff | refs/heads/master | 2021-04-09T15:42:06.827512 | 2018-03-19T08:45:13 | 2018-03-19T08:45:13 | 125,510,962 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 455 | rd | redisSetThis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/redis_SetThis.R
\name{redisSetThis}
\alias{redisSetThis}
\title{Wrapper for redis get}
\usage{
redisSetThis(conf, key, value)
}
\arguments{
\item{host}{the users short name}
\item{port}{the range of dates}
\item{inputQuery}{the range of dat... |
7da2e9d0d45061f80033da84045f2d94f418e154 | 750f329c6f7f9b0b67fd5425b369ec7a7bfd70ef | /SouthWest.R | 4a1a033516a71cb4b697e585a593e84100abc7a3 | [] | no_license | irecasens/southwest | 27161980222411829c7a9cb271924856c887ce3f | 749188acf0a1308dea211fe4c2152ed263aafc22 | refs/heads/master | 2021-07-04T04:02:06.229938 | 2017-09-27T20:55:36 | 2017-09-27T20:55:36 | 105,067,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52,237 | r | SouthWest.R |
library(xlsx)
library(ggplot2)
library(tidyr)
library(scales)
library(hexbin)
library(data.table)
library(plotly)
library(PerformanceAnalytics)
library(dplyr)
# LOAD DATA and MERGE with GMT
df <- read.csv("Airline_ontime_data (1).csv",
header = TRUE,
quote="\"",
stringsAs... |
00d4396a7f97f31fb0cc1787ec4e6770923e6146 | e74744117fbfbc41973acbcaf71c49e583ae175a | /man/get_statsDB.Rd | 2ab539c889e754ce39fb964c8760e1631ed795d2 | [] | no_license | pa00gz/junr | 621460d0af704dc61d7934e11ca07826953bcd6e | dd6d1173891296ae6d9537ce0814a397faba1273 | refs/heads/master | 2022-04-02T08:52:38.355962 | 2020-02-01T08:16:13 | 2020-02-01T08:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 372 | rd | get_statsDB.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getstats.R
\name{get_statsDB}
\alias{get_statsDB}
\title{Get hits to dashboards}
\usage{
get_statsDB(base_url, api_key)
}
\arguments{
\item{base_url}{The base URL of the Junar service}
\item{api_key}{The user's API key for the Junar service}... |
88943ea6d97d40cf27f243fd4f23fa7c6eae8764 | 93fef68695ec291350e728b928c608f6cb9e09eb | /NewTCGA_2017scripts/Thesis_final_scripts/Prognostic_lncs_more_detail_paper/final_scripts_2019/revisions_2020/figure6_de_analysis.R | 0671c9cefe57b003c125a7b3e7c607d83dabb15d | [] | no_license | HongyuanWu/lncRNAs_TCGA | ae4fa9202704545fc59a9dae19dabeeda2b7cb34 | cbfe2356f8d65b20672dcc378fe7de309eec3dba | refs/heads/master | 2023-07-28T00:11:29.152750 | 2021-09-09T13:33:01 | 2021-09-09T13:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,684 | r | figure6_de_analysis.R | set.seed(911)
source("/u/kisaev/lncRNAs_TCGA/NewTCGA_2017scripts/Thesis_final_scripts/Prognostic_lncs_more_detail_paper/final_scripts_2019/revisions_2020/load_data.R")
#setWD
setwd("/.mounts/labs/reimandlab/private/users/kisaev/Thesis/TCGA_FALL2017_PROCESSED_RNASEQ/lncRNAs_2019_manuscript")
#------FEATURES-----------... |
686b3dc71ea6c07fcd61fe7dc687f5192b390eab | 0a14ea580df557be55f6c3e583a2c08054805cf8 | /Plot1.R | 4a92c75e4bc5844cb448a72711e9d614c1f449b5 | [] | no_license | danwilliams39/ExploringDat.Project | 198feeeeabc5d02534e9c080d6692677a89d7a3e | 61ff2ea459cfee666e7f19233c6006fe4366524e | refs/heads/master | 2020-07-03T19:34:00.343173 | 2016-08-26T15:34:08 | 2016-08-26T15:34:08 | 66,581,017 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 559 | r | Plot1.R | install.packages("gridExtra")
library(gridExtra)
unzip("Data.2.zip")
class.code=readRDS("Source_Classification_Code.rds")
summary.pm25=readRDS("summarySCC_PM25.rds")
master=merge(class.code[,c("SCC","SCC.Level.One","SCC.Level.Two","SCC.Level.Three")],summary.pm25,by.x="SCC",by.y = "SCC")
year.table=with(master,tapply... |
281085d83f4fd4af504a1900884b2c9126a0ef20 | 4f5d384db579ef088bfe75fbbec5ccbbc9ccf00e | /ZIPModel.R | f6df1d124fd3d7482042aef53385e809194c3192 | [] | no_license | mEpiLab/Nohra_SourceAttributionCode | 3c07a71a8648f16ea2b42278a7941b55a3d68434 | d9fa4b9598649d1df76dc55bd7c88dbbbbe69e1b | refs/heads/master | 2020-05-31T03:57:28.148401 | 2019-06-03T22:37:19 | 2019-06-03T22:37:19 | 190,091,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,667 | r | ZIPModel.R | # read in the data
setwd("C:/Users/Antoine/Documents/Antoine- Massey/Thesis/C. jejuni/poultry_counts")
dat <- read.csv("poultry_counts.csv") ###encoding="utf8")
library(survival)
# convert sample column to an equivalent volume
# 50uL is 0.050 mL
# 1000uL is 1.000 mL
# p100uL is 4.000 mL as the pellet ... |
ae2afce473e3a5fab36301db6ab02cf2c39851c8 | f1d4d986bbfe4d08026fb1c7f5e921becfb8895d | /man/updateImagesOnEdgeAdded.Rd | 502be9cc96d6548298bd20fb20834a5639a9f249 | [
"Apache-2.0"
] | permissive | mickash/Adaptive-Bayesian-Networks | 988d3f2fcfeed921055035437e1f4c52f5f89660 | 56611cf9f8562ebcbfa17d876d2a7d27c201b67a | refs/heads/master | 2020-09-09T14:51:25.727845 | 2019-11-13T14:20:59 | 2019-11-13T14:20:59 | 221,476,013 | 1 | 0 | null | 2019-11-13T14:21:01 | 2019-11-13T14:18:43 | R | UTF-8 | R | false | false | 667 | rd | updateImagesOnEdgeAdded.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/AddEdge.R
\name{updateImagesOnEdgeAdded}
\alias{updateImagesOnEdgeAdded}
\title{Update images after adding an edge}
\usage{
updateImagesOnEdgeAdded(cn, net, dropImages, from, to)
}
\arguments{
\item{cn}{An open RODBC connection.}
\it... |
a7735e33ba1127fccec58ae28713e6fb6f0b4c56 | 63538ef67364d53ae169c7501ae9a95c874eef34 | /man/F2Fun.Rd | f42f2863952df647faf5d4969a548363e1beb267 | [] | no_license | cran/SEA | b9e658c8fd61ebcc7d84fb308d57bdbd32df0fcc | ef7fc9f003eb6c097ea659d3dbc632183b0b2673 | refs/heads/master | 2022-05-03T11:22:27.582739 | 2022-03-30T06:30:12 | 2022-03-30T06:30:12 | 134,713,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | rd | F2Fun.Rd | \name{F2Fun}
\alias{F2Fun}
\title{segregation analysis of F2 population}
\description{
Phenotypic observations in F2 population have often been used to identify mixed major-gene plus polygene inheritance model for quantitative traits in plants.}
\usage{
F2Fun(df,model)
}
\arguments{
\item{df}{phenotype matrix... |
adcb21970a4dfb81dd93e532bfa0ccbee5421699 | dfc537e95db02570648e1ad40487fffc9aca4b29 | /man/relabel_class.Rd | 78ad0be1d0ca057f08a410e0c32a7b5b7af5f3fb | [
"MIT"
] | permissive | AlineTalhouk/diceR | 294d9b53844e5ae569d8269d29417ecbf9363903 | a97d3295a10881532dba1d294b5f6165e79694be | refs/heads/master | 2023-03-17T15:29:08.135407 | 2023-03-13T19:22:45 | 2023-03-13T19:22:45 | 69,271,060 | 39 | 13 | NOASSERTION | 2021-07-22T18:27:34 | 2016-09-26T16:45:01 | R | UTF-8 | R | false | true | 669 | rd | relabel_class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{relabel_class}
\alias{relabel_class}
\title{Relabel classes to a standard}
\usage{
relabel_class(pred.cl, ref.cl)
}
\arguments{
\item{pred.cl}{vector of predicted cluster assignments}
\item{ref.cl}{vector of reference labels to... |
aba8c34907335654d45b209781ed3351c62f86a0 | 5d9af2ec080a8b36f5fc3a1fc4b315f3d879d15a | /R/BIFIE.cdata.select.R | 19fd79b835bae1179473e7502cd7716076a6d1a7 | [] | no_license | alexanderrobitzsch/BIFIEsurvey | cd8f75239a6a73b14e8b241b69bc7c9300829063 | 227f2794ddc19b3f889b54af476dc5e14f44735f | refs/heads/master | 2022-05-02T23:23:22.688282 | 2022-04-05T10:15:01 | 2022-04-05T10:15:01 | 95,295,402 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,081 | r | BIFIE.cdata.select.R | ## File Name: BIFIE.cdata.select.R
## File Version: 1.13
#--- selection variables or datasets in BIFIEcdata objects
BIFIE.cdata.select <- function( bifieobj, varnames=NULL, impdata.index=NULL ){
if ( ! bifieobj$cdata ){
stop("Use 'BIFIE.data.select' or the general function 'BIFIEdata.select'")
}
... |
f673ff42c94c35efa547cfa60018c370e5891277 | 4344aa4529953e5261e834af33fdf17d229cc844 | /input/gcamdata/R/zaglu_L100.FAO_SUA_connection.R | ad0ae3de84cd9c974510055bd0affc58ab53f76b | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | JGCRI/gcam-core | a20c01106fd40847ed0a803969633861795c00b7 | 912f1b00086be6c18224e2777f1b4bf1c8a1dc5d | refs/heads/master | 2023-08-07T18:28:19.251044 | 2023-06-05T20:22:04 | 2023-06-05T20:22:04 | 50,672,978 | 238 | 145 | NOASSERTION | 2023-07-31T16:39:21 | 2016-01-29T15:57:28 | R | UTF-8 | R | false | false | 17,511 | r | zaglu_L100.FAO_SUA_connection.R | # Copyright 2019 Battelle Memorial Institute; see the LICENSE file.
#' module_aglu_L100.FAO_SUA_connection
#'
#' Pull and further process SUA data needed
#'
#' @param command API command to execute
#' @param ... other optional parameters, depending on command
#' @return Depends on \code{command}: either a vector of re... |
43da32f0198642f9c2fecd8e667123e3c982f345 | 4d15bef2e5df72e1877cddd95d6a7dcc3e8f9460 | /R/API.R | 5dc5db66e163b8d91769f366a32c5d7a4671be02 | [] | no_license | MitraisEga/r-bootcamp-working | 34ff56bc928339835ecec612999aa7b4f34631a7 | 43e6a484685e35cfe97c5ab59e535faee702eb61 | refs/heads/master | 2020-04-29T14:37:07.507000 | 2019-03-19T08:13:13 | 2019-03-19T08:13:13 | 176,202,182 | 0 | 0 | null | 2019-03-18T04:05:05 | 2019-03-18T04:05:05 | null | UTF-8 | R | false | false | 1,374 | r | API.R | library("plumber")
library("Rook")
library("dplyr")
#' Show Hello World message
#' @get /hello
hello <- function(){
c("hello world")
}
#' read votes file and return the total vote type on every post
#' @param req uploaded file votes.csv based on stackexchange data
#' @post /uploadVotes
fileUpload <- function(req){
... |
266c8cb35f9df3b126cf64131f8bcd1465d35da1 | 6bb3dc3d43ee66307c1ed6f5940141be0e481936 | /R/tests/testthat.R | d31c47b169117131f95689e6be06de36e09f7aee | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | CCS-Lab/easyml | 7f41db72122f5de23f75381bcc03e13d65536c1b | c334d1174ee5795734f900d2cfa2836b76834bc9 | refs/heads/master | 2023-06-12T07:09:22.847009 | 2023-06-02T05:27:51 | 2023-06-02T05:27:51 | 71,721,801 | 40 | 19 | NOASSERTION | 2022-06-21T21:11:33 | 2016-10-23T18:38:28 | R | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(easyml)
test_check("easyml")
|
3273c894ae5cfca0e7d8d1dc9265b03b172547d8 | b9be641f25f5fe4611126fed9bb913174a0d05c2 | /tests/testthat.R | c4e171243ae3f2a01d8164e82e5ef9e48b9ea91f | [] | no_license | SondergardM/FARSpkg | bed76c776c08abca6bf75956f08c533ebb3fc909 | c51103db9bd40ee7d4fb79bac88474b2515987a2 | refs/heads/main | 2023-05-28T06:04:53.743032 | 2021-06-02T14:52:19 | 2021-06-02T14:52:19 | 371,123,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(FARSpkg)
test_check("FARSpkg")
|
af1610b000d52d192eafd73e899b4b8dcf5192c1 | 4f7836d03ed64a4c0fe3cae7c7ca03dc01272b3a | /tests/testthat/test-dummy.R | 102306a223d110ee1d0b0f9d731685250639b2e4 | [
"MIT"
] | permissive | Haoen-Cui/mischelperfuns | e5c07873b2f5e0e867b6eb1e7b4d000ea85f746a | ba1b5265a3b7fe1a9728e84e4b759ae43136e652 | refs/heads/master | 2020-04-29T10:16:30.685449 | 2019-11-11T06:08:24 | 2019-11-11T06:08:24 | 176,056,080 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 95 | r | test-dummy.R | context("dummy test")
test_that("dummy test needs to pass", {
expect_true( TRUE )
})
|
c4ac7fe666a180866521e5f6b1df93408d1add1e | 4f3b5b07828f2206c7d99007a045f55f5a5b108e | /R/network.summary.R | d5905767853fdd282fc4ab726f3e266bfb0747a0 | [] | no_license | MikeJSeo/bnma | a83fb33137e1af73c55eef87aacf17ea87c0380e | a7ab150eacd836044956d6864fe5e4d1a15e0c16 | refs/heads/master | 2023-08-19T03:03:01.305074 | 2023-08-16T19:16:56 | 2023-08-16T19:16:56 | 175,659,629 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 47,461 | r | network.summary.R | pick.summary.variables <- function(result, extra.pars = NULL, only.pars = NULL){
samples <- result[["samples"]]
varnames <- dimnames(samples[[1]])[[2]]
varnames.split <- sapply(strsplit(varnames, "\\["), '[[', 1)
varnames.split <- gsub("[[:digit:]]","",varnames.split)
if(!is.null(only.pars)){
if(!all(onl... |
c8fbe1166edf0693984a894ac425b840a4ccc7e2 | 04ebb0b8a9b9b02073289094878b84c2f3329c31 | /man/createCoefficientsTable.Rd | 65f2fe265ecf0634e69c084da3e53bee4860c517 | [
"MIT"
] | permissive | piguy314159265/flightdeck | 1fccebc041243422db5245dca85c1ccbaa45e9f0 | 906362d29a5199ecc2dca6b295f116914855db39 | refs/heads/master | 2021-01-12T05:07:55.557227 | 2018-04-26T17:41:51 | 2018-04-26T17:41:51 | 77,863,137 | 0 | 0 | null | 2017-01-02T21:32:09 | 2017-01-02T21:32:09 | null | UTF-8 | R | false | true | 563 | rd | createCoefficientsTable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tables.R
\name{createCoefficientsTable}
\alias{createCoefficientsTable}
\title{Create a table of coefficents}
\usage{
createCoefficientsTable(mod, digits, ...)
}
\arguments{
\item{mod}{model object}
\item{digits}{number of digits to display}... |
70a1e025c13a7bc7266c14744c8b45360573dd55 | 2a9bd26a5aae4bc3c3b02a0d966259671911db89 | /Exploratory Data Analysis/Assignment 1/plot4.R | 2411cd330a5dc2ceb917f15e678e8bd3d93628c9 | [] | no_license | kernelCruncher/Data-Science-Specialisation | 69acf21b5705743abd80555069541bbddd3f6460 | 1c54223023db0e5bb4a1759d3395dacc01c4d3e7 | refs/heads/main | 2023-06-10T14:05:04.146832 | 2021-06-24T20:25:25 | 2021-06-24T20:25:25 | 379,712,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,335 | r | plot4.R | library(dplyr)
data<-read.table("household_power_consumption.txt", header = TRUE, sep = ";", colClasses = c('character','character','numeric','numeric','numeric','numeric','numeric','numeric','numeric'), na.strings = "?")
data<-mutate(data, DateTime = paste(Date, Time))
data <- select(data, -(1:2))
data$DateTime <- st... |
def3732a51cca88988c7910d6f9d71f8ff109130 | 5bb2c8ca2457acd0c22775175a2722c3857a8a16 | /man/MatchIt.url.Rd | e49205875ad24b6947dcb2e02a53bf7e0df50bbd | [] | no_license | IQSS/Zelig | d65dc2a72329e472df3ca255c503b2e1df737d79 | 4774793b54b61b30cc6cfc94a7548879a78700b2 | refs/heads/master | 2023-02-07T10:39:43.638288 | 2023-01-25T20:41:12 | 2023-01-25T20:41:12 | 14,958,190 | 115 | 52 | null | 2023-01-25T20:41:13 | 2013-12-05T15:57:10 | R | UTF-8 | R | false | false | 191 | rd | MatchIt.url.Rd | \name{MatchIt.url}
\alias{MatchIt.url}
\title{Table of links for Zelig}
\description{
Table of links for \code{help.zelig} for the companion MatchIt package.
}
\keyword{datasets}
|
4f5dde6c4f9d6429b65bb14e12175021bce3eb78 | f3d0f307f48b01d05f445b9ee53fb05e577604dd | /6.Signatures/tutorial/step4_SparseSignatures_inference/main_part1.R | 02823ea65f03f2eb710e68aecb430d2bdc689bb7 | [] | no_license | caravagn/GDA | 0dbee432aff216afb17b1b2b6dde950267095d77 | e1f784e5eeef145186820d01756b588ace344339 | refs/heads/main | 2023-05-31T02:07:59.758433 | 2021-06-05T22:34:17 | 2021-06-05T22:34:17 | 342,669,562 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 490 | r | main_part1.R | # load required libraries and sources
library("SparseSignatures")
# load the data
load("background.RData")
load("trinucleotides_counts.RData")
# settings
K = 2:7
nmf_runs = 10
my_seed_starting_beta = 789
# fit the initial betas for each configuration
initial_betas = startingBetaEstimation(x=trinucleotides_counts,K=K... |
5002d419779a8ace590e5a681f6036de06a0967a | 05c855aedb2f08484d6b76ebbd1b50b5212ef8c6 | /lib/reshape_ms(del).R | 19ca023c8667927bc15bc01049ae448990935d7d | [] | no_license | Wanting-Cui/Collaborative-Filtering | 80e12b3ca5a9bcb59b52c99f263cca13a5e2496b | 01eebd86fed06fcc9c537e1348f3b0ce0f9f76d2 | refs/heads/master | 2020-04-14T15:30:18.980070 | 2019-01-03T05:53:56 | 2019-01-03T05:53:56 | 163,928,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,260 | r | reshape_ms(del).R | library(reshape)
movies_train<-read.csv("eachmovie_sample/data_train.csv")
movies_test<-read.csv("eachmovie_sample/data_test.csv")
movies_train_reshape <- reshape(movies_train,
v.names = "Score",
direction = "wide",
idvar... |
927146c8ad043dd1aff91559062c3b06a5524ddc | 4ba230d58bb611d9a854c25966c60ee2900129ad | /dc-hierarchical-models.R | 07f3481b39b60c8c6c1d6b4d70758674abea3388 | [] | no_license | jilmun/notes | 014c20d300e26f1fe92c2c596a6d206816c5a9c6 | caa58293176e88d780427df87827bc7ee462cb35 | refs/heads/master | 2021-09-26T14:52:34.370858 | 2018-10-31T02:12:17 | 2018-10-31T02:12:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,624 | r | dc-hierarchical-models.R | # Hierarchical and Mixed Effect Models
# October 2018, Richard Erickson
library(lme4)
# studentData -------------------------------------------------------------
# Mixed effect model
# Predict mathgain based on sex, mathprep, mathknow
# add classid and schoolid as random effects
lmerModel <- lmer(mathgai... |
690598cc3a86ae3347e952aaa625d245d97d822c | a593d96a7f0912d8dca587d7fd54ad96764ca058 | /R/ml_recommendation_als.R | 8d834da8d4126724462b0e3b462b8d2bd5414a42 | [
"Apache-2.0"
] | permissive | sparklyr/sparklyr | 98f3da2c0dae2a82768e321c9af4224355af8a15 | 501d5cac9c067c22ad7a9857e7411707f7ea64ba | refs/heads/main | 2023-08-30T23:22:38.912488 | 2023-08-30T15:59:51 | 2023-08-30T15:59:51 | 59,305,491 | 257 | 68 | Apache-2.0 | 2023-09-11T15:02:52 | 2016-05-20T15:28:53 | R | UTF-8 | R | false | false | 14,654 | r | ml_recommendation_als.R | #' Spark ML -- ALS
#'
#' Perform recommendation using Alternating Least Squares (ALS) matrix factorization.
#'
#' @template roxlate-ml-x
#' @param formula Used when \code{x} is a \code{tbl_spark}. R formula as a character string or a formula.
#' This is used to transform the input dataframe before fitting, see \link{ft... |
6259cdaf284f5a905dad9ecf2902bf092ed05801 | ecc2925a7f127eea277f6c06908ef1d659e55319 | /R/utils.R | ca7caafac7c99e6dbb14b3c1bc1ac2a59465344a | [] | no_license | cran/rextendr | 3a7ab79776771d934930bfa6b2d01dfa7626249f | 50c2f83ff4e62a151b4415af8960285074d037c6 | refs/heads/master | 2023-06-21T20:05:29.130751 | 2023-06-20T17:20:02 | 2023-06-20T17:20:02 | 377,362,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,890 | r | utils.R | #' Inform the user that a development version of `extendr` is being used.
#'
#' This function returns a string that should be used inside of a `cli` function.
#' See `validate_extendr_features()` for an example.
#'
#' @keywords internal
inf_dev_extendr_used <- function() "Are you using a development version of {.... |
09fac637ec111f00f6dfbb5f3220203170417815 | 1251645c1987abcf8d0c0908a4688ded1ea4617c | /configure.R | 7ca2794cd7f8884c2d318487a595f31145adc4c3 | [
"Apache-2.0"
] | permissive | NanaAkwasiAbayieBoateng/mleap | 40279d2ac24b780ca31d7e0123157cb7dc22248f | 65e2d9e83e364b289d9c7c0217df07fcd5624787 | refs/heads/master | 2020-03-15T12:52:54.706188 | 2018-05-04T00:35:49 | 2018-05-04T00:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | configure.R | #!/usr/bin/env Rscript
library(purrr)
spec <- sparklyr::spark_default_compilation_spec() %>%
map(function(x) {
x$jar_dep <- list.files(mleap:::resolve_mleap_path(), full.names = TRUE) %>%
grep("(mleap|scala|bundle).+jar$", ., value = TRUE) %>%
map_chr(normalizePath)
x
}) %>%
keep(~ .x$spark_v... |
aa73a06e3a5434891bb00a1a7736c72864194be9 | f1971a5cbf1829ce6fab9f5144db008d8d9a23e1 | /packrat/lib/x86_64-pc-linux-gnu/3.2.5/rbokeh/tests/testthat/test-css-svg.R | ccfd12a61d7f7f9ab71871b48a066fd4cf79ccd5 | [] | no_license | harryprince/seamonster | cc334c87fda44d1c87a0436139d34dab310acec6 | ddfd738999cd302c71a11aad20b3af2f4538624f | refs/heads/master | 2021-01-12T03:44:33.452985 | 2016-12-22T19:17:01 | 2016-12-22T19:17:01 | 78,260,652 | 1 | 0 | null | 2017-01-07T05:30:42 | 2017-01-07T05:30:42 | null | UTF-8 | R | false | false | 1,740 | r | test-css-svg.R |
# see here: https://github.com/bokeh/rbokeh/issues/40
test_that("svgs in css are base64 encoded", {
ff <- file.path(system.file(package = "rbokeh"), "htmlwidgets/lib/bokehjs/bokeh.min.css")
css <- suppressWarnings(readLines(ff))
expect_false(any(grepl("<svg", css)))
})
# to fix svg problem: find something like ... |
deee0b9bf7fcfa951252b0f42600097aec26ae29 | 5803671bfa8812aeb8c7a60419bf24ad55373248 | /R/psi_criterion_mixed_kw_pmf.R | 629997edca5888e83fc5e76e91c5c7cbef43a702 | [] | no_license | gragedaa/SkeweDF | 3887c924cc19a217b3e41b94f81227c8912b0a11 | 36acdc9a76938eeb62c140bb1a8cd8c003c972d5 | refs/heads/master | 2023-06-18T02:15:06.144078 | 2023-05-27T23:21:45 | 2023-05-27T23:21:45 | 248,872,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,513 | r | psi_criterion_mixed_kw_pmf.R | #' Psi Criterion Mixed KW PMF
#'
#' This function calculates the Psi criterion goodness of fit metric given a set of parameters for the probability mass distribution function of the a mixed Generalized Kolmogorov Waring function.
#' @param x Vector of parameters
#' @param d Int used to indicate the number of 'a' terms ... |
90dfcf18089fe7752d44afceb2bd1e9b990cfd4e | ee7c5282535e192fa619ca3b7a47aff09983ebbe | /R/dataPurification_NFIPSP.R | ea37578da416805bb4b6e336c66a97287a39bc6b | [] | no_license | ianmseddy/PSP_Clean | df409f5ecdbbcff2d6f7aa5230a9fdf546ed78a2 | 9d29a83722db14c3d0666111a78d1b61f611eb41 | refs/heads/master | 2021-11-18T14:21:48.417089 | 2021-08-26T15:51:25 | 2021-08-26T15:51:25 | 155,439,399 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,834 | r | dataPurification_NFIPSP.R | dataPurification_NFIPSP <- function(lgptreeRaw,
lgpHeaderRaw,
approxLocation) {
# start from tree data to obtain plot infor
lgptreeRaw[, year := as.numeric(substr(lgptreeRaw$meas_date, 1, 4))]
lgpHeaderRaw[, year := as.numeric(substr(lgpHead... |
8d8ec354292fcb2a0d62087f591143ce833d15e2 | a8a6fda91dac3c3c0b2403331b2244cee603c579 | /man/get_incr.Rd | 434ff45896b1f1647d4500203a7735d87696870c | [] | no_license | cran/ezplot | afd9bf17c123f902c1f83b331fd5cffd3395ebf2 | d6a33360c6f412caa4b87bd717d30a07bedd513f | refs/heads/master | 2023-06-26T13:11:06.662729 | 2023-06-17T06:30:02 | 2023-06-17T06:30:02 | 168,390,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 314 | rd | get_incr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_incr.R
\name{get_incr}
\alias{get_incr}
\title{get_incr}
\usage{
get_incr(x)
}
\arguments{
\item{x}{A numeric or date vector}
}
\description{
returns the minimum increment between sorted unique values of a
vector
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.